Merge pull request '[v7.0/forgejo] Port: Fix some UI problems (install) (gitea#30854)' (#3799) from bp-v7.0/forgejo-c16ae1a into v7.0/forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3799 Reviewed-by: Mai-Lapyst <mai-lapyst@noreply.codeberg.org>
This commit is contained in:
commit
f7e9db75c4
2 changed files with 8 additions and 7 deletions
|
@ -174,7 +174,7 @@
|
||||||
<div class="inline field {{if .Err_SMTPFrom}}error{{end}}">
|
<div class="inline field {{if .Err_SMTPFrom}}error{{end}}">
|
||||||
<label for="smtp_from">{{ctx.Locale.Tr "install.smtp_from"}}</label>
|
<label for="smtp_from">{{ctx.Locale.Tr "install.smtp_from"}}</label>
|
||||||
<input id="smtp_from" name="smtp_from" value="{{.smtp_from}}">
|
<input id="smtp_from" name="smtp_from" value="{{.smtp_from}}">
|
||||||
<span class="help">{{ctx.Locale.Tr "install.smtp_from_helper"}}</span>
|
<span class="help">{{ctx.Locale.TrString "install.smtp_from_helper"}}{{/* it contains lt/gt chars*/}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="inline field {{if .Err_SMTPUser}}error{{end}}">
|
<div class="inline field {{if .Err_SMTPUser}}error{{end}}">
|
||||||
<label for="smtp_user">{{ctx.Locale.Tr "install.mailer_user"}}</label>
|
<label for="smtp_user">{{ctx.Locale.Tr "install.mailer_user"}}</label>
|
||||||
|
@ -320,6 +320,8 @@
|
||||||
</div>
|
</div>
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<div class="divider"></div>
|
||||||
|
|
||||||
{{if .EnvConfigKeys}}
|
{{if .EnvConfigKeys}}
|
||||||
<!-- Environment Config -->
|
<!-- Environment Config -->
|
||||||
<h4 class="ui dividing header">{{ctx.Locale.Tr "install.env_config_keys"}}</h4>
|
<h4 class="ui dividing header">{{ctx.Locale.Tr "install.env_config_keys"}}</h4>
|
||||||
|
@ -333,12 +335,11 @@
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
<div class="divider"></div>
|
|
||||||
<div class="inline field">
|
<div class="inline field">
|
||||||
<div class="right-content">
|
<div class="right-content">
|
||||||
{{ctx.Locale.Tr "install.config_location_hint"}} {{.CustomConfFile}}
|
{{ctx.Locale.Tr "install.config_location_hint"}} {{.CustomConfFile}}
|
||||||
</div>
|
</div>
|
||||||
<div class="right-content tw-mt-2">
|
<div class="tw-mt-4 tw-mb-2 tw-text-center">
|
||||||
<button class="ui primary button">{{ctx.Locale.Tr "install.install_btn_confirm"}}</button>
|
<button class="ui primary button">{{ctx.Locale.Tr "install.install_btn_confirm"}}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -13,8 +13,7 @@
|
||||||
.page-content.install .ui.form .field > .help,
|
.page-content.install .ui.form .field > .help,
|
||||||
.page-content.install .ui.form .field > .ui.checkbox:first-child,
|
.page-content.install .ui.form .field > .ui.checkbox:first-child,
|
||||||
.page-content.install .ui.form .field > .right-content {
|
.page-content.install .ui.form .field > .right-content {
|
||||||
margin-left: 30%;
|
margin-left: calc(30% + 5px);
|
||||||
padding-left: 5px;
|
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,10 +23,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content.install form.ui.form details.optional.field[open] {
|
.page-content.install form.ui.form details.optional.field[open] {
|
||||||
border-bottom: 1px dashed var(--color-secondary);
|
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
.page-content.install form.ui.form details.optional.field[open]:not(:last-child) {
|
||||||
|
border-bottom: 1px dashed var(--color-secondary);
|
||||||
|
}
|
||||||
.page-content.install form.ui.form details.optional.field[open] summary {
|
.page-content.install form.ui.form details.optional.field[open] summary {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue