mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 03:03:09 +02:00
upd: icons
This commit is contained in:
parent
f8f128b347
commit
78b016e35c
6 changed files with 17 additions and 17 deletions
|
@ -69,7 +69,7 @@ const headerTabs = $computed(() => []);
|
||||||
|
|
||||||
definePageMetadata({
|
definePageMetadata({
|
||||||
title: i18n.ts.externalServices,
|
title: i18n.ts.externalServices,
|
||||||
icon: 'ti ti-link',
|
icon: 'ph-square-arrow-out ph-bold ph-lg',
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -14,26 +14,26 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<div :class="$style.fileQuickActionsRoot">
|
<div :class="$style.fileQuickActionsRoot">
|
||||||
<button class="_button" :class="$style.fileNameEditBtn" @click="rename()">
|
<button class="_button" :class="$style.fileNameEditBtn" @click="rename()">
|
||||||
<h2 class="_nowrap" :class="$style.fileName">{{ file.name }}</h2>
|
<h2 class="_nowrap" :class="$style.fileName">{{ file.name }}</h2>
|
||||||
<i class="ti ti-pencil" :class="$style.fileNameEditIcon"></i>
|
<i class="ph-pencil ph-bold ph-lg" :class="$style.fileNameEditIcon"></i>
|
||||||
</button>
|
</button>
|
||||||
<div :class="$style.fileQuickActionsOthers">
|
<div :class="$style.fileQuickActionsOthers">
|
||||||
<button v-tooltip="i18n.ts.createNoteFromTheFile" class="_button" :class="$style.fileQuickActionsOthersButton" @click="postThis()">
|
<button v-tooltip="i18n.ts.createNoteFromTheFile" class="_button" :class="$style.fileQuickActionsOthersButton" @click="postThis()">
|
||||||
<i class="ti ti-pencil"></i>
|
<i class="ph-pencil ph-bold ph-lg"></i>
|
||||||
</button>
|
</button>
|
||||||
<button v-if="isImage" v-tooltip="i18n.ts.cropImage" class="_button" :class="$style.fileQuickActionsOthersButton" @click="crop()">
|
<button v-if="isImage" v-tooltip="i18n.ts.cropImage" class="_button" :class="$style.fileQuickActionsOthersButton" @click="crop()">
|
||||||
<i class="ti ti-crop"></i>
|
<i class="ti ti-crop"></i>
|
||||||
</button>
|
</button>
|
||||||
<button v-if="file.isSensitive" v-tooltip="i18n.ts.unmarkAsSensitive" class="_button" :class="$style.fileQuickActionsOthersButton" @click="toggleSensitive()">
|
<button v-if="file.isSensitive" v-tooltip="i18n.ts.unmarkAsSensitive" class="_button" :class="$style.fileQuickActionsOthersButton" @click="toggleSensitive()">
|
||||||
<i class="ti ti-eye"></i>
|
<i class="ph-eye ph-bold ph-lg"></i>
|
||||||
</button>
|
</button>
|
||||||
<button v-else v-tooltip="i18n.ts.markAsSensitive" class="_button" :class="$style.fileQuickActionsOthersButton" @click="toggleSensitive()">
|
<button v-else v-tooltip="i18n.ts.markAsSensitive" class="_button" :class="$style.fileQuickActionsOthersButton" @click="toggleSensitive()">
|
||||||
<i class="ti ti-eye-exclamation"></i>
|
<i class="ph-eye-slash ph-bold ph-lg"></i>
|
||||||
</button>
|
</button>
|
||||||
<a v-tooltip="i18n.ts.download" :href="file.url" :download="file.name" class="_button" :class="$style.fileQuickActionsOthersButton">
|
<a v-tooltip="i18n.ts.download" :href="file.url" :download="file.name" class="_button" :class="$style.fileQuickActionsOthersButton">
|
||||||
<i class="ti ti-download"></i>
|
<i class="ph-download ph-bold ph-lg"></i>
|
||||||
</a>
|
</a>
|
||||||
<button v-tooltip="i18n.ts.delete" class="_button" :class="[$style.fileQuickActionsOthersButton, $style.danger]" @click="deleteFile()">
|
<button v-tooltip="i18n.ts.delete" class="_button" :class="[$style.fileQuickActionsOthersButton, $style.danger]" @click="deleteFile()">
|
||||||
<i class="ti ti-trash"></i>
|
<i class="ph-trash ph-bold ph-lg"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -38,15 +38,15 @@ const headerActions = computed(() => []);
|
||||||
const headerTabs = computed(() => [{
|
const headerTabs = computed(() => [{
|
||||||
key: 'info',
|
key: 'info',
|
||||||
title: i18n.ts.info,
|
title: i18n.ts.info,
|
||||||
icon: 'ti ti-info-circle',
|
icon: 'ph-info ph-bold ph-lg',
|
||||||
}, {
|
}, {
|
||||||
key: 'notes',
|
key: 'notes',
|
||||||
title: i18n.ts._fileViewer.attachedNotes,
|
title: i18n.ts._fileViewer.attachedNotes,
|
||||||
icon: 'ti ti-pencil',
|
icon: 'ph-pencil ph-bold ph-lg',
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
definePageMetadata(computed(() => ({
|
definePageMetadata(computed(() => ({
|
||||||
title: i18n.ts._fileViewer.title,
|
title: i18n.ts._fileViewer.title,
|
||||||
icon: 'ti ti-file',
|
icon: 'ph-file-text ph-bold ph-lg',
|
||||||
})));
|
})));
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -132,7 +132,7 @@ async function removeUser(item, ev) {
|
||||||
async function showMembershipMenu(item, ev) {
|
async function showMembershipMenu(item, ev) {
|
||||||
os.popupMenu([{
|
os.popupMenu([{
|
||||||
text: item.withReplies ? i18n.ts.hideRepliesToOthersInTimeline : i18n.ts.showRepliesToOthersInTimeline,
|
text: item.withReplies ? i18n.ts.hideRepliesToOthersInTimeline : i18n.ts.showRepliesToOthersInTimeline,
|
||||||
icon: item.withReplies ? 'ti ti-messages-off' : 'ti ti-messages',
|
icon: item.withReplies ? 'ph-envelope-open ph-bold ph-lg' : 'ph-envelope ph-bold ph-lg',
|
||||||
action: async () => {
|
action: async () => {
|
||||||
os.api('users/lists/update-membership', {
|
os.api('users/lists/update-membership', {
|
||||||
listId: list.id,
|
listId: list.id,
|
||||||
|
|
|
@ -84,7 +84,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</MkKeyValue>
|
</MkKeyValue>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<MkButton primary rounded gradate @click="downloadBackupCodes"><i class="ti ti-download"></i> {{ i18n.ts.download }}</MkButton>
|
<MkButton primary rounded gradate @click="downloadBackupCodes"><i class="ph-download ph-bold ph-lg"></i> {{ i18n.ts.download }}</MkButton>
|
||||||
</div>
|
</div>
|
||||||
</MkFolder>
|
</MkFolder>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,21 +6,21 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<template>
|
<template>
|
||||||
<div class="_gaps_m">
|
<div class="_gaps_m">
|
||||||
<MkFolder>
|
<MkFolder>
|
||||||
<template #icon><i class="ti ti-message-off"></i></template>
|
<template #icon><i class="ph-envelope ph-bold ph-lg"></i></template>
|
||||||
<template #label>{{ i18n.ts.wordMute }}</template>
|
<template #label>{{ i18n.ts.wordMute }}</template>
|
||||||
|
|
||||||
<XWordMute/>
|
<XWordMute/>
|
||||||
</MkFolder>
|
</MkFolder>
|
||||||
|
|
||||||
<MkFolder>
|
<MkFolder>
|
||||||
<template #icon><i class="ti ti-planet-off"></i></template>
|
<template #icon><i class="ph-globe-simple ph-bold ph-lg"></i></template>
|
||||||
<template #label>{{ i18n.ts.instanceMute }}</template>
|
<template #label>{{ i18n.ts.instanceMute }}</template>
|
||||||
|
|
||||||
<XInstanceMute/>
|
<XInstanceMute/>
|
||||||
</MkFolder>
|
</MkFolder>
|
||||||
|
|
||||||
<MkFolder>
|
<MkFolder>
|
||||||
<template #icon><i class="ti ti-repeat-off"></i></template>
|
<template #icon><i class="ph-repeat ph-bold ph-lg"></i></template>
|
||||||
<template #label>{{ i18n.ts.mutedUsers }} ({{ i18n.ts.renote }})</template>
|
<template #label>{{ i18n.ts.mutedUsers }} ({{ i18n.ts.renote }})</template>
|
||||||
|
|
||||||
<MkPagination :pagination="renoteMutingPagination">
|
<MkPagination :pagination="renoteMutingPagination">
|
||||||
|
@ -51,7 +51,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</MkFolder>
|
</MkFolder>
|
||||||
|
|
||||||
<MkFolder>
|
<MkFolder>
|
||||||
<template #icon><i class="ti ti-eye-off"></i></template>
|
<template #icon><i class="ph-eye-slash ph-bold ph-lg"></i></template>
|
||||||
<template #label>{{ i18n.ts.mutedUsers }}</template>
|
<template #label>{{ i18n.ts.mutedUsers }}</template>
|
||||||
|
|
||||||
<MkPagination :pagination="mutingPagination">
|
<MkPagination :pagination="mutingPagination">
|
||||||
|
@ -84,7 +84,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</MkFolder>
|
</MkFolder>
|
||||||
|
|
||||||
<MkFolder>
|
<MkFolder>
|
||||||
<template #icon><i class="ti ti-ban"></i></template>
|
<template #icon><i class="ph-prohibit ph-bold ph-lg"></i></template>
|
||||||
<template #label>{{ i18n.ts.blockedUsers }}</template>
|
<template #label>{{ i18n.ts.blockedUsers }}</template>
|
||||||
|
|
||||||
<MkPagination :pagination="blockingPagination">
|
<MkPagination :pagination="blockingPagination">
|
||||||
|
|
Loading…
Reference in a new issue