fix settings/email html&css

This commit is contained in:
Alexey Makhov 2015-02-03 10:32:55 +03:00
parent 0a2068d7fb
commit e43bd15b96
2 changed files with 13 additions and 8 deletions

View file

@ -1761,6 +1761,7 @@ The register and sign-in page style
#org-setting-form, #org-setting-form,
#repo-setting-form, #repo-setting-form,
#user-profile-form, #user-profile-form,
#add-email-form,
.repo-setting-form { .repo-setting-form {
background-color: #FFF; background-color: #FFF;
padding: 30px 0; padding: 30px 0;
@ -1789,6 +1790,7 @@ The register and sign-in page style
#org-setting-form .ipt, #org-setting-form .ipt,
#repo-setting-form .ipt, #repo-setting-form .ipt,
#user-profile-form .ipt, #user-profile-form .ipt,
#add-email-form .ipt,
.repo-setting-form .ipt { .repo-setting-form .ipt {
width: 360px; width: 360px;
} }
@ -1827,6 +1829,7 @@ The register and sign-in page style
#repo-hooks-history-panel .setting-list li, #repo-hooks-history-panel .setting-list li,
#user-social-panel .setting-list li, #user-social-panel .setting-list li,
#user-applications-panel .setting-list li, #user-applications-panel .setting-list li,
#user-email-panel .setting-list li,
#user-ssh-panel .setting-list li { #user-ssh-panel .setting-list li {
padding: 8px 20px; padding: 8px 20px;
border-bottom: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea;

View file

@ -36,19 +36,21 @@
{{end}} {{end}}
</li> </li>
{{end}} {{end}}
<form action="{{AppSubUrl}}/user/settings/email" method="post"> </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}} {{.CsrfTokenHtml}}
<p class="panel-header"><strong>{{.i18n.Tr "settings.add_new_email"}}</strong></p>
<p class="field"> <p class="field">
<label class="req" for="email">{{.i18n.Tr "email"}}</label> <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>
<p class="field"> <p class="field">
<label></label> <label></label>
<button class="btn btn-green btn-radius" id="email-add-btn">{{.i18n.Tr "settings.add_email"}}</button> <button class="btn btn-green btn-radius" id="email-add-btn">{{.i18n.Tr "settings.add_email"}}</button>
</p> </p>
</form> </form>
</ul>
</div> </div>
</div> </div>
</div> </div>