|
2 | 2 | <SidebarTabTemplate |
3 | 3 | :title="isInFolderView ? '' : $t('sideToolbar.mediaAssets.title')" |
4 | 4 | > |
5 | | - <template #tool-buttons> |
6 | | - <!-- Fake Button for sizing consistency --> |
7 | | - <Button |
8 | | - icon="pi pi-folder-plus" |
9 | | - text |
10 | | - severity="secondary" |
11 | | - class="invisible w-0" |
12 | | - disabled |
13 | | - /> |
14 | | - </template> |
15 | 5 | <template #alt-title> |
16 | 6 | <div |
17 | 7 | v-if="isInFolderView" |
18 | 8 | class="flex w-full items-center justify-between gap-2" |
19 | 9 | > |
20 | 10 | <div class="flex items-center gap-2"> |
21 | | - <span>{{ $t('Job ID') }}:</span> |
| 11 | + <span class="font-bold">{{ $t('Job ID') }}:</span> |
22 | 12 | <span class="text-sm">{{ folderPromptId?.substring(0, 8) }}</span> |
23 | 13 | <button |
24 | 14 | class="m-0 cursor-pointer border-0 bg-transparent p-0 outline-0" |
|
35 | 25 | </template> |
36 | 26 | <template #header> |
37 | 27 | <!-- Job Detail View Header --> |
38 | | - <div v-if="isInFolderView" class="p-2 2xl:p-4"> |
| 28 | + <div v-if="isInFolderView" class="px-2 2xl:px-4"> |
39 | 29 | <IconTextButton |
40 | 30 | :label="$t('sideToolbar.backToAssets')" |
41 | 31 | type="secondary" |
|
47 | 37 | </IconTextButton> |
48 | 38 | </div> |
49 | 39 | <!-- Normal Tab View --> |
50 | | - <TabList v-else v-model="activeTab" class="pt-2 px-2 2xl:px-4"> |
| 40 | + <TabList v-else v-model="activeTab" class="px-2 2xl:px-4"> |
51 | 41 | <Tab value="output">{{ $t('sideToolbar.labels.generated') }}</Tab> |
52 | 42 | <Tab value="input">{{ $t('sideToolbar.labels.imported') }}</Tab> |
53 | 43 | </TabList> |
|
56 | 46 | v-model:search-query="searchQuery" |
57 | 47 | v-model:sort-by="sortBy" |
58 | 48 | v-model:media-type-filters="mediaTypeFilters" |
59 | | - class="pt-2 pb-1 px-2 2xl:px-4" |
| 49 | + class="pb-1 px-2 2xl:px-4" |
60 | 50 | :show-generation-time-sort="activeTab === 'output'" |
61 | 51 | /> |
62 | 52 | </template> |
|
180 | 170 |
|
181 | 171 | <script setup lang="ts"> |
182 | 172 | import { useDebounceFn, useElementHover, useResizeObserver } from '@vueuse/core' |
183 | | -import { Button } from 'primevue' |
184 | 173 | import ProgressSpinner from 'primevue/progressspinner' |
185 | 174 | import { useToast } from 'primevue/usetoast' |
186 | 175 | import { computed, onMounted, onUnmounted, ref, watch } from 'vue' |
|
0 commit comments