diff options
author | Shaun <shaun.dowling@gmail.com> | 2017-11-13 07:21:41 +0000 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-11-13 09:21:41 +0200 |
commit | 4725f915433703335d8f7f162e6dbc97afe5115f (patch) | |
tree | 9ab5a45c153f128e28bc456a6805323a39609ea3 /templates | |
parent | f26f4a7e01f9c380c261fa5bc21bd7e48f2f2f9f (diff) | |
download | gitea-4725f915433703335d8f7f162e6dbc97afe5115f.tar.gz gitea-4725f915433703335d8f7f162e6dbc97afe5115f.zip |
Fix inconsistencies in user settings ui (#2901)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/user/settings/delete.tmpl | 10 | ||||
-rw-r--r-- | templates/user/settings/openid.tmpl | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/templates/user/settings/delete.tmpl b/templates/user/settings/delete.tmpl index 933f383a47..77ddda837b 100644 --- a/templates/user/settings/delete.tmpl +++ b/templates/user/settings/delete.tmpl @@ -13,14 +13,14 @@ <form class="ui form" id="delete-form" action="{{.Link}}" method="post"> {{.CsrfTokenHtml}} <input class="fake" type="password"> - <div class="inline required field {{if .Err_Password}}error{{end}}"> + <div class="required field {{if .Err_Password}}error{{end}}"> <label for="password">{{.i18n.Tr "password"}}</label> <input id="password" name="password" type="password" autofocus required> </div> - <div class="ui red button delete-button" data-type="form" data-form="#delete-form"> - {{.i18n.Tr "settings.confirm_delete_account"}} - </div> - <div> + <div class="field"> + <div class="ui red button delete-button" data-type="form" data-form="#delete-form"> + {{.i18n.Tr "settings.confirm_delete_account"}} + </div> <a href="{{AppSubUrl}}/user/forgot_password?email={{.Email}}">{{.i18n.Tr "auth.forgot_password"}}</a> </div> </form> diff --git a/templates/user/settings/openid.tmpl b/templates/user/settings/openid.tmpl index 1a73bf5545..6ae4a8dee8 100644 --- a/templates/user/settings/openid.tmpl +++ b/templates/user/settings/openid.tmpl @@ -48,7 +48,7 @@ {{.CsrfTokenHtml}} <div class="required field {{if .Err_OpenID}}error{{end}}"> <label for="openid">{{.i18n.Tr "settings.add_new_openid"}}</label> - <input id="openid" name="openid" type="openid" autofocus required> + <input id="openid" name="openid" type="text" autofocus required> </div> <button class="ui green button"> {{.i18n.Tr "settings.add_openid"}} |