replaced ti-cloud

This commit is contained in:
dakkar 2024-06-21 17:20:18 +01:00
parent e84844b4ae
commit 8f60c6d7e1
11 changed files with 13 additions and 12 deletions

View file

@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only
@dragleave="onDragleave"
@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>
</div>
</template>

View file

@ -34,7 +34,7 @@ export const navbarItemDef = reactive({
},
drive: {
title: i18n.ts.drive,
icon: 'ph-cloud ph-bold ph-lg',
icon: 'ti ti-cloud',
show: computed(() => $i != null),
to: '/my/drive',
},

View file

@ -525,7 +525,7 @@ const headerTabs = computed(() => [{
}, {
key: 'drive',
title: i18n.ts.drive,
icon: 'ph-cloud ph-bold ph-lg',
icon: 'ti ti-cloud',
}, {
key: 'chart',
title: i18n.ts.charts,

View file

@ -87,6 +87,6 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.files,
icon: 'ph-cloud ph-bold ph-lg',
icon: 'ti ti-cloud',
}));
</script>

View file

@ -152,7 +152,7 @@ const menuDef = computed(() => [{
to: '/admin/queue',
active: currentPage.value?.route.name === 'queue',
}, {
icon: 'ph-cloud ph-bold ph-lg',
icon: 'ti ti-cloud',
text: i18n.ts.files,
to: '/admin/files',
active: currentPage.value?.route.name === 'files',
@ -200,7 +200,7 @@ const menuDef = computed(() => [{
to: '/admin/email-settings',
active: currentPage.value?.route.name === 'email-settings',
}, {
icon: 'ph-cloud ph-bold ph-lg',
icon: 'ti ti-cloud',
text: i18n.ts.objectStorage,
to: '/admin/object-storage',
active: currentPage.value?.route.name === 'object-storage',
@ -317,7 +317,7 @@ function adminLookup(ev: MouseEvent) {
},
}, {
text: i18n.ts.file,
icon: 'ph-cloud ph-bold ph-lg',
icon: 'ti ti-cloud',
action: () => {
lookupFile();
},

View file

@ -151,7 +151,7 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.objectStorage,
icon: 'ph-cloud ph-bold ph-lg',
icon: 'ti ti-cloud',
}));
</script>

View file

@ -24,7 +24,7 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: folder.value ? folder.value.name : i18n.ts.drive,
icon: 'ph-cloud ph-bold ph-lg',
icon: 'ti ti-cloud',
hideHeader: true,
}));
</script>

View file

@ -144,7 +144,7 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.drive,
icon: 'ph-cloud ph-bold ph-lg',
icon: 'ti ti-cloud',
}));
</script>

View file

@ -77,7 +77,7 @@ const menuDef = computed(() => [{
to: '/settings/emoji-picker',
active: currentPage.value?.route.name === 'emojiPicker',
}, {
icon: 'ph-cloud ph-bold ph-lg',
icon: 'ti ti-cloud',
text: i18n.ts.drive,
to: '/settings/drive',
active: currentPage.value?.route.name === 'drive',

View file

@ -97,7 +97,7 @@ function select(src: any, label: string | null, multiple: boolean): Promise<Miss
action: () => chooseFileFromPc(multiple, keepOriginal.value).then(files => res(files)),
}, {
text: i18n.ts.fromDrive,
icon: 'ph-cloud ph-bold ph-lg',
icon: 'ti ti-cloud',
action: () => chooseFileFromDrive(multiple).then(files => res(files)),
}, {
text: i18n.ts.fromUrl,

View file

@ -182,6 +182,7 @@ export function getConfig(): UserConfig {
'ti ti-forms': 'ph-textbox 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-cloud': 'ph-cloud ph-bold ph-lg',
},
}),
...process.env.NODE_ENV === 'production'