mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-31 13:34:12 +00:00 
			
		
		
		
	replaced ti-key
This commit is contained in:
		
							parent
							
								
									bc0fbca65e
								
							
						
					
					
						commit
						2f4a9010c9
					
				
					 10 changed files with 22 additions and 21 deletions
				
			
		|  | @ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only | |||
| 		<form class="_gaps_m" autocomplete="new-password" @submit.prevent="onSubmit"> | ||||
| 			<MkInput v-if="instance.disableRegistration" v-model="invitationCode" type="text" :spellcheck="false" required> | ||||
| 				<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 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> | ||||
|  |  | |||
|  | @ -83,7 +83,7 @@ SPDX-License-Identifier: AGPL-3.0-only | |||
| 						<MkSwitch v-model="markedAsNSFW" @update:modelValue="toggleNSFW">{{ i18n.ts.markAsNSFW }}</MkSwitch> | ||||
| 
 | ||||
| 						<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> | ||||
| 
 | ||||
| 						<MkFolder> | ||||
|  |  | |||
|  | @ -17,11 +17,11 @@ SPDX-License-Identifier: AGPL-3.0-only | |||
| 
 | ||||
| 			<template v-if="provider === 'hcaptcha'"> | ||||
| 				<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> | ||||
| 				</MkInput> | ||||
| 				<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> | ||||
| 				</MkInput> | ||||
| 				<FormSlot> | ||||
|  | @ -31,11 +31,11 @@ SPDX-License-Identifier: AGPL-3.0-only | |||
| 			</template> | ||||
| 			<template v-else-if="provider === 'mcaptcha'"> | ||||
| 				<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> | ||||
| 				</MkInput> | ||||
| 				<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> | ||||
| 				</MkInput> | ||||
| 				<MkInput v-model="mcaptchaInstanceUrl"> | ||||
|  | @ -49,11 +49,11 @@ SPDX-License-Identifier: AGPL-3.0-only | |||
| 			</template> | ||||
| 			<template v-else-if="provider === 'recaptcha'"> | ||||
| 				<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> | ||||
| 				</MkInput> | ||||
| 				<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> | ||||
| 				</MkInput> | ||||
| 				<FormSlot v-if="recaptchaSiteKey"> | ||||
|  | @ -63,11 +63,11 @@ SPDX-License-Identifier: AGPL-3.0-only | |||
| 			</template> | ||||
| 			<template v-else-if="provider === 'turnstile'"> | ||||
| 				<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> | ||||
| 				</MkInput> | ||||
| 				<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> | ||||
| 				</MkInput> | ||||
| 				<FormSlot> | ||||
|  |  | |||
|  | @ -13,7 +13,7 @@ SPDX-License-Identifier: AGPL-3.0-only | |||
| 
 | ||||
| 				<div class="_gaps_m"> | ||||
| 					<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> | ||||
| 					</MkInput> | ||||
| 					<MkSwitch v-model="deeplIsPro"> | ||||
|  |  | |||
|  | @ -40,12 +40,12 @@ SPDX-License-Identifier: AGPL-3.0-only | |||
| 
 | ||||
| 					<FormSplit :minWidth="280"> | ||||
| 						<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> | ||||
| 						</MkInput> | ||||
| 
 | ||||
| 						<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> | ||||
| 						</MkInput> | ||||
| 					</FormSplit> | ||||
|  |  | |||
|  | @ -35,18 +35,18 @@ SPDX-License-Identifier: AGPL-3.0-only | |||
| 							<template #label>Use Verifymail.io API</template> | ||||
| 						</MkSwitch> | ||||
| 						<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> | ||||
| 						</MkInput> | ||||
| 						<MkSwitch v-model="enableTruemailApi"> | ||||
| 							<template #label>Use TrueMail API</template> | ||||
| 						</MkSwitch> | ||||
| 						<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> | ||||
| 						</MkInput> | ||||
| 						<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> | ||||
| 						</MkInput> | ||||
| 						<MkButton primary @click="save"><i class="ti ti-device-floppy"></i> {{ i18n.ts.save }}</MkButton> | ||||
|  |  | |||
|  | @ -46,7 +46,7 @@ SPDX-License-Identifier: AGPL-3.0-only | |||
| 
 | ||||
| 					<MkInput v-model="impressumUrl" type="url"> | ||||
| 						<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> | ||||
| 					</MkInput> | ||||
| 
 | ||||
|  | @ -89,12 +89,12 @@ SPDX-License-Identifier: AGPL-3.0-only | |||
| 
 | ||||
| 							<template v-if="enableServiceWorker"> | ||||
| 								<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> | ||||
| 								</MkInput> | ||||
| 
 | ||||
| 								<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> | ||||
| 								</MkInput> | ||||
| 							</template> | ||||
|  |  | |||
|  | @ -77,7 +77,7 @@ SPDX-License-Identifier: AGPL-3.0-only | |||
| 							<div style="text-align: center; font-weight: bold;">{{ i18n.ts._2fa.checkBackupCodesBeforeCloseThisWizard }}</div> | ||||
| 
 | ||||
| 							<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> | ||||
| 
 | ||||
| 								<div class="_gaps"> | ||||
|  |  | |||
|  | @ -37,7 +37,7 @@ SPDX-License-Identifier: AGPL-3.0-only | |||
| 		</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> | ||||
| 			<div class="_gaps_s"> | ||||
| 				<MkInfo> | ||||
|  |  | |||
|  | @ -104,6 +104,7 @@ export function getConfig(): UserConfig { | |||
| 					'ti ti-arrow-left': 'ph-arrow-left ph-bold ph-lg', | ||||
| 					'ti ti-settings': 'ph-gear 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' | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue