summaryrefslogtreecommitdiffstats
path: root/core/src/components
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2020-03-28 21:36:16 +0100
committernpmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>2020-04-01 11:38:01 +0000
commit531b1288e44380a4987f4e656f17d22822767b47 (patch)
tree91265eff4fc86ef5459a21c31b24f6ee12566c10 /core/src/components
parent32577f2f574ccce141143e773c6aaa0f7ad0f57b (diff)
downloadnextcloud-server-531b1288e44380a4987f4e656f17d22822767b47.tar.gz
nextcloud-server-531b1288e44380a4987f4e656f17d22822767b47.zip
Add fieldset to align arrow
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'core/src/components')
-rw-r--r--core/src/components/login/ResetPassword.vue96
1 files changed, 49 insertions, 47 deletions
diff --git a/core/src/components/login/ResetPassword.vue b/core/src/components/login/ResetPassword.vue
index 2d045692285..bf23bbe5aa4 100644
--- a/core/src/components/login/ResetPassword.vue
+++ b/core/src/components/login/ResetPassword.vue
@@ -21,54 +21,56 @@
<template>
<form @submit.prevent="submit">
- <p>
- <input id="user"
- v-model="user"
- type="text"
- name="user"
- :placeholder="t('core', 'Username or email')"
- :aria-label="t('core', 'Username or email')"
- required
- @change="updateUsername">
- <!--<?php p($_['user_autofocus'] ? 'autofocus' : ''); ?>
- autocomplete="<?php p($_['login_form_autocomplete']); ?>" autocapitalize="none" autocorrect="off"-->
- <label for="user" class="infield">{{ t('core', 'Username or email') }}</label>
- </p>
- <div id="reset-password-wrapper">
- <input id="reset-password-submit"
- type="submit"
- class="login primary"
- title=""
- :value="t('core', 'Reset password')">
- <div class="submit-icon"
- :class="{
- 'icon-confirm-white': !loading,
- 'icon-loading-small': loading && invertedColors,
- 'icon-loading-small-dark': loading && !invertedColors,
- }" />
- </div>
- <p v-if="message === 'send-success'"
- class="update">
- {{ t('core', 'A password reset message has been sent to the e-mail address of this account. If you do not receive it, check your spam/junk folders or ask your local administrator for help.') }}
- <br>
- {{ t('core', 'If it is not there ask your local administrator.') }}
- </p>
- <p v-else-if="message === 'send-error'"
- class="update warning">
- {{ t('core', 'Couldn\'t send reset email. Please contact your administrator.') }}
- </p>
- <p v-else-if="message === 'reset-error'"
- class="update warning">
- {{ t('core', 'Password can not be changed. Please contact your administrator.') }}
- </p>
- <p v-else-if="message"
- class="update"
- :class="{warning: error}" />
+ <fieldset>
+ <p>
+ <input id="user"
+ v-model="user"
+ type="text"
+ name="user"
+ :placeholder="t('core', 'Username or email')"
+ :aria-label="t('core', 'Username or email')"
+ required
+ @change="updateUsername">
+ <!--<?php p($_['user_autofocus'] ? 'autofocus' : ''); ?>
+ autocomplete="<?php p($_['login_form_autocomplete']); ?>" autocapitalize="none" autocorrect="off"-->
+ <label for="user" class="infield">{{ t('core', 'Username or email') }}</label>
+ </p>
+ <div id="reset-password-wrapper">
+ <input id="reset-password-submit"
+ type="submit"
+ class="login primary"
+ title=""
+ :value="t('core', 'Reset password')">
+ <div class="submit-icon"
+ :class="{
+ 'icon-confirm-white': !loading,
+ 'icon-loading-small': loading && invertedColors,
+ 'icon-loading-small-dark': loading && !invertedColors,
+ }" />
+ </div>
+ <p v-if="message === 'send-success'"
+ class="update">
+ {{ t('core', 'A password reset message has been sent to the e-mail address of this account. If you do not receive it, check your spam/junk folders or ask your local administrator for help.') }}
+ <br>
+ {{ t('core', 'If it is not there ask your local administrator.') }}
+ </p>
+ <p v-else-if="message === 'send-error'"
+ class="update warning">
+ {{ t('core', 'Couldn\'t send reset email. Please contact your administrator.') }}
+ </p>
+ <p v-else-if="message === 'reset-error'"
+ class="update warning">
+ {{ t('core', 'Password can not be changed. Please contact your administrator.') }}
+ </p>
+ <p v-else-if="message"
+ class="update"
+ :class="{warning: error}" />
- <a href="#"
- @click.prevent="$emit('abort')">
- {{ t('core', 'Back to login') }}
- </a>
+ <a href="#"
+ @click.prevent="$emit('abort')">
+ {{ t('core', 'Back to login') }}
+ </a>
+ </fieldset>
</form>
</template>