diff options
| author | Hamidreza Ghavami <hamid.r.gh.1998@gmail.com> | 2023-05-08 17:54:44 +0300 |
|---|---|---|
| committer | Hamidreza Ghavami <hamid.r.gh.1998@gmail.com> | 2023-05-08 17:54:44 +0300 |
| commit | fc0882805d9d67aa04ba80d52214e211bb041652 (patch) | |
| tree | 02f3135f064d6fcc3a217df5ee0c1d1d5e897ce7 /web/html/login.html | |
| parent | f553922d5363fe63dd485f8cbaa7f56178a640cc (diff) | |
update UI to use password-input component
Diffstat (limited to 'web/html/login.html')
| -rw-r--r-- | web/html/login.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/web/html/login.html b/web/html/login.html index ae90e107..c6a6f085 100644 --- a/web/html/login.html +++ b/web/html/login.html @@ -64,14 +64,14 @@ </a-input> </a-form-item> <a-form-item> - <a-input type="password" v-model.trim="user.password" - placeholder='{{ i18n "password" }}' @keydown.enter.native="login"> - <a-icon slot="prefix" type="lock" :style="'font-size: 16px;' + themeSwitcher.textStyle" /> - </a-input> + <password-input icon="lock" v-model.trim="user.password" + placeholder='{{ i18n "password" }}' @keydown.enter.native="login"> + </password-input> </a-form-item> <a-form-item v-if="secretEnable"> - <a-input type="text" placeholder='{{ i18n "secretToken" }}' v-model.trim="user.loginSecret" @keydown.enter.native="login"> - <a-icon slot="prefix" type="key" :style="'font-size: 16px;' + themeSwitcher.textStyle" /> + <password-input icon="key" v-model.trim="user.loginSecret" + placeholder='{{ i18n "secretToken" }}' @keydown.enter.native="login"> + </password-input> </a-input> </a-form-item> <a-form-item> |
