mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-26 18:33:09 +02:00
parent
15cd563612
commit
7a66c9b5f3
1 changed files with 19 additions and 6 deletions
|
@ -7,21 +7,21 @@
|
||||||
>
|
>
|
||||||
<template #header>{{ $ts.forgotPassword }}</template>
|
<template #header>{{ $ts.forgotPassword }}</template>
|
||||||
|
|
||||||
<form class="_monolithic_" @submit.prevent="onSubmit" v-if="$instance.enableEmail">
|
<form class="bafeceda" @submit.prevent="onSubmit" v-if="$instance.enableEmail">
|
||||||
<div class="_section">
|
<div class="main _formRoot">
|
||||||
<MkInput v-model="username" type="text" pattern="^[a-zA-Z0-9_]+$" spellcheck="false" autofocus required>
|
<MkInput class="_formBlock" v-model="username" type="text" pattern="^[a-zA-Z0-9_]+$" spellcheck="false" autofocus required>
|
||||||
<template #label>{{ $ts.username }}</template>
|
<template #label>{{ $ts.username }}</template>
|
||||||
<template #prefix>@</template>
|
<template #prefix>@</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
||||||
<MkInput v-model="email" type="email" spellcheck="false" required>
|
<MkInput class="_formBlock" v-model="email" type="email" spellcheck="false" required>
|
||||||
<template #label>{{ $ts.emailAddress }}</template>
|
<template #label>{{ $ts.emailAddress }}</template>
|
||||||
<template #caption>{{ $ts._forgotPassword.enterEmail }}</template>
|
<template #caption>{{ $ts._forgotPassword.enterEmail }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
||||||
<MkButton type="submit" :disabled="processing" primary style="margin: 0 auto;">{{ $ts.send }}</MkButton>
|
<MkButton class="_formBlock" type="submit" :disabled="processing" primary style="margin: 0 auto;">{{ $ts.send }}</MkButton>
|
||||||
</div>
|
</div>
|
||||||
<div class="_section">
|
<div class="sub">
|
||||||
<MkA to="/about" class="_link">{{ $ts._forgotPassword.ifNoEmail }}</MkA>
|
<MkA to="/about" class="_link">{{ $ts._forgotPassword.ifNoEmail }}</MkA>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
@ -69,3 +69,16 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.bafeceda {
|
||||||
|
> .main {
|
||||||
|
padding: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
> .sub {
|
||||||
|
border-top: solid 0.5px var(--divider);
|
||||||
|
padding: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue