mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 16:30:13 +00:00
replaced ti-link
This commit is contained in:
parent
65605683c7
commit
bc0fbca65e
13 changed files with 24 additions and 23 deletions
|
@ -627,7 +627,7 @@ function getMenu() {
|
||||||
action: () => { selectLocalFile(); },
|
action: () => { selectLocalFile(); },
|
||||||
}, {
|
}, {
|
||||||
text: i18n.ts.fromUrl,
|
text: i18n.ts.fromUrl,
|
||||||
icon: 'ph-link ph-bold ph-lg',
|
icon: 'ti ti-link',
|
||||||
action: () => { urlUpload(); },
|
action: () => { urlUpload(); },
|
||||||
}, { type: 'divider' }, {
|
}, { type: 'divider' }, {
|
||||||
text: folder.value ? folder.value.name : i18n.ts.drive,
|
text: folder.value ? folder.value.name : i18n.ts.drive,
|
||||||
|
|
|
@ -128,7 +128,7 @@ const contextmenu = computed(() => ([{
|
||||||
windowEl.value?.close();
|
windowEl.value?.close();
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
icon: 'ph-link ph-bold ph-lg',
|
icon: 'ti ti-link',
|
||||||
text: i18n.ts.copyLink,
|
text: i18n.ts.copyLink,
|
||||||
action: () => {
|
action: () => {
|
||||||
copyToClipboard(url + windowRouter.getCurrentPath());
|
copyToClipboard(url + windowRouter.getCurrentPath());
|
||||||
|
|
|
@ -73,7 +73,7 @@ function onContextmenu(ev) {
|
||||||
window.open(props.to, '_blank', 'noopener');
|
window.open(props.to, '_blank', 'noopener');
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
icon: 'ph-link ph-bold ph-lg',
|
icon: 'ti ti-link',
|
||||||
text: i18n.ts.copyLink,
|
text: i18n.ts.copyLink,
|
||||||
action: () => {
|
action: () => {
|
||||||
copyToClipboard(`${url}${props.to}`);
|
copyToClipboard(`${url}${props.to}`);
|
||||||
|
|
|
@ -39,7 +39,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<template #label>{{ i18n.ts.mcaptchaSecretKey }}</template>
|
<template #label>{{ i18n.ts.mcaptchaSecretKey }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
<MkInput v-model="mcaptchaInstanceUrl">
|
<MkInput v-model="mcaptchaInstanceUrl">
|
||||||
<template #prefix><i class="ph-globe-simple ph-bold ph-lg"></i></template>
|
<template #prefix><i class="ti ti-link"></i></template>
|
||||||
<template #label>{{ i18n.ts.mcaptchaInstanceUrl }}</template>
|
<template #label>{{ i18n.ts.mcaptchaInstanceUrl }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
<FormSlot v-if="mcaptchaSiteKey && mcaptchaInstanceUrl">
|
<FormSlot v-if="mcaptchaSiteKey && mcaptchaInstanceUrl">
|
||||||
|
|
|
@ -11,12 +11,12 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<FormSuspense :p="init">
|
<FormSuspense :p="init">
|
||||||
<div class="_gaps_m">
|
<div class="_gaps_m">
|
||||||
<MkInput v-model="iconUrl" type="url">
|
<MkInput v-model="iconUrl" type="url">
|
||||||
<template #prefix><i class="ph-link ph-bold ph-lg"></i></template>
|
<template #prefix><i class="ti ti-link"></i></template>
|
||||||
<template #label>{{ i18n.ts._serverSettings.iconUrl }}</template>
|
<template #label>{{ i18n.ts._serverSettings.iconUrl }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
||||||
<MkInput v-model="app192IconUrl" type="url">
|
<MkInput v-model="app192IconUrl" type="url">
|
||||||
<template #prefix><i class="ph-link ph-bold ph-lg"></i></template>
|
<template #prefix><i class="ti ti-link"></i></template>
|
||||||
<template #label>{{ i18n.ts._serverSettings.iconUrl }} (App/192px)</template>
|
<template #label>{{ i18n.ts._serverSettings.iconUrl }} (App/192px)</template>
|
||||||
<template #caption>
|
<template #caption>
|
||||||
<div>{{ i18n.tsx._serverSettings.appIconDescription({ host: instance.name ?? host }) }}</div>
|
<div>{{ i18n.tsx._serverSettings.appIconDescription({ host: instance.name ?? host }) }}</div>
|
||||||
|
@ -27,7 +27,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
||||||
<MkInput v-model="app512IconUrl" type="url">
|
<MkInput v-model="app512IconUrl" type="url">
|
||||||
<template #prefix><i class="ph-link ph-bold ph-lg"></i></template>
|
<template #prefix><i class="ti ti-link"></i></template>
|
||||||
<template #label>{{ i18n.ts._serverSettings.iconUrl }} (App/512px)</template>
|
<template #label>{{ i18n.ts._serverSettings.iconUrl }} (App/512px)</template>
|
||||||
<template #caption>
|
<template #caption>
|
||||||
<div>{{ i18n.tsx._serverSettings.appIconDescription({ host: instance.name ?? host }) }}</div>
|
<div>{{ i18n.tsx._serverSettings.appIconDescription({ host: instance.name ?? host }) }}</div>
|
||||||
|
@ -38,12 +38,12 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
||||||
<MkInput v-model="bannerUrl" type="url">
|
<MkInput v-model="bannerUrl" type="url">
|
||||||
<template #prefix><i class="ph-link ph-bold ph-lg"></i></template>
|
<template #prefix><i class="ti ti-link"></i></template>
|
||||||
<template #label>{{ i18n.ts.bannerUrl }}</template>
|
<template #label>{{ i18n.ts.bannerUrl }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
||||||
<MkInput v-model="backgroundImageUrl" type="url">
|
<MkInput v-model="backgroundImageUrl" type="url">
|
||||||
<template #prefix><i class="ph-link ph-bold ph-lg"></i></template>
|
<template #prefix><i class="ti ti-link"></i></template>
|
||||||
<template #label>{{ i18n.ts.backgroundImageUrl }}</template>
|
<template #label>{{ i18n.ts.backgroundImageUrl }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
||||||
|
@ -55,17 +55,17 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</FromSlot>
|
</FromSlot>
|
||||||
|
|
||||||
<MkInput v-model="notFoundImageUrl" type="url">
|
<MkInput v-model="notFoundImageUrl" type="url">
|
||||||
<template #prefix><i class="ph-link ph-bold ph-lg"></i></template>
|
<template #prefix><i class="ti ti-link"></i></template>
|
||||||
<template #label>{{ i18n.ts.notFoundDescription }}</template>
|
<template #label>{{ i18n.ts.notFoundDescription }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
||||||
<MkInput v-model="infoImageUrl" type="url">
|
<MkInput v-model="infoImageUrl" type="url">
|
||||||
<template #prefix><i class="ph-link ph-bold ph-lg"></i></template>
|
<template #prefix><i class="ti ti-link"></i></template>
|
||||||
<template #label>{{ i18n.ts.nothing }}</template>
|
<template #label>{{ i18n.ts.nothing }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
||||||
<MkInput v-model="serverErrorImageUrl" type="url">
|
<MkInput v-model="serverErrorImageUrl" type="url">
|
||||||
<template #prefix><i class="ph-link ph-bold ph-lg"></i></template>
|
<template #prefix><i class="ti ti-link"></i></template>
|
||||||
<template #label>{{ i18n.ts.somethingHappened }}</template>
|
<template #label>{{ i18n.ts.somethingHappened }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
||||||
|
@ -84,12 +84,12 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</MkTextarea>
|
</MkTextarea>
|
||||||
|
|
||||||
<MkInput v-model="repositoryUrl" type="url">
|
<MkInput v-model="repositoryUrl" type="url">
|
||||||
<template #prefix><i class="ph-link ph-bold ph-lg"></i></template>
|
<template #prefix><i class="ti ti-link"></i></template>
|
||||||
<template #label>{{ i18n.ts.repositoryUrl }}</template>
|
<template #label>{{ i18n.ts.repositoryUrl }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
||||||
<MkInput v-model="feedbackUrl" type="url">
|
<MkInput v-model="feedbackUrl" type="url">
|
||||||
<template #prefix><i class="ph-link ph-bold ph-lg"></i></template>
|
<template #prefix><i class="ti ti-link"></i></template>
|
||||||
<template #label>{{ i18n.ts.feedbackUrl }}</template>
|
<template #label>{{ i18n.ts.feedbackUrl }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
||||||
|
|
|
@ -25,12 +25,12 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<FormLink to="/admin/server-rules">{{ i18n.ts.serverRules }}</FormLink>
|
<FormLink to="/admin/server-rules">{{ i18n.ts.serverRules }}</FormLink>
|
||||||
|
|
||||||
<MkInput v-model="tosUrl" type="url">
|
<MkInput v-model="tosUrl" type="url">
|
||||||
<template #prefix><i class="ph-link ph-bold ph-lg"></i></template>
|
<template #prefix><i class="ti ti-link"></i></template>
|
||||||
<template #label>{{ i18n.ts.tosUrl }}</template>
|
<template #label>{{ i18n.ts.tosUrl }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
||||||
<MkInput v-model="privacyPolicyUrl" type="url">
|
<MkInput v-model="privacyPolicyUrl" type="url">
|
||||||
<template #prefix><i class="ph-link ph-bold ph-lg"></i></template>
|
<template #prefix><i class="ti ti-link"></i></template>
|
||||||
<template #label>{{ i18n.ts.privacyPolicyUrl }}</template>
|
<template #label>{{ i18n.ts.privacyPolicyUrl }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</MkTextarea>
|
</MkTextarea>
|
||||||
|
|
||||||
<MkInput v-model="inquiryUrl" type="url">
|
<MkInput v-model="inquiryUrl" type="url">
|
||||||
<template #prefix><i class="ph-link ph-bold ph-lg"></i></template>
|
<template #prefix><i class="ti ti-link"></i></template>
|
||||||
<template #label>{{ i18n.ts._serverSettings.inquiryUrl }}</template>
|
<template #label>{{ i18n.ts._serverSettings.inquiryUrl }}</template>
|
||||||
<template #caption>{{ i18n.ts._serverSettings.inquiryUrlDescription }}</template>
|
<template #caption>{{ i18n.ts._serverSettings.inquiryUrlDescription }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
|
@ -36,7 +36,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
<MkInput v-model="repositoryUrl" type="url">
|
<MkInput v-model="repositoryUrl" type="url">
|
||||||
<template #label>{{ i18n.ts.repositoryUrl }}</template>
|
<template #label>{{ i18n.ts.repositoryUrl }}</template>
|
||||||
<template #prefix><i class="ph-link ph-bold ph-lg"></i></template>
|
<template #prefix><i class="ti ti-link"></i></template>
|
||||||
<template #caption>{{ i18n.ts.repositoryUrlDescription }}</template>
|
<template #caption>{{ i18n.ts.repositoryUrlDescription }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<div class="items">
|
<div class="items">
|
||||||
<MkButton v-if="flash.isLiked" v-tooltip="i18n.ts.unlike" asLike class="button" rounded primary @click="unlike()"><i class="ti ti-heart"></i><span v-if="flash?.likedCount && flash.likedCount > 0" style="margin-left: 6px;">{{ flash.likedCount }}</span></MkButton>
|
<MkButton v-if="flash.isLiked" v-tooltip="i18n.ts.unlike" asLike class="button" rounded primary @click="unlike()"><i class="ti ti-heart"></i><span v-if="flash?.likedCount && flash.likedCount > 0" style="margin-left: 6px;">{{ flash.likedCount }}</span></MkButton>
|
||||||
<MkButton v-else v-tooltip="i18n.ts.like" asLike class="button" rounded @click="like()"><i class="ti ti-heart"></i><span v-if="flash?.likedCount && flash.likedCount > 0" style="margin-left: 6px;">{{ flash.likedCount }}</span></MkButton>
|
<MkButton v-else v-tooltip="i18n.ts.like" asLike class="button" rounded @click="like()"><i class="ti ti-heart"></i><span v-if="flash?.likedCount && flash.likedCount > 0" style="margin-left: 6px;">{{ flash.likedCount }}</span></MkButton>
|
||||||
<MkButton v-tooltip="i18n.ts.copyLink" class="button" rounded @click="copyLink"><i class="ph-link ph-bold ph-lg ti-fw"></i></MkButton>
|
<MkButton v-tooltip="i18n.ts.copyLink" class="button" rounded @click="copyLink"><i class="ti ti-link ti-fw"></i></MkButton>
|
||||||
<MkButton v-tooltip="i18n.ts.share" class="button" rounded @click="share"><i class="ph-share-network ph-bold ph-lg ti-fw"></i></MkButton>
|
<MkButton v-tooltip="i18n.ts.share" class="button" rounded @click="share"><i class="ph-share-network ph-bold ph-lg ti-fw"></i></MkButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -62,7 +62,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<MkButton v-else v-tooltip="i18n.ts._pages.like" class="button" asLike @click="like()"><i class="ti ti-heart"></i><span v-if="page.likedCount > 0" class="count">{{ page.likedCount }}</span></MkButton>
|
<MkButton v-else v-tooltip="i18n.ts._pages.like" class="button" asLike @click="like()"><i class="ti ti-heart"></i><span v-if="page.likedCount > 0" class="count">{{ page.likedCount }}</span></MkButton>
|
||||||
</div>
|
</div>
|
||||||
<div :class="$style.other">
|
<div :class="$style.other">
|
||||||
<button v-tooltip="i18n.ts.copyLink" class="_button" :class="$style.generalActionButton" @click="copyLink"><i class="ph-link ph-bold ph-lg ti-fw"></i></button>
|
<button v-tooltip="i18n.ts.copyLink" class="_button" :class="$style.generalActionButton" @click="copyLink"><i class="ti ti-link ti-fw"></i></button>
|
||||||
<button v-tooltip="i18n.ts.share" class="_button" :class="$style.generalActionButton" @click="share"><i class="ph-share-network ph-bold ph-lg ti-fw"></i></button>
|
<button v-tooltip="i18n.ts.share" class="_button" :class="$style.generalActionButton" @click="share"><i class="ph-share-network ph-bold ph-lg ti-fw"></i></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -110,7 +110,7 @@ export function getDriveFileMenu(file: Misskey.entities.DriveFile, folder?: Miss
|
||||||
}),
|
}),
|
||||||
}, {
|
}, {
|
||||||
text: i18n.ts.copyUrl,
|
text: i18n.ts.copyUrl,
|
||||||
icon: 'ph-link ph-bold ph-lg',
|
icon: 'ti ti-link',
|
||||||
action: () => copyUrl(file),
|
action: () => copyUrl(file),
|
||||||
}, {
|
}, {
|
||||||
type: 'a',
|
type: 'a',
|
||||||
|
|
|
@ -146,7 +146,7 @@ export function getAbuseNoteMenu(note: Misskey.entities.Note, text: string): Men
|
||||||
|
|
||||||
export function getCopyNoteLinkMenu(note: Misskey.entities.Note, text: string): MenuItem {
|
export function getCopyNoteLinkMenu(note: Misskey.entities.Note, text: string): MenuItem {
|
||||||
return {
|
return {
|
||||||
icon: 'ph-link ph-bold ph-lg',
|
icon: 'ti ti-link',
|
||||||
text,
|
text,
|
||||||
action: (): void => {
|
action: (): void => {
|
||||||
copyToClipboard(`${url}/notes/${note.id}`);
|
copyToClipboard(`${url}/notes/${note.id}`);
|
||||||
|
|
|
@ -101,7 +101,7 @@ function select(src: any, label: string | null, multiple: boolean): Promise<Miss
|
||||||
action: () => chooseFileFromDrive(multiple).then(files => res(files)),
|
action: () => chooseFileFromDrive(multiple).then(files => res(files)),
|
||||||
}, {
|
}, {
|
||||||
text: i18n.ts.fromUrl,
|
text: i18n.ts.fromUrl,
|
||||||
icon: 'ph-link ph-bold ph-lg',
|
icon: 'ti ti-link',
|
||||||
action: () => chooseFileFromUrl().then(file => res([file])),
|
action: () => chooseFileFromUrl().then(file => res([file])),
|
||||||
}], src);
|
}], src);
|
||||||
});
|
});
|
||||||
|
|
|
@ -103,6 +103,7 @@ export function getConfig(): UserConfig {
|
||||||
'ti ti-heart-plus': 'ph-heart ph-bold ph-lg',
|
'ti ti-heart-plus': 'ph-heart ph-bold ph-lg',
|
||||||
'ti ti-arrow-left': 'ph-arrow-left ph-bold ph-lg',
|
'ti ti-arrow-left': 'ph-arrow-left ph-bold ph-lg',
|
||||||
'ti ti-settings': 'ph-gear ph-bold ph-lg',
|
'ti ti-settings': 'ph-gear ph-bold ph-lg',
|
||||||
|
'ti ti-link': 'ph-link ph-bold ph-lg',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
...process.env.NODE_ENV === 'production'
|
...process.env.NODE_ENV === 'production'
|
||||||
|
|
Loading…
Reference in a new issue