mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2025-01-05 07:01:11 +00:00
replaced ti-circle-x
This commit is contained in:
parent
2258d84f08
commit
cb124607ce
10 changed files with 11 additions and 10 deletions
|
@ -19,7 +19,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
}]"
|
}]"
|
||||||
>
|
>
|
||||||
<i v-if="type === 'success'" :class="$style.iconInner" class="ph-check ph-bold ph-lg"></i>
|
<i v-if="type === 'success'" :class="$style.iconInner" class="ph-check ph-bold ph-lg"></i>
|
||||||
<i v-else-if="type === 'error'" :class="$style.iconInner" class="ph-x-circle ph-bold ph-lg"></i>
|
<i v-else-if="type === 'error'" :class="$style.iconInner" class="ti ti-circle-x"></i>
|
||||||
<i v-else-if="type === 'warning'" :class="$style.iconInner" class="ph-warning ph-bold ph-lg"></i>
|
<i v-else-if="type === 'warning'" :class="$style.iconInner" class="ph-warning ph-bold ph-lg"></i>
|
||||||
<i v-else-if="type === 'info'" :class="$style.iconInner" class="ph-info ph-bold ph-lg"></i>
|
<i v-else-if="type === 'info'" :class="$style.iconInner" class="ph-info ph-bold ph-lg"></i>
|
||||||
<i v-else-if="type === 'question'" :class="$style.iconInner" class="ph-question ph-bold ph-lg"></i>
|
<i v-else-if="type === 'question'" :class="$style.iconInner" class="ph-question ph-bold ph-lg"></i>
|
||||||
|
|
|
@ -155,7 +155,7 @@ function showFileMenu(file: Misskey.entities.DriveFile, ev: MouseEvent): void {
|
||||||
type: 'divider',
|
type: 'divider',
|
||||||
}, {
|
}, {
|
||||||
text: i18n.ts.attachCancel,
|
text: i18n.ts.attachCancel,
|
||||||
icon: 'ph-x-circle ph-bold ph-lg',
|
icon: 'ti ti-circle-x',
|
||||||
action: () => { detachMedia(file.id); },
|
action: () => { detachMedia(file.id); },
|
||||||
}, {
|
}, {
|
||||||
text: i18n.ts.deleteFile,
|
text: i18n.ts.deleteFile,
|
||||||
|
|
|
@ -26,7 +26,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<template #label>{{ i18n.ts.icon }}</template>
|
<template #label>{{ i18n.ts.icon }}</template>
|
||||||
<option value="info"><i class="ph-info ph-bold ph-lg"></i></option>
|
<option value="info"><i class="ph-info ph-bold ph-lg"></i></option>
|
||||||
<option value="warning"><i class="ph-warning ph-bold ph-lg" style="color: var(--warn);"></i></option>
|
<option value="warning"><i class="ph-warning ph-bold ph-lg" style="color: var(--warn);"></i></option>
|
||||||
<option value="error"><i class="ph-x-circle ph-bold ph-lg" style="color: var(--error);"></i></option>
|
<option value="error"><i class="ti ti-circle-x" style="color: var(--error);"></i></option>
|
||||||
<option value="success"><i class="ph-check ph-bold ph-lg" style="color: var(--success);"></i></option>
|
<option value="success"><i class="ph-check ph-bold ph-lg" style="color: var(--success);"></i></option>
|
||||||
</MkRadios>
|
</MkRadios>
|
||||||
<MkRadios v-model="display">
|
<MkRadios v-model="display">
|
||||||
|
|
|
@ -147,7 +147,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<span style="margin-right: 0.5em;">
|
<span style="margin-right: 0.5em;">
|
||||||
<i v-if="announcement.icon === 'info'" class="ph-info ph-bold ph-lg"></i>
|
<i v-if="announcement.icon === 'info'" class="ph-info ph-bold ph-lg"></i>
|
||||||
<i v-else-if="announcement.icon === 'warning'" class="ph-warning ph-bold ph-lg" style="color: var(--warn);"></i>
|
<i v-else-if="announcement.icon === 'warning'" class="ph-warning ph-bold ph-lg" style="color: var(--warn);"></i>
|
||||||
<i v-else-if="announcement.icon === 'error'" class="ph-x-circle ph-bold ph-lg" style="color: var(--error);"></i>
|
<i v-else-if="announcement.icon === 'error'" class="ti ti-circle-x" style="color: var(--error);"></i>
|
||||||
<i v-else-if="announcement.icon === 'success'" class="ph-check ph-bold ph-lg" style="color: var(--success);"></i>
|
<i v-else-if="announcement.icon === 'success'" class="ph-check ph-bold ph-lg" style="color: var(--success);"></i>
|
||||||
</span>
|
</span>
|
||||||
<span>{{ announcement.title }}</span>
|
<span>{{ announcement.title }}</span>
|
||||||
|
|
|
@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<i v-if="announcement.icon === 'info'" class="ph-info ph-bold ph-lg"></i>
|
<i v-if="announcement.icon === 'info'" class="ph-info ph-bold ph-lg"></i>
|
||||||
<i v-else-if="announcement.icon === 'warning'" class="ph-warning ph-bold ph-lg" style="color: var(--warn);"></i>
|
<i v-else-if="announcement.icon === 'warning'" class="ph-warning ph-bold ph-lg" style="color: var(--warn);"></i>
|
||||||
<i v-else-if="announcement.icon === 'error'" class="ph-x-circle ph-bold ph-lg" style="color: var(--error);"></i>
|
<i v-else-if="announcement.icon === 'error'" class="ti ti-circle-x" style="color: var(--error);"></i>
|
||||||
<i v-else-if="announcement.icon === 'success'" class="ph-check ph-bold ph-lg" style="color: var(--success);"></i>
|
<i v-else-if="announcement.icon === 'success'" class="ph-check ph-bold ph-lg" style="color: var(--success);"></i>
|
||||||
</template>
|
</template>
|
||||||
<template #caption>{{ announcement.text }}</template>
|
<template #caption>{{ announcement.text }}</template>
|
||||||
|
@ -35,7 +35,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<template #label>{{ i18n.ts.icon }}</template>
|
<template #label>{{ i18n.ts.icon }}</template>
|
||||||
<option value="info"><i class="ph-info ph-bold ph-lg"></i></option>
|
<option value="info"><i class="ph-info ph-bold ph-lg"></i></option>
|
||||||
<option value="warning"><i class="ph-warning ph-bold ph-lg" style="color: var(--warn);"></i></option>
|
<option value="warning"><i class="ph-warning ph-bold ph-lg" style="color: var(--warn);"></i></option>
|
||||||
<option value="error"><i class="ph-x-circle ph-bold ph-lg" style="color: var(--error);"></i></option>
|
<option value="error"><i class="ti ti-circle-x" style="color: var(--error);"></i></option>
|
||||||
<option value="success"><i class="ph-check ph-bold ph-lg" style="color: var(--success);"></i></option>
|
<option value="success"><i class="ph-check ph-bold ph-lg" style="color: var(--success);"></i></option>
|
||||||
</MkRadios>
|
</MkRadios>
|
||||||
<MkRadios v-model="announcement.display">
|
<MkRadios v-model="announcement.display">
|
||||||
|
|
|
@ -18,7 +18,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<span style="margin-right: 0.5em;">
|
<span style="margin-right: 0.5em;">
|
||||||
<i v-if="announcement.icon === 'info'" class="ph-info ph-bold ph-lg"></i>
|
<i v-if="announcement.icon === 'info'" class="ph-info ph-bold ph-lg"></i>
|
||||||
<i v-else-if="announcement.icon === 'warning'" class="ph-warning ph-bold ph-lg" style="color: var(--warn);"></i>
|
<i v-else-if="announcement.icon === 'warning'" class="ph-warning ph-bold ph-lg" style="color: var(--warn);"></i>
|
||||||
<i v-else-if="announcement.icon === 'error'" class="ph-x-circle ph-bold ph-lg" style="color: var(--error);"></i>
|
<i v-else-if="announcement.icon === 'error'" class="ti ti-circle-x" style="color: var(--error);"></i>
|
||||||
<i v-else-if="announcement.icon === 'success'" class="ph-check ph-bold ph-lg" style="color: var(--success);"></i>
|
<i v-else-if="announcement.icon === 'success'" class="ph-check ph-bold ph-lg" style="color: var(--success);"></i>
|
||||||
</span>
|
</span>
|
||||||
<MkA :to="`/announcements/${announcement.id}`"><span>{{ announcement.title }}</span></MkA>
|
<MkA :to="`/announcements/${announcement.id}`"><span>{{ announcement.title }}</span></MkA>
|
||||||
|
|
|
@ -80,7 +80,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="uiPhase === 'error'" class="_gaps_m" :class="[$style.extInstallerRoot, $style.error]">
|
<div v-else-if="uiPhase === 'error'" class="_gaps_m" :class="[$style.extInstallerRoot, $style.error]">
|
||||||
<div :class="$style.extInstallerIconWrapper">
|
<div :class="$style.extInstallerIconWrapper">
|
||||||
<i class="ph-x-circle ph-bold ph-lg"></i>
|
<i class="ti ti-circle-x"></i>
|
||||||
</div>
|
</div>
|
||||||
<h2 :class="$style.extInstallerTitle">{{ errorKV?.title }}</h2>
|
<h2 :class="$style.extInstallerTitle">{{ errorKV?.title }}</h2>
|
||||||
<div :class="$style.extInstallerNormDesc">{{ errorKV?.description }}</div>
|
<div :class="$style.extInstallerNormDesc">{{ errorKV?.description }}</div>
|
||||||
|
|
|
@ -20,7 +20,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<div v-for="item in items" :key="item.id" v-panel class="timnmucd">
|
<div v-for="item in items" :key="item.id" v-panel class="timnmucd">
|
||||||
<header>
|
<header>
|
||||||
<i v-if="item.success" class="ph-check ph-bold ph-lg icon succ"></i>
|
<i v-if="item.success" class="ph-check ph-bold ph-lg icon succ"></i>
|
||||||
<i v-else class="ph-x-circle ph-bold ph-lg icon fail"></i>
|
<i v-else class="ti ti-circle-x icon fail"></i>
|
||||||
<code class="ip _monospace">{{ item.ip }}</code>
|
<code class="ip _monospace">{{ item.ip }}</code>
|
||||||
<MkTime :time="item.createdAt" class="time"/>
|
<MkTime :time="item.createdAt" class="time"/>
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -14,7 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<span :class="$style.icon">
|
<span :class="$style.icon">
|
||||||
<i v-if="announcement.icon === 'info'" class="ph-info ph-bold ph-lg"></i>
|
<i v-if="announcement.icon === 'info'" class="ph-info ph-bold ph-lg"></i>
|
||||||
<i v-else-if="announcement.icon === 'warning'" class="ph-warning ph-bold ph-lg" style="color: var(--warn);"></i>
|
<i v-else-if="announcement.icon === 'warning'" class="ph-warning ph-bold ph-lg" style="color: var(--warn);"></i>
|
||||||
<i v-else-if="announcement.icon === 'error'" class="ph-x-circle ph-bold ph-lg" style="color: var(--error);"></i>
|
<i v-else-if="announcement.icon === 'error'" class="ti ti-circle-x" style="color: var(--error);"></i>
|
||||||
<i v-else-if="announcement.icon === 'success'" class="ph-check ph-bold ph-lg" style="color: var(--success);"></i>
|
<i v-else-if="announcement.icon === 'success'" class="ph-check ph-bold ph-lg" style="color: var(--success);"></i>
|
||||||
</span>
|
</span>
|
||||||
<span :class="$style.title">{{ announcement.title }}</span>
|
<span :class="$style.title">{{ announcement.title }}</span>
|
||||||
|
|
|
@ -76,6 +76,7 @@ export function getConfig(): UserConfig {
|
||||||
values: {
|
values: {
|
||||||
'ti ti-terminal-2': 'ph-terminal-window ph-bold ph-lg',
|
'ti ti-terminal-2': 'ph-terminal-window ph-bold ph-lg',
|
||||||
'ti ti-download': 'ph-download ph-bold ph-lg',
|
'ti ti-download': 'ph-download ph-bold ph-lg',
|
||||||
|
'ti ti-circle-x': 'ph-x-circle ph-bold ph-lg',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
...process.env.NODE_ENV === 'production'
|
...process.env.NODE_ENV === 'production'
|
||||||
|
|
Loading…
Reference in a new issue