replaced ti-lock

This commit is contained in:
dakkar 2024-06-21 15:25:18 +01:00
parent e8684ba98f
commit 1b965dd866
22 changed files with 27 additions and 26 deletions

View file

@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only
>
<div :class="$style.name"><MkCondensedLine :minScale="0.5">{{ decoration.name }}</MkCondensedLine></div>
<MkAvatar style="width: 60px; height: 60px;" :user="$i" :decorations="[{ url: decoration.url, angle, flipH, offsetX, offsetY }]" forceShowDecoration/>
<i v-if="decoration.roleIdsThatCanBeUsedThisDecoration.length > 0 && !$i.roles.some(r => decoration.roleIdsThatCanBeUsedThisDecoration.includes(r.id))" :class="$style.lock" class="ph-lock ph-bold ph-lg"></i>
<i v-if="decoration.roleIdsThatCanBeUsedThisDecoration.length > 0 && !$i.roles.some(r => decoration.roleIdsThatCanBeUsedThisDecoration.includes(r.id))" :class="$style.lock" class="ti ti-lock"></i>
</div>
</template>

View file

@ -92,7 +92,7 @@ const menuDef = computed(() => [{
to: '/settings/email',
active: currentPage.value?.route.name === 'email',
}, {
icon: 'ph-lock ph-bold ph-lg',
icon: 'ti ti-lock',
text: i18n.ts.security,
to: '/settings/security',
active: currentPage.value?.route.name === 'security',

View file

@ -105,7 +105,7 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.security,
icon: 'ph-lock ph-bold ph-lg',
icon: 'ti ti-lock',
}));
</script>

View file

@ -14,7 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkInput>
<MkInput v-model="secret">
<template #prefix><i class="ph-lock ph-bold ph-lg"></i></template>
<template #prefix><i class="ti ti-lock"></i></template>
<template #label>{{ i18n.ts._webhookSettings.secret }}</template>
</MkInput>

View file

@ -14,7 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkInput>
<MkInput v-model="secret">
<template #prefix><i class="ph-lock ph-bold ph-lg"></i></template>
<template #prefix><i class="ti ti-lock"></i></template>
<template #label>{{ i18n.ts._webhookSettings.secret }}</template>
</MkInput>