replaced ti-key

This commit is contained in:
dakkar 2024-06-21 14:54:06 +01:00
parent bc0fbca65e
commit 2f4a9010c9
10 changed files with 22 additions and 21 deletions

View file

@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<form class="_gaps_m" autocomplete="new-password" @submit.prevent="onSubmit"> <form class="_gaps_m" autocomplete="new-password" @submit.prevent="onSubmit">
<MkInput v-if="instance.disableRegistration" v-model="invitationCode" type="text" :spellcheck="false" required> <MkInput v-if="instance.disableRegistration" v-model="invitationCode" type="text" :spellcheck="false" required>
<template #label>{{ i18n.ts.invitationCode }}</template> <template #label>{{ i18n.ts.invitationCode }}</template>
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
</MkInput> </MkInput>
<MkInput v-model="username" type="text" pattern="^[a-zA-Z0-9_]{1,20}$" :spellcheck="false" autocomplete="username" required data-cy-signup-username @update:modelValue="onChangeUsername"> <MkInput v-model="username" type="text" pattern="^[a-zA-Z0-9_]{1,20}$" :spellcheck="false" autocomplete="username" required data-cy-signup-username @update:modelValue="onChangeUsername">
<template #label>{{ i18n.ts.username }} <div v-tooltip:dialog="i18n.ts.usernameInfo" class="_button _help"><i class="ph-question ph-bold ph-lg"></i></div></template> <template #label>{{ i18n.ts.username }} <div v-tooltip:dialog="i18n.ts.usernameInfo" class="_button _help"><i class="ph-question ph-bold ph-lg"></i></div></template>

View file

@ -83,7 +83,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkSwitch v-model="markedAsNSFW" @update:modelValue="toggleNSFW">{{ i18n.ts.markAsNSFW }}</MkSwitch> <MkSwitch v-model="markedAsNSFW" @update:modelValue="toggleNSFW">{{ i18n.ts.markAsNSFW }}</MkSwitch>
<div> <div>
<MkButton v-if="user.host == null" inline style="margin-right: 8px;" @click="resetPassword"><i class="ph-key ph-bold ph-lg"></i> {{ i18n.ts.resetPassword }}</MkButton> <MkButton v-if="user.host == null" inline style="margin-right: 8px;" @click="resetPassword"><i class="ti ti-key"></i> {{ i18n.ts.resetPassword }}</MkButton>
</div> </div>
<MkFolder> <MkFolder>

View file

@ -17,11 +17,11 @@ SPDX-License-Identifier: AGPL-3.0-only
<template v-if="provider === 'hcaptcha'"> <template v-if="provider === 'hcaptcha'">
<MkInput v-model="hcaptchaSiteKey"> <MkInput v-model="hcaptchaSiteKey">
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
<template #label>{{ i18n.ts.hcaptchaSiteKey }}</template> <template #label>{{ i18n.ts.hcaptchaSiteKey }}</template>
</MkInput> </MkInput>
<MkInput v-model="hcaptchaSecretKey"> <MkInput v-model="hcaptchaSecretKey">
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
<template #label>{{ i18n.ts.hcaptchaSecretKey }}</template> <template #label>{{ i18n.ts.hcaptchaSecretKey }}</template>
</MkInput> </MkInput>
<FormSlot> <FormSlot>
@ -31,11 +31,11 @@ SPDX-License-Identifier: AGPL-3.0-only
</template> </template>
<template v-else-if="provider === 'mcaptcha'"> <template v-else-if="provider === 'mcaptcha'">
<MkInput v-model="mcaptchaSiteKey"> <MkInput v-model="mcaptchaSiteKey">
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
<template #label>{{ i18n.ts.mcaptchaSiteKey }}</template> <template #label>{{ i18n.ts.mcaptchaSiteKey }}</template>
</MkInput> </MkInput>
<MkInput v-model="mcaptchaSecretKey"> <MkInput v-model="mcaptchaSecretKey">
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
<template #label>{{ i18n.ts.mcaptchaSecretKey }}</template> <template #label>{{ i18n.ts.mcaptchaSecretKey }}</template>
</MkInput> </MkInput>
<MkInput v-model="mcaptchaInstanceUrl"> <MkInput v-model="mcaptchaInstanceUrl">
@ -49,11 +49,11 @@ SPDX-License-Identifier: AGPL-3.0-only
</template> </template>
<template v-else-if="provider === 'recaptcha'"> <template v-else-if="provider === 'recaptcha'">
<MkInput v-model="recaptchaSiteKey"> <MkInput v-model="recaptchaSiteKey">
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
<template #label>{{ i18n.ts.recaptchaSiteKey }}</template> <template #label>{{ i18n.ts.recaptchaSiteKey }}</template>
</MkInput> </MkInput>
<MkInput v-model="recaptchaSecretKey"> <MkInput v-model="recaptchaSecretKey">
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
<template #label>{{ i18n.ts.recaptchaSecretKey }}</template> <template #label>{{ i18n.ts.recaptchaSecretKey }}</template>
</MkInput> </MkInput>
<FormSlot v-if="recaptchaSiteKey"> <FormSlot v-if="recaptchaSiteKey">
@ -63,11 +63,11 @@ SPDX-License-Identifier: AGPL-3.0-only
</template> </template>
<template v-else-if="provider === 'turnstile'"> <template v-else-if="provider === 'turnstile'">
<MkInput v-model="turnstileSiteKey"> <MkInput v-model="turnstileSiteKey">
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
<template #label>{{ i18n.ts.turnstileSiteKey }}</template> <template #label>{{ i18n.ts.turnstileSiteKey }}</template>
</MkInput> </MkInput>
<MkInput v-model="turnstileSecretKey"> <MkInput v-model="turnstileSecretKey">
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
<template #label>{{ i18n.ts.turnstileSecretKey }}</template> <template #label>{{ i18n.ts.turnstileSecretKey }}</template>
</MkInput> </MkInput>
<FormSlot> <FormSlot>

