File tree 5 files changed +14
-26
lines changed 5 files changed +14
-26
lines changed Original file line number Diff line number Diff line change @@ -2958,6 +2958,7 @@ config.mailer_sendmail_timeout = Sendmail Timeout
2958
2958
config.mailer_use_dummy = Dummy
2959
2959
config.test_email_placeholder = Email (e.g. [email protected] )
2960
2960
config.send_test_mail = Send Testing Email
2961
+ config.send_test_mail_submit = Send
2961
2962
config.test_mail_failed = Failed to send a testing email to " %s" : %v
2962
2963
config.test_mail_sent = A testing email has been sent to " %s" .
2963
2964
Original file line number Diff line number Diff line change 238
238
<dd>{{.Mailer.SMTPPort}}</dd>
239
239
{{end}}
240
240
<dt>{{.locale.Tr "admin.config.mailer_user"}}</dt>
241
- <dd>{{if .Mailer.User}}{{.Mailer.User}}{{else}}(empty){{end}}</dd><br>
242
- <form class="ui form ignore-dirty" action="{{AppSubUrl}}/admin/config/test_mail" method="post">
243
- {{.CsrfTokenHtml}}
244
- <div class="inline field ui left">
245
- <div class="ui input">
241
+ <dd>{{if .Mailer.User}}{{.Mailer.User}}{{else}}(empty){{end}}</dd>
242
+ <div class="ui divider"></div>
243
+ <dt class="gt-py-2">{{.locale.Tr "admin.config.send_test_mail"}}</dt>
244
+ <dd>
245
+ <form class="ui form ignore-dirty" action="{{AppSubUrl}}/admin/config/test_mail" method="post">
246
+ {{.CsrfTokenHtml}}
247
+ <div class="ui tiny input">
246
248
<input type="email" name="email" placeholder="{{.locale.Tr "admin.config.test_email_placeholder"}}" size="29" required>
247
249
</div>
248
- </div >
249
- <button class="ui green button" id="test-mail-btn">{{.locale.Tr "admin.config.send_test_mail"}}</button >
250
- </form >
250
+ <button class="ui tiny green button">{{.locale.Tr "admin.config.send_test_mail_submit"}}</button >
251
+ </form >
252
+ </dd >
251
253
{{end}}
252
254
</dl>
253
255
</div>
Original file line number Diff line number Diff line change 18
18
{{if .search}}
19
19
<div class="ui attached segment settings">
20
20
{{if .Dirs}}
21
- <div class="ui middle aligned divided list">
21
+ <div class="ui aligned divided list">
22
22
{{range $dirI, $dir := .Dirs}}
23
23
<div class="item">
24
24
<div class="content">
Original file line number Diff line number Diff line change 1
1
<h4 class="ui top attached header">
2
2
{{.Title}}
3
3
<div class="ui right">
4
- <div class="ui floating1 jump dropdown">
4
+ <div class="ui jump dropdown">
5
5
<div class="ui primary tiny button">{{.locale.Tr "repo.settings.add_webhook"}}</div>
6
6
<div class="menu">
7
7
<a class="item" href="{{.BaseLinkNew}}/gitea/new">
Original file line number Diff line number Diff line change 4
4
margin : 12px -1rem -1rem ;
5
5
}
6
6
7
- .admin .settings .button .adopt ,
8
- .admin .settings .button .delete {
9
- margin-top : -15px ;
10
- margin-bottom : -15px ;
11
- }
12
-
13
- .admin .settings .button .adopt .label ,
14
- .admin .settings .button .delete .label {
15
- vertical-align : middle;
16
- }
17
-
18
- .admin .user .email {
7
+ .admin .user table .table .email {
19
8
max-width : 200px ;
20
9
}
21
10
51
40
}
52
41
}
53
42
54
- .admin .config # test-mail-btn {
55
- margin-left : 5px ;
56
- }
57
-
58
43
.admin code ,
59
44
.admin pre {
60
45
white-space : pre-wrap;
You can’t perform that action at this time.
0 commit comments