replaced ti-external-link

This commit is contained in:
dakkar 2024-06-21 18:11:47 +01:00
parent 48d29fa1ae
commit 0b72513ce5
12 changed files with 15 additions and 14 deletions

View file

@ -120,7 +120,7 @@ async function toggleIsSensitive(v) {
const headerActions = computed(() => [{
text: i18n.ts.openInNewTab,
icon: 'ph-arrow-square-out ph-bold ph-lg',
icon: 'ti ti-external-link',
handler: () => {
window.open(file.value.url, '_blank', 'noopener');
},

View file

@ -53,7 +53,7 @@ function promoteAllQueues() {
const headerActions = computed(() => [{
asFullButton: true,
icon: 'ph-arrow-square-out ph-bold ph-lg',
icon: 'ti ti-external-link',
text: i18n.ts.dashboard,
handler: () => {
window.open(config.url + '/queue', '_blank', 'noopener');

View file

@ -261,7 +261,7 @@ fetch();
const headerActions = computed(() => [{
text: `https://${props.host}`,
icon: 'ph-arrow-square-out ph-bold ph-lg',
icon: 'ti ti-external-link',
handler: () => {
window.open(`https://${props.host}`, '_blank', 'noopener');
},

View file

@ -8,7 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #header><MkPageHeader v-model:tab="tab" :actions="headerActions" :tabs="headerTabs"/></template>
<MkSpacer :contentMax="700">
<div class="jqqmcavi">
<MkButton v-if="pageId" class="button" inline link :to="`/@${ author.username }/pages/${ currentName }`"><i class="ph-arrow-square-out ph-bold ph-lg"></i> {{ i18n.ts._pages.viewPage }}</MkButton>
<MkButton v-if="pageId" class="button" inline link :to="`/@${ author.username }/pages/${ currentName }`"><i class="ti ti-external-link"></i> {{ i18n.ts._pages.viewPage }}</MkButton>
<MkButton v-if="!readonly" inline primary class="button" @click="save"><i class="ti ti-device-floppy"></i> {{ i18n.ts.save }}</MkButton>
<MkButton v-if="pageId" inline class="button" @click="duplicate"><i class="ti ti-copy"></i> {{ i18n.ts.duplicate }}</MkButton>
<MkButton v-if="pageId && !readonly" inline class="button" danger @click="del"><i class="ti ti-trash"></i> {{ i18n.ts.delete }}</MkButton>