mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 16:30:13 +00:00
replaced ti-cloud
This commit is contained in:
parent
e84844b4ae
commit
8f60c6d7e1
11 changed files with 13 additions and 12 deletions
|
@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
@dragleave="onDragleave"
|
@dragleave="onDragleave"
|
||||||
@drop.stop="onDrop"
|
@drop.stop="onDrop"
|
||||||
>
|
>
|
||||||
<i v-if="folder == null" class="ph-cloud ph-bold ph-lg" style="margin-right: 4px;"></i>
|
<i v-if="folder == null" class="ti ti-cloud" style="margin-right: 4px;"></i>
|
||||||
<span>{{ folder == null ? i18n.ts.drive : folder.name }}</span>
|
<span>{{ folder == null ? i18n.ts.drive : folder.name }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -34,7 +34,7 @@ export const navbarItemDef = reactive({
|
||||||
},
|
},
|
||||||
drive: {
|
drive: {
|
||||||
title: i18n.ts.drive,
|
title: i18n.ts.drive,
|
||||||
icon: 'ph-cloud ph-bold ph-lg',
|
icon: 'ti ti-cloud',
|
||||||
show: computed(() => $i != null),
|
show: computed(() => $i != null),
|
||||||
to: '/my/drive',
|
to: '/my/drive',
|
||||||
},
|
},
|
||||||
|
|
|
@ -525,7 +525,7 @@ const headerTabs = computed(() => [{
|
||||||
}, {
|
}, {
|
||||||
key: 'drive',
|
key: 'drive',
|
||||||
title: i18n.ts.drive,
|
title: i18n.ts.drive,
|
||||||
icon: 'ph-cloud ph-bold ph-lg',
|
icon: 'ti ti-cloud',
|
||||||
}, {
|
}, {
|
||||||
key: 'chart',
|
key: 'chart',
|
||||||
title: i18n.ts.charts,
|
title: i18n.ts.charts,
|
||||||
|
|
|
@ -87,6 +87,6 @@ const headerTabs = computed(() => []);
|
||||||
|
|
||||||
definePageMetadata(() => ({
|
definePageMetadata(() => ({
|
||||||
title: i18n.ts.files,
|
title: i18n.ts.files,
|
||||||
icon: 'ph-cloud ph-bold ph-lg',
|
icon: 'ti ti-cloud',
|
||||||
}));
|
}));
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -152,7 +152,7 @@ const menuDef = computed(() => [{
|
||||||
to: '/admin/queue',
|
to: '/admin/queue',
|
||||||
active: currentPage.value?.route.name === 'queue',
|
active: currentPage.value?.route.name === 'queue',
|
||||||
}, {
|
}, {
|
||||||
icon: 'ph-cloud ph-bold ph-lg',
|
icon: 'ti ti-cloud',
|
||||||
text: i18n.ts.files,
|
text: i18n.ts.files,
|
||||||
to: '/admin/files',
|
to: '/admin/files',
|
||||||
active: currentPage.value?.route.name === 'files',
|
active: currentPage.value?.route.name === 'files',
|
||||||
|
@ -200,7 +200,7 @@ const menuDef = computed(() => [{
|
||||||
to: '/admin/email-settings',
|
to: '/admin/email-settings',
|
||||||
active: currentPage.value?.route.name === 'email-settings',
|
active: currentPage.value?.route.name === 'email-settings',
|
||||||
}, {
|
}, {
|
||||||
icon: 'ph-cloud ph-bold ph-lg',
|
icon: 'ti ti-cloud',
|
||||||
text: i18n.ts.objectStorage,
|
text: i18n.ts.objectStorage,
|
||||||
to: '/admin/object-storage',
|
to: '/admin/object-storage',
|
||||||
active: currentPage.value?.route.name === 'object-storage',
|
active: currentPage.value?.route.name === 'object-storage',
|
||||||
|
@ -317,7 +317,7 @@ function adminLookup(ev: MouseEvent) {
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
text: i18n.ts.file,
|
text: i18n.ts.file,
|
||||||
icon: 'ph-cloud ph-bold ph-lg',
|
icon: 'ti ti-cloud',
|
||||||
action: () => {
|
action: () => {
|
||||||
lookupFile();
|
lookupFile();
|
||||||
},
|
},
|
||||||
|
|
|
@ -151,7 +151,7 @@ const headerTabs = computed(() => []);
|
||||||
|
|
||||||
definePageMetadata(() => ({
|
definePageMetadata(() => ({
|
||||||
title: i18n.ts.objectStorage,
|
title: i18n.ts.objectStorage,
|
||||||
icon: 'ph-cloud ph-bold ph-lg',
|
icon: 'ti ti-cloud',
|
||||||
}));
|
}));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ const headerTabs = computed(() => []);
|
||||||
|
|
||||||
definePageMetadata(() => ({
|
definePageMetadata(() => ({
|
||||||
title: folder.value ? folder.value.name : i18n.ts.drive,
|
title: folder.value ? folder.value.name : i18n.ts.drive,
|
||||||
icon: 'ph-cloud ph-bold ph-lg',
|
icon: 'ti ti-cloud',
|
||||||
hideHeader: true,
|
hideHeader: true,
|
||||||
}));
|
}));
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -144,7 +144,7 @@ const headerTabs = computed(() => []);
|
||||||
|
|
||||||
definePageMetadata(() => ({
|
definePageMetadata(() => ({
|
||||||
title: i18n.ts.drive,
|
title: i18n.ts.drive,
|
||||||
icon: 'ph-cloud ph-bold ph-lg',
|
icon: 'ti ti-cloud',
|
||||||
}));
|
}));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,7 @@ const menuDef = computed(() => [{
|
||||||
to: '/settings/emoji-picker',
|
to: '/settings/emoji-picker',
|
||||||
active: currentPage.value?.route.name === 'emojiPicker',
|
active: currentPage.value?.route.name === 'emojiPicker',
|
||||||
}, {
|
}, {
|
||||||
icon: 'ph-cloud ph-bold ph-lg',
|
icon: 'ti ti-cloud',
|
||||||
text: i18n.ts.drive,
|
text: i18n.ts.drive,
|
||||||
to: '/settings/drive',
|
to: '/settings/drive',
|
||||||
active: currentPage.value?.route.name === 'drive',
|
active: currentPage.value?.route.name === 'drive',
|
||||||
|
|
|
@ -97,7 +97,7 @@ function select(src: any, label: string | null, multiple: boolean): Promise<Miss
|
||||||
action: () => chooseFileFromPc(multiple, keepOriginal.value).then(files => res(files)),
|
action: () => chooseFileFromPc(multiple, keepOriginal.value).then(files => res(files)),
|
||||||
}, {
|
}, {
|
||||||
text: i18n.ts.fromDrive,
|
text: i18n.ts.fromDrive,
|
||||||
icon: 'ph-cloud ph-bold ph-lg',
|
icon: 'ti ti-cloud',
|
||||||
action: () => chooseFileFromDrive(multiple).then(files => res(files)),
|
action: () => chooseFileFromDrive(multiple).then(files => res(files)),
|
||||||
}, {
|
}, {
|
||||||
text: i18n.ts.fromUrl,
|
text: i18n.ts.fromUrl,
|
||||||
|
|
|
@ -182,6 +182,7 @@ export function getConfig(): UserConfig {
|
||||||
'ti ti-forms': 'ph-textbox ph-bold ph-lg',
|
'ti ti-forms': 'ph-textbox ph-bold ph-lg',
|
||||||
'ti ti-trash': 'ph-trash ph-bold ph-lg',
|
'ti ti-trash': 'ph-trash ph-bold ph-lg',
|
||||||
'ti ti-id': 'ph-identification-card ph-bold ph-lg',
|
'ti ti-id': 'ph-identification-card ph-bold ph-lg',
|
||||||
|
'ti ti-cloud': 'ph-cloud ph-bold ph-lg',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
...process.env.NODE_ENV === 'production'
|
...process.env.NODE_ENV === 'production'
|
||||||
|
|
Loading…
Reference in a new issue