A self-hosted media server and file management system
Vue ffmpegfile-serverjellyfinlaravelmediamedia-playermedia-servermediabrowsermediaservermusicmusic-librarymusic-playermusicplayerself-hostedvuejs
chore: styling changes, Id changes in html code
aminnausin5a870bb01d2e
diff --git a/resources/js/components/cards/CategoryCard.vue b/resources/js/components/cards/CategoryCard.vueindex b9c86bee..06857e7c 100644--- a/resources/js/components/cards/CategoryCard.vue+++ b/resources/js/components/cards/CategoryCard.vue@@ -141,7 +141,7 @@ watch(<div class="flex flex-col gap-1"><FormInputLabel :field="{ text: 'Default Folder', name: 'Default Folder' }" class="font-normal" /><InputSelect- id="default_folder"+ id="default-folder"root-class="flex-1 rounded-l-none capitalize !w-full !whitespace-nowrap col-span-2"class="h-8":placeholder="'Select Default Folder'"diff --git a/resources/js/components/dashboard/DashboardActivity.vue b/resources/js/components/dashboard/DashboardActivity.vueindex 33dd216c..b3e54957 100644--- a/resources/js/components/dashboard/DashboardActivity.vue+++ b/resources/js/components/dashboard/DashboardActivity.vue@@ -64,7 +64,7 @@ const handleSearch = (query: string) => {</script><template>- <section id="tasks" class="flex gap-4 flex-col">+ <section id="tasks-snapshot" class="flex gap-4 flex-col"><div class="flex items-center gap-2 justify-between flex-wrap"><p class="uppercase">Running: {{ categories?.length }}</p><div class="flex flex-wrap items-center gap-2 [&>*]:h-8">diff --git a/resources/js/components/dashboard/DashboardTasks.vue b/resources/js/components/dashboard/DashboardTasks.vueindex 1dd81da5..0229fb0b 100644--- a/resources/js/components/dashboard/DashboardTasks.vue+++ b/resources/js/components/dashboard/DashboardTasks.vue@@ -209,7 +209,7 @@ onUnmounted(async () => {</script><template>- <section id="tasks" class="flex gap-4 flex-col">+ <section id="tasks-snapshot" class="flex gap-4 flex-col"><div class="flex items-center gap-2 justify-between flex-wrap"><BreadCrumbs :bread-crumbs="breadCrumbs" />diff --git a/resources/js/components/dashboard/DashboardUsers.vue b/resources/js/components/dashboard/DashboardUsers.vueindex 881896a9..c140488e 100644--- a/resources/js/components/dashboard/DashboardUsers.vue+++ b/resources/js/components/dashboard/DashboardUsers.vue@@ -123,7 +123,7 @@ onMounted(() => {</script><template>- <section id="tasks" class="flex gap-4 flex-col">+ <section id="users-snapshot" class="flex gap-4 flex-col"><div class="flex items-center gap-2 justify-between flex-wrap"><BreadCrumbs :bread-crumbs="breadCrumbs" />diff --git a/resources/js/components/panels/NavBar.vue b/resources/js/components/panels/NavBar.vueindex e038059b..96054d15 100755--- a/resources/js/components/panels/NavBar.vue+++ b/resources/js/components/panels/NavBar.vue@@ -41,9 +41,9 @@ watch(userData, handleAuthEvent, { immediate: false });</script><template>- <nav id="navbar" class="flex py-1 gap-2 flex-wrap justify-between z-20">+ <nav id="page-navbar" class="flex py-1 gap-2 flex-wrap justify-between z-20"><span class="flex items-end sm:items-center gap-2 justify-between w-full flex-1">- <h1 id="title" class="text-2xl truncate capitalize">{{ pageTitle }}</h1>+ <h1 id="page-title" class="text-2xl truncate capitalize">{{ pageTitle }}</h1><section id="user-options" class="group inline-block relative shrink-0" data-dropdown-toggle="user-dropdown"><DropdownMenu :dropdownOpen="showDropdown" @toggleDropdown="showDropdown = false"><template #trigger@@ -68,7 +68,7 @@ watch(userData, handleAuthEvent, { immediate: false });</section></span><span class="flex flex-wrap sm:flex-nowrap sm:max-w-sm items-center gap-1 sm:shrink-0 justify-end sm:justify-normal sm:w-auto ml-auto">- <section id="navbar-video" class="flex items-center gap-1 antialiased">+ <section id="video-navbar" class="flex items-center gap-1 antialiased"><NavButton v-if="username" @click="cycleSideBar('notifications')" :label="'notifications'" class="hidden"><template #icon><CircumInboxIn height="24" width="24" />diff --git a/resources/js/components/pinesUI/InputMultiChip.vue b/resources/js/components/pinesUI/InputMultiChip.vueindex 7c993100..d52053f8 100644--- a/resources/js/components/pinesUI/InputMultiChip.vue+++ b/resources/js/components/pinesUI/InputMultiChip.vue@@ -278,7 +278,7 @@ watch(</section><ulclass="max-h-48 overflow-auto scrollbar-thin last:rounded-b-md"- id="selectableItemsList"+ aria-describedby="selectable-items-list"ref="selectableItemsList"role="listbox"@focusin="handleListFocus"diff --git a/resources/js/components/video/VideoAmbientPlayer.vue b/resources/js/components/video/VideoAmbientPlayer.vueindex 203809de..c928e2aa 100755--- a/resources/js/components/video/VideoAmbientPlayer.vue+++ b/resources/js/components/video/VideoAmbientPlayer.vue@@ -148,7 +148,7 @@ onMounted(() => {if (canvas.value) ctx.value = canvas.value.getContext('2d', { willReadFrequently: true });- player.value = document.getElementById('vid-source') as HTMLVideoElement;+ player.value = document.getElementById('video-source') as HTMLVideoElement;});onUnmounted(() => {diff --git a/resources/js/components/video/VideoLyrics.vue b/resources/js/components/video/VideoLyrics.vueindex 8c860f58..c17dfabe 100644--- a/resources/js/components/video/VideoLyrics.vue+++ b/resources/js/components/video/VideoLyrics.vue@@ -13,7 +13,7 @@ const props = defineProps<{ rawLyrics: string; timeElapsed: string | number; timconst numericLyrics = ref<NumericLyricLine[]>();const lyrics = computed(() => {- if (!props.rawLyrics) return [];+ if (!props.rawLyrics) return [{ text: 'No lyrics yet...' }];const result = props.rawLyrics.split('\n').map((line) => {const match = line.match(/\[(\d+):(\d+(?:\.\d+)?)](.*)/);@@ -174,9 +174,9 @@ watch(() => props.rawLyrics, resetComponent);]":id="`lyric-${lyric?.time ?? index}`">- <p class="px-4 sm:px-0 py-1 sm:mx-auto sm:w-4/5 break-normal pointer-events-auto" @click="lyric.time ? handleClick(`lyric-${lyric.time}`, lyric.time) : null">+ <button class="px-4 sm:px-0 py-1 sm:mx-auto sm:w-4/5 break-normal pointer-events-auto" @click="lyric.time ? handleClick(`lyric-${lyric.time}`, lyric.time) : null">{{ lyric?.text || '-' }}- </p>+ </button></div><div class="shrink-0" style="height: 45%"></div></section>diff --git a/resources/js/components/video/VideoPlayer.vue b/resources/js/components/video/VideoPlayer.vueindex 47e61896..5dead154 100755--- a/resources/js/components/video/VideoPlayer.vue+++ b/resources/js/components/video/VideoPlayer.vue@@ -232,7 +232,7 @@ const videoPopoverItems = computed(() => {text: isAudio.value ? 'Lyrics' : 'Captions',title: `Toggle ${isAudio.value ? 'Lyrics' : 'Captions'}`,icon: isShowingLyrics.value ? (isAudio.value ? TablerMicrophone2 : LucideCaptions) : isAudio.value ? TablerMicrophone2Off : LucideCaptionsOff,- iconStyle: `${isAudio.value ? '[&>*]:stroke-[1px]' : ''}`,+ iconStyle: `${isAudio.value ? '[&>*]:stroke-[1.4px]' : ''}`,selectedIcon: ProiconsCheckmark,selected: isShowingLyrics.value ?? false,selectedIconStyle: 'text-purple-600 stroke-none',@@ -934,7 +934,7 @@ defineExpose({"><video- id="vid-source"+ id="video-source"width="100%"type="video/mp4"ref="player"@@ -1192,8 +1192,8 @@ defineExpose({:offset="videoButtonOffset"><template #icon v-if="isAudio">- <TablerMicrophone2 v-if="isShowingLyrics" class="w-4 h-4 [&>*]:stroke-[1px]" />- <TablerMicrophone2Off v-else class="w-4 h-4 [&>*]:stroke-[1px]" />+ <TablerMicrophone2 v-if="isShowingLyrics" class="w-4 h-4 [&>*]:stroke-[1.4px]" />+ <TablerMicrophone2Off v-else class="w-4 h-4 [&>*]:stroke-[1.4px]" /></template><template #icon v-else><LucideCaptions v-if="isShowingLyrics" class="w-4 h-4" />@@ -1392,7 +1392,7 @@ defineExpose({</span></section>- <!-- Lyrics / Captions blur (Z-4) -->+ <!-- Lyrics Background Blur (Z-3) --><Transitionenter-active-class="transition ease-out duration-300"enter-from-class="opacity-0"@@ -1400,11 +1400,7 @@ defineExpose({leave-active-class="transition ease-in duration-300"leave-from-class="opacity-100"leave-to-class="opacity-0"- ><div :class="`absolute w-full h-full top-0 transition-all${isAudio ? ' backdrop-blur-lg' : ''}`" style="z-index: 3" v-show="isShowingLyrics">- <section v-if="isAudio && !stateVideo.metadata?.lyrics" :class="`${isAudio ? 'bg-neutral-600/20 ' : ''}w-full h-full flex items-center justify-center text-lg`">- <p class="w-full text-center pointer-events-auto hover:bg-neutral-800/20 cursor-pointer">No lyrics yet...</p>- </section>- </div>+ ><div :class="`absolute w-full h-full top-0 transition-all backdrop-blur-lg`" style="z-index: 3" v-show="isAudio && isShowingLyrics"></div></Transition></section><!-- Is a blurred copy of the thumbnail or poster as a backdrop to the clear poster -->diff --git a/resources/js/views/LoginView.vue b/resources/js/views/LoginView.vueindex dc7ace23..580d8dc6 100755--- a/resources/js/views/LoginView.vue+++ b/resources/js/views/LoginView.vue@@ -59,10 +59,10 @@ const handleLogin = async () => {<!-- Remember Me --><div class="block">- <label for="remember_me" class="inline-flex items-center">+ <label for="remember-me" class="inline-flex items-center"><inputv-model="form.fields.remember"- id="remember_me"+ id="remember-me"type="checkbox"class="rounded dark:bg-gray-900 border-gray-300 dark:border-gray-700 text-indigo-600 shadow-sm focus:ring-indigo-500 dark:focus:ring-indigo-600 dark:focus:ring-offset-gray-800"name="remember_me"diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.phpindex 4114283b..46956963 100755--- a/resources/views/layouts/app.blade.php+++ b/resources/views/layouts/app.blade.php@@ -5,10 +5,10 @@<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="description" content="A self hosted web media server to keep everything in one place.">+ <meta property="og:title" content="{{ config('app.name', 'Media Server') }}" /><title>{{ config('app.name', 'Media Server') }}</title>- <meta property="og:title" content="{{ config('app.name', 'Media Server') }}" /><script defer data-domain="{{ config('app.host') }}" src="{{ config('services.plausible.url') }}"></script><script>window.plausible = window.plausible || function() {diff --git a/resources/views/og-media-preview.blade.php b/resources/views/og-media-preview.blade.phpindex da83982d..a5397e49 100644--- a/resources/views/og-media-preview.blade.php+++ b/resources/views/og-media-preview.blade.php@@ -5,9 +5,6 @@<meta charset="UTF-8">@vite('resources/css/app.css')<title>Open Graph Preview</title>- <style>-- </style></head><body class="flex items-center justify-center text-xl text-white">