Skip to content

A self-hosted media server and file management system

titles

aminnausin8edcd8508126
diff --git a/resources/js/components/pinesUI/InputSelect.vue b/resources/js/components/pinesUI/InputSelect.vue
index 9af6eee8..bc87e7b3 100644
--- a/resources/js/components/pinesUI/InputSelect.vue
+++ b/resources/js/components/pinesUI/InputSelect.vue
@@ -5,10 +5,6 @@ import { onMounted, ref, watch } from 'vue';
import { OnClickOutside } from '@vueuse/components'
const props = defineProps({
- // label: {
- // type: String,
- // default: 'Select:'
- // },
placeholder: {
type: String,
default: 'Select Item'
@@ -48,7 +44,7 @@ const props = defineProps({
},
];
}
- }
+ },
})
const emit = defineEmits(['selectItem']);
diff --git a/resources/js/components/pinesUI/ToastNotification.vue b/resources/js/components/pinesUI/ToastNotification.vue
index 8d5ca706..f9390574 100644
--- a/resources/js/components/pinesUI/ToastNotification.vue
+++ b/resources/js/components/pinesUI/ToastNotification.vue
@@ -109,7 +109,7 @@ function animateClose() {
<li v-show="mounted" :id="props.id" @mouseover="toastHovered = true" @mouseout="toastHovered = false"
class="absolute w-full duration-300 ease-out select-none sm:max-w-xs" :class="{'toast-no-description' : !props.description}">
<span
- class="relative flex flex-col items-start shadow-[0_5px_15px_-3px_rgb(0_0_0_/_0.08)] w-full transition-all duration-300 ease-out border bg-white dark:bg-primary-dark-700 border-gray-100 dark:border-neutral-700 text-gray-800 dark:text-neutral-100 sm:rounded-md sm:max-w-xs group"
+ class="relative flex flex-col items-start shadow-[0_5px_15px_-3px_rgb(0_0_0_/_0.08)] mx-6 sm:mx-auto transition-all duration-300 ease-out sm:border bg-white dark:bg-primary-dark-700/70 backdrop-blur-lg border-gray-100 dark:border-neutral-800/50 text-gray-800 dark:text-neutral-100 rounded-md sm:max-w-xs group"
:class="{ 'p-4': !props.html, 'p-0': props.html }">
<div v-if="!props.html" class="relative">
<div class="flex items-center"
diff --git a/resources/js/components/table/TableBase.vue b/resources/js/components/table/TableBase.vue
index 0a131281..939fe174 100644
--- a/resources/js/components/table/TableBase.vue
+++ b/resources/js/components/table/TableBase.vue
@@ -21,10 +21,10 @@ const handleSortChange = (sortKey) => {
if (sortKey?.value) lastSortKey.value = sortKey?.value;
if (!lastSortKey.value) return;
- props.sortAction(lastSortKey.value, sortAscending.value ? 1 : -1)
+ props.sortAction(lastSortKey.value, sortAscending.value ? 1 : -1);
}
-watch(props.data, tableData.handlePageReset, {immediate: true})
+watch(props.data, tableData.handlePageReset, {immediate: true});
</script>
<template>
@@ -32,14 +32,14 @@ watch(props.data, tableData.handlePageReset, {immediate: true})
<table v-else class="w-full flex flex-col gap-4 divide-y first:pt-0 [&>*:not(:first-child)]:pt-4">
<section v-if="props.useToolbar" class="flex justify-center sm:justify-between py-2 flex-col sm:flex-row gap-2">
<!-- <h2 class="text-2xl py-4">Episodes</h2> -->
- <LabelledTextInput v-model="tableData.fields.searchQuery" :text="'Search:'" :placeholder="'Enter Search Query...'" :id="'table-search'" class="w-full sm:w-80" @input="$emit('search', tableData.fields.searchQuery)"/>
+ <LabelledTextInput v-model="tableData.fields.searchQuery" :text="'Search:'" :placeholder="'Enter Search Query...'" :id="'table-search'" class="w-full sm:w-80" @input="$emit('search', tableData.fields.searchQuery)" title="Search Results"/>
<span class="flex items-end gap-2">
<div class="flex gap-2 flex-col w-full sm:w-40">
<FormInputLabel :field="{ name: 'sort', text: 'Sort by:' }" />
- <InputSelect :placeholder="'None'" :options="props.sortingOptions" :label="'Sort by:'" class="w-full"
+ <InputSelect :placeholder="'None'" :options="props.sortingOptions" class="w-full" title="Select Sort"
@selectItem="handleSortChange" :defaultItem="0" />
</div>
- <ButtonIcon @click="sortAscending = !sortAscending; handleSortChange()">
+ <ButtonIcon @click="sortAscending = !sortAscending; handleSortChange()" title="Sort Results" aria-label="Sort Results">
<template #icon>
<PhSortAscendingLight v-if="sortAscending" width="24" height="24" />
<PhSortDescendingLight v-else width="24" height="24" />
diff --git a/resources/js/components/video/VideoTable.vue b/resources/js/components/video/VideoTable.vue
index b42999b5..5727cb32 100644
--- a/resources/js/components/video/VideoTable.vue
+++ b/resources/js/components/video/VideoTable.vue
@@ -90,11 +90,11 @@ watch(stateFolder, handlePageReset, { immediate: true })
<section class="flex justify-center sm:justify-between py-2 flex-col sm:flex-row gap-2">
<!-- <h2 class="text-2xl py-4">Episodes</h2> -->
<LabelledTextInput v-model="searchQuery" :text="'Search:'" :placeholder="'Enter Search Query...'"
- :id="'table-search'" class="w-full sm:w-80" />
+ :id="'table-search'" class="w-full sm:w-80" title="Search Results"/>
<span class="flex items-end gap-2">
<div class="flex gap-2 flex-col w-full sm:w-40">
<FormInputLabel :field="{ name: 'sort', text: 'Sort by:' }" />
- <InputSelect :placeholder="'None'" :options="sortingOptions" :label="'Sort by:'" class="w-full"
+ <InputSelect :placeholder="'None'" :options="sortingOptions" class="w-full" title="Select Sort"
@selectItem="handleSortChange" :defaultItem="0" />
</div>
<ButtonIcon @click="sortAscending = !sortAscending; handleSortChange()">