mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 12:15:43 +01:00
fix settings/email html&css
This commit is contained in:
parent
0a2068d7fb
commit
e43bd15b96
2 changed files with 13 additions and 8 deletions
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue