diff options
author | Alexey Makhov <makhov.alex@gmail.com> | 2015-02-03 10:32:55 +0300 |
---|---|---|
committer | Alexey Makhov <makhov.alex@gmail.com> | 2015-02-03 10:32:55 +0300 |
commit | e43bd15b968523ec86dba143b9634397f2d8bc40 (patch) | |
tree | 0cf9104d571e6ec54e4c566b6211804b74d156c8 | |
parent | 0a2068d7fbd447de1135d3b16e9f26de5dd18d56 (diff) | |
download | gitea-e43bd15b968523ec86dba143b9634397f2d8bc40.tar.gz gitea-e43bd15b968523ec86dba143b9634397f2d8bc40.zip |
fix settings/email html&css
-rw-r--r-- | public/ng/css/gogs.css | 5 | ||||
-rw-r--r-- | templates/user/settings/email.tmpl | 16 |
2 files changed, 13 insertions, 8 deletions
diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css index 12ae89ed4b..653b4dc934 100644 --- a/public/ng/css/gogs.css +++ b/public/ng/css/gogs.css @@ -1761,6 +1761,7 @@ The register and sign-in page style #org-setting-form, #repo-setting-form, #user-profile-form, +#add-email-form, .repo-setting-form { background-color: #FFF; padding: 30px 0; @@ -1789,6 +1790,7 @@ The register and sign-in page style #org-setting-form .ipt, #repo-setting-form .ipt, #user-profile-form .ipt, +#add-email-form .ipt, .repo-setting-form .ipt { width: 360px; } @@ -1819,7 +1821,7 @@ The register and sign-in page style #repo-hooks-panel .setting-list, #repo-hooks-history-panel .setting-list, #user-social-panel .setting-list, -#user-applications-panel .setting-list, +#user-applications-panel .setting-list, #user-ssh-panel .setting-list { background-color: #FFF; } @@ -1827,6 +1829,7 @@ The register and sign-in page style #repo-hooks-history-panel .setting-list li, #user-social-panel .setting-list li, #user-applications-panel .setting-list li, +#user-email-panel .setting-list li, #user-ssh-panel .setting-list li { padding: 8px 20px; border-bottom: 1px solid #eaeaea; diff --git a/templates/user/settings/email.tmpl b/templates/user/settings/email.tmpl index fc8bcbbcf9..c5dfbeb7e1 100644 --- a/templates/user/settings/email.tmpl +++ b/templates/user/settings/email.tmpl @@ -36,19 +36,21 @@ {{end}} </li> {{end}} - <form action="{{AppSubUrl}}/user/settings/email" method="post"> - {{.CsrfTokenHtml}} - <p class="panel-header"><strong>{{.i18n.Tr "settings.add_new_email"}}</strong></p> - <p class="field"> + </ul> + <div class="panel-header"> + <strong>{{.i18n.Tr "settings.add_new_email"}}</strong> + </div> + <form class="form form-align panel-body" id="add-email-form" action="{{AppSubUrl}}/user/settings/email" method="post"> + {{.CsrfTokenHtml}} + <p class="field"> <label class="req" for="email">{{.i18n.Tr "email"}}</label> - <input class="ipt ipt-radius" id="email" name="email" type="text" required /> + <input class="ipt ipt-large ipt-radius" id="email" name="email" type="text" required /> </p> <p class="field"> <label></label> <button class="btn btn-green btn-radius" id="email-add-btn">{{.i18n.Tr "settings.add_email"}}</button> </p> - </form> - </ul> + </form> </div> </div> </div> |