mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-29 01:13:02 +00:00
replaced ti-users
This commit is contained in:
parent
84fd5822bc
commit
527bbd036c
17 changed files with 19 additions and 18 deletions
|
@ -304,7 +304,7 @@ export async function openAccountMenu(opts: {
|
||||||
}],
|
}],
|
||||||
}, {
|
}, {
|
||||||
type: 'link' as const,
|
type: 'link' as const,
|
||||||
icon: 'ph-users ph-bold ph-lg',
|
icon: 'ti ti-users',
|
||||||
text: i18n.ts.manageAccounts,
|
text: i18n.ts.manageAccounts,
|
||||||
to: '/settings/accounts',
|
to: '/settings/accounts',
|
||||||
}, {
|
}, {
|
||||||
|
|
|
@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<div v-if="channel.isSensitive" class="sensitiveIndicator">{{ i18n.ts.sensitive }}</div>
|
<div v-if="channel.isSensitive" class="sensitiveIndicator">{{ i18n.ts.sensitive }}</div>
|
||||||
<div class="status">
|
<div class="status">
|
||||||
<div>
|
<div>
|
||||||
<i class="ph-users ph-bold ph-lg"></i>
|
<i class="ti ti-users ti-fw"></i>
|
||||||
<I18n :src="i18n.ts._channel.usersCount" tag="span" style="margin-left: 4px;">
|
<I18n :src="i18n.ts._channel.usersCount" tag="span" style="margin-left: 4px;">
|
||||||
<template #n>
|
<template #n>
|
||||||
<b>{{ channel.usersCount }}</b>
|
<b>{{ channel.usersCount }}</b>
|
||||||
|
|
|
@ -112,7 +112,7 @@ const menuDef = computed(() => [{
|
||||||
to: '/admin/overview',
|
to: '/admin/overview',
|
||||||
active: currentPage.value?.route.name === 'overview',
|
active: currentPage.value?.route.name === 'overview',
|
||||||
}, {
|
}, {
|
||||||
icon: 'ph-users ph-bold ph-lg',
|
icon: 'ti ti-users',
|
||||||
text: i18n.ts.users,
|
text: i18n.ts.users,
|
||||||
to: '/admin/users',
|
to: '/admin/users',
|
||||||
active: currentPage.value?.route.name === 'users',
|
active: currentPage.value?.route.name === 'users',
|
||||||
|
|
|
@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<MkLoading v-if="fetching"/>
|
<MkLoading v-if="fetching"/>
|
||||||
<div v-else :class="$style.root">
|
<div v-else :class="$style.root">
|
||||||
<div class="item _panel users">
|
<div class="item _panel users">
|
||||||
<div class="icon"><i class="ph-users ph-bold ph-lg"></i></div>
|
<div class="icon"><i class="ti ti-users"></i></div>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<MkNumber :value="stats.originalUsersCount" style="margin-right: 0.5em;"/>
|
<MkNumber :value="stats.originalUsersCount" style="margin-right: 0.5em;"/>
|
||||||
|
|
|
@ -39,7 +39,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</MkSelect>
|
</MkSelect>
|
||||||
|
|
||||||
<MkSelect v-model="role.target" :readonly="readonly">
|
<MkSelect v-model="role.target" :readonly="readonly">
|
||||||
<template #label><i class="ph-users ph-bold ph-lg"></i> {{ i18n.ts._role.assignTarget }}</template>
|
<template #label><i class="ti ti-users"></i> {{ i18n.ts._role.assignTarget }}</template>
|
||||||
<template #caption><div v-html="i18n.ts._role.descriptionOfAssignTarget.replaceAll('\n', '<br>')"></div></template>
|
<template #caption><div v-html="i18n.ts._role.descriptionOfAssignTarget.replaceAll('\n', '<br>')"></div></template>
|
||||||
<option value="manual">{{ i18n.ts._role.manual }}</option>
|
<option value="manual">{{ i18n.ts._role.manual }}</option>
|
||||||
<option value="conditional">{{ i18n.ts._role.conditional }}</option>
|
<option value="conditional">{{ i18n.ts._role.conditional }}</option>
|
||||||
|
|
|
@ -19,7 +19,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<XEditor :modelValue="role" readonly/>
|
<XEditor :modelValue="role" readonly/>
|
||||||
</MkFolder>
|
</MkFolder>
|
||||||
<MkFolder v-if="role.target === 'manual'" defaultOpen>
|
<MkFolder v-if="role.target === 'manual'" defaultOpen>
|
||||||
<template #icon><i class="ph-users ph-bold ph-lg"></i></template>
|
<template #icon><i class="ti ti-users"></i></template>
|
||||||
<template #label>{{ i18n.ts.users }}</template>
|
<template #label>{{ i18n.ts.users }}</template>
|
||||||
<template #suffix>{{ role.usersCount }}</template>
|
<template #suffix>{{ role.usersCount }}</template>
|
||||||
<div class="_gaps">
|
<div class="_gaps">
|
||||||
|
|
|
@ -140,7 +140,7 @@ const headerTabs = computed(() => []);
|
||||||
|
|
||||||
definePageMetadata(() => ({
|
definePageMetadata(() => ({
|
||||||
title: i18n.ts.users,
|
title: i18n.ts.users,
|
||||||
icon: 'ph-users ph-bold ph-lg',
|
icon: 'ti ti-users',
|
||||||
}));
|
}));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<MkButton v-else v-tooltip="i18n.ts.favorite" asLike class="button" rounded :class="$style.favorite" @click="favorite()"><i class="ti ti-star"></i></MkButton>
|
<MkButton v-else v-tooltip="i18n.ts.favorite" asLike class="button" rounded :class="$style.favorite" @click="favorite()"><i class="ti ti-star"></i></MkButton>
|
||||||
<div :style="{ backgroundImage: channel.bannerUrl ? `url(${channel.bannerUrl})` : undefined }" :class="$style.banner">
|
<div :style="{ backgroundImage: channel.bannerUrl ? `url(${channel.bannerUrl})` : undefined }" :class="$style.banner">
|
||||||
<div :class="$style.bannerStatus">
|
<div :class="$style.bannerStatus">
|
||||||
<div><i class="ph-users ph-bold ph-lg"></i><I18n :src="i18n.ts._channel.usersCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.usersCount }}</b></template></I18n></div>
|
<div><i class="ti ti-users ti-fw"></i><I18n :src="i18n.ts._channel.usersCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.usersCount }}</b></template></I18n></div>
|
||||||
<div><i class="ti ti-pencil ti-fw"></i><I18n :src="i18n.ts._channel.notesCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.notesCount }}</b></template></I18n></div>
|
<div><i class="ti ti-pencil ti-fw"></i><I18n :src="i18n.ts._channel.notesCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.notesCount }}</b></template></I18n></div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="channel.isSensitive" :class="$style.sensitiveIndicator">{{ i18n.ts.sensitive }}</div>
|
<div v-if="channel.isSensitive" :class="$style.sensitiveIndicator">{{ i18n.ts.sensitive }}</div>
|
||||||
|
|
|
@ -52,7 +52,7 @@ const headerTabs = computed(() => [{
|
||||||
title: i18n.ts.featured,
|
title: i18n.ts.featured,
|
||||||
}, {
|
}, {
|
||||||
key: 'users',
|
key: 'users',
|
||||||
icon: 'ph-users ph-bold ph-lg',
|
icon: 'ti ti-users',
|
||||||
title: i18n.ts.users,
|
title: i18n.ts.users,
|
||||||
}, {
|
}, {
|
||||||
key: 'roles',
|
key: 'roles',
|
||||||
|
|
|
@ -278,7 +278,7 @@ const headerTabs = computed(() => [{
|
||||||
}, {
|
}, {
|
||||||
key: 'users',
|
key: 'users',
|
||||||
title: i18n.ts.users,
|
title: i18n.ts.users,
|
||||||
icon: 'ph-users ph-bold ph-lg',
|
icon: 'ti ti-users',
|
||||||
}, {
|
}, {
|
||||||
key: 'raw',
|
key: 'raw',
|
||||||
title: 'Raw',
|
title: 'Raw',
|
||||||
|
|
|
@ -85,7 +85,7 @@ const users = computed(() => ({
|
||||||
|
|
||||||
const headerTabs = computed(() => [{
|
const headerTabs = computed(() => [{
|
||||||
key: 'users',
|
key: 'users',
|
||||||
icon: 'ph-users ph-bold ph-lg',
|
icon: 'ti ti-users',
|
||||||
title: i18n.ts.users,
|
title: i18n.ts.users,
|
||||||
}, {
|
}, {
|
||||||
key: 'timeline',
|
key: 'timeline',
|
||||||
|
|
|
@ -49,7 +49,7 @@ const headerTabs = computed(() => [{
|
||||||
}, {
|
}, {
|
||||||
key: 'user',
|
key: 'user',
|
||||||
title: i18n.ts.users,
|
title: i18n.ts.users,
|
||||||
icon: 'ph-users ph-bold ph-lg',
|
icon: 'ti ti-users',
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
definePageMetadata(() => ({
|
definePageMetadata(() => ({
|
||||||
|
|
|
@ -108,7 +108,7 @@ const headerTabs = computed(() => []);
|
||||||
|
|
||||||
definePageMetadata(() => ({
|
definePageMetadata(() => ({
|
||||||
title: i18n.ts.accounts,
|
title: i18n.ts.accounts,
|
||||||
icon: 'ph-users ph-bold ph-lg',
|
icon: 'ti ti-users',
|
||||||
}));
|
}));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</MkFolder>
|
</MkFolder>
|
||||||
</FormSection>
|
</FormSection>
|
||||||
<FormSection>
|
<FormSection>
|
||||||
<template #label><i class="ph-users ph-bold ph-lg"></i> {{ i18n.ts._exportOrImport.followingList }}</template>
|
<template #label><i class="ti ti-users"></i> {{ i18n.ts._exportOrImport.followingList }}</template>
|
||||||
<div class="_gaps_s">
|
<div class="_gaps_s">
|
||||||
<MkFolder>
|
<MkFolder>
|
||||||
<template #label>{{ i18n.ts.export }}</template>
|
<template #label>{{ i18n.ts.export }}</template>
|
||||||
|
@ -71,7 +71,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</div>
|
</div>
|
||||||
</FormSection>
|
</FormSection>
|
||||||
<FormSection>
|
<FormSection>
|
||||||
<template #label><i class="ph-users ph-bold ph-lg"></i> {{ i18n.ts._exportOrImport.userLists }}</template>
|
<template #label><i class="ti ti-users"></i> {{ i18n.ts._exportOrImport.userLists }}</template>
|
||||||
<div class="_gaps_s">
|
<div class="_gaps_s">
|
||||||
<MkFolder>
|
<MkFolder>
|
||||||
<template #label>{{ i18n.ts.export }}</template>
|
<template #label>{{ i18n.ts.export }}</template>
|
||||||
|
|
|
@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<XNotes :user="user"/>
|
<XNotes :user="user"/>
|
||||||
</MkFoldableSection>
|
</MkFoldableSection>
|
||||||
<MkFoldableSection class="item">
|
<MkFoldableSection class="item">
|
||||||
<template #header><i class="ph-users ph-bold ph-lg"></i> Following</template>
|
<template #header><i class="ti ti-users"></i> Following</template>
|
||||||
<XFollowing :user="user"/>
|
<XFollowing :user="user"/>
|
||||||
</MkFoldableSection>
|
</MkFoldableSection>
|
||||||
<MkFoldableSection class="item">
|
<MkFoldableSection class="item">
|
||||||
|
|
|
@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<MkContainer :showHeader="widgetProps.showHeader" class="mkw-userList">
|
<MkContainer :showHeader="widgetProps.showHeader" class="mkw-userList">
|
||||||
<template #icon><i class="ph-users ph-bold ph-lg"></i></template>
|
<template #icon><i class="ti ti-users"></i></template>
|
||||||
<template #header>{{ list ? list.name : i18n.ts._widgets.userList }}</template>
|
<template #header>{{ list ? list.name : i18n.ts._widgets.userList }}</template>
|
||||||
<template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configure()"><i class="ti ti-settings"></i></button></template>
|
<template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configure()"><i class="ti ti-settings"></i></button></template>
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,7 @@ export function getConfig(): UserConfig {
|
||||||
'**/pages/flash/flash.*',
|
'**/pages/flash/flash.*',
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
iconsReplace({
|
iconsReplace({
|
||||||
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',
|
||||||
|
@ -161,6 +161,7 @@ export function getConfig(): UserConfig {
|
||||||
'ti ti-eye-off': 'ti ti-eye-exclamation',
|
'ti ti-eye-off': 'ti ti-eye-exclamation',
|
||||||
'ti ti-eye-exclamation': 'ph-eye-slash ph-bold ph-lg',
|
'ti ti-eye-exclamation': 'ph-eye-slash ph-bold ph-lg',
|
||||||
'ti ti-lock': 'ph-lock ph-bold ph-lg',
|
'ti ti-lock': 'ph-lock ph-bold ph-lg',
|
||||||
|
'ti ti-users': 'ph-users ph-bold ph-lg',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
...process.env.NODE_ENV === 'production'
|
...process.env.NODE_ENV === 'production'
|
||||||
|
|
Loading…
Reference in a new issue