View file

@ -13,7 +13,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="_gaps_m"> <div class="_gaps_m">
<MkInput v-model="deeplAuthKey"> <MkInput v-model="deeplAuthKey">
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
<template #label>DeepL Auth Key</template> <template #label>DeepL Auth Key</template>
</MkInput> </MkInput>
<MkSwitch v-model="deeplIsPro"> <MkSwitch v-model="deeplIsPro">

View file

@ -40,12 +40,12 @@ SPDX-License-Identifier: AGPL-3.0-only
<FormSplit :minWidth="280"> <FormSplit :minWidth="280">
<MkInput v-model="objectStorageAccessKey"> <MkInput v-model="objectStorageAccessKey">
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
<template #label>Access key</template> <template #label>Access key</template>
</MkInput> </MkInput>
<MkInput v-model="objectStorageSecretKey" type="password"> <MkInput v-model="objectStorageSecretKey" type="password">
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
<template #label>Secret key</template> <template #label>Secret key</template>
</MkInput> </MkInput>
</FormSplit> </FormSplit>

View file

@ -35,18 +35,18 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #label>Use Verifymail.io API</template> <template #label>Use Verifymail.io API</template>
</MkSwitch> </MkSwitch>
<MkInput v-model="verifymailAuthKey"> <MkInput v-model="verifymailAuthKey">
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
<template #label>Verifymail.io API Auth Key</template> <template #label>Verifymail.io API Auth Key</template>
</MkInput> </MkInput>
<MkSwitch v-model="enableTruemailApi"> <MkSwitch v-model="enableTruemailApi">
<template #label>Use TrueMail API</template> <template #label>Use TrueMail API</template>
</MkSwitch> </MkSwitch>
<MkInput v-model="truemailInstance"> <MkInput v-model="truemailInstance">
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
<template #label>TrueMail API Instance</template> <template #label>TrueMail API Instance</template>
</MkInput> </MkInput>
<MkInput v-model="truemailAuthKey"> <MkInput v-model="truemailAuthKey">
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
<template #label>TrueMail API Auth Key</template> <template #label>TrueMail API Auth Key</template>
</MkInput> </MkInput>
<MkButton primary @click="save"><i class="ti ti-device-floppy"></i> {{ i18n.ts.save }}</MkButton> <MkButton primary @click="save"><i class="ti ti-device-floppy"></i> {{ i18n.ts.save }}</MkButton>

View file

@ -46,7 +46,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkInput v-model="impressumUrl" type="url"> <MkInput v-model="impressumUrl" type="url">
<template #label>{{ i18n.ts.impressumUrl }}</template> <template #label>{{ i18n.ts.impressumUrl }}</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.impressumDescription }}</template> <template #caption>{{ i18n.ts.impressumDescription }}</template>
</MkInput> </MkInput>
@ -89,12 +89,12 @@ SPDX-License-Identifier: AGPL-3.0-only
<template v-if="enableServiceWorker"> <template v-if="enableServiceWorker">
<MkInput v-model="swPublicKey"> <MkInput v-model="swPublicKey">
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
<template #label>Public key</template> <template #label>Public key</template>
</MkInput> </MkInput>
<MkInput v-model="swPrivateKey"> <MkInput v-model="swPrivateKey">
<template #prefix><i class="ph-key ph-bold ph-lg"></i></template> <template #prefix><i class="ti ti-key"></i></template>
<template #label>Private key</template> <template #label>Private key</template>
</MkInput> </MkInput>
</template> </template>

View file

@ -77,7 +77,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div style="text-align: center; font-weight: bold;">{{ i18n.ts._2fa.checkBackupCodesBeforeCloseThisWizard }}</div> <div style="text-align: center; font-weight: bold;">{{ i18n.ts._2fa.checkBackupCodesBeforeCloseThisWizard }}</div>
<MkFolder :defaultOpen="true"> <MkFolder :defaultOpen="true">
<template #icon><i class="ph-key ph-bold ph-lg"></i></template> <template #icon><i class="ti ti-key"></i></template>
<template #label>{{ i18n.ts._2fa.backupCodes }}</template> <template #label>{{ i18n.ts._2fa.backupCodes }}</template>
<div class="_gaps"> <div class="_gaps">

View file

@ -37,7 +37,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkFolder> </MkFolder>
<MkFolder> <MkFolder>
<template #icon><i class="ph-key ph-bold ph-lg"></i></template> <template #icon><i class="ti ti-key"></i></template>
<template #label>{{ i18n.ts.securityKeyAndPasskey }}</template> <template #label>{{ i18n.ts.securityKeyAndPasskey }}</template>
<div class="_gaps_s"> <div class="_gaps_s">
<MkInfo> <MkInfo>

View file

@ -104,6 +104,7 @@ export function getConfig(): UserConfig {
'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', 'ti ti-link': 'ph-link ph-bold ph-lg',
'ti ti-key': 'ph-key ph-bold ph-lg',
}, },
}), }),
...process.env.NODE_ENV === 'production' ...process.env.NODE_ENV === 'production'