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;
} }
@ -1819,7 +1821,7 @@ The register and sign-in page style
#repo-hooks-panel .setting-list, #repo-hooks-panel .setting-list,
#repo-hooks-history-panel .setting-list, #repo-hooks-history-panel .setting-list,
#user-social-panel .setting-list, #user-social-panel .setting-list,
#user-applications-panel .setting-list, #user-applications-panel .setting-list,
#user-ssh-panel .setting-list { #user-ssh-panel .setting-list {
background-color: #FFF; background-color: #FFF;
} }
@ -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>
{{.CsrfTokenHtml}} <div class="panel-header">
<p class="panel-header"><strong>{{.i18n.Tr "settings.add_new_email"}}</strong></p> <strong>{{.i18n.Tr "settings.add_new_email"}}</strong>
<p class="field"> </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> <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>