Web Interface: more layout tweaks (#1044)

* Better styles for the classic upload form

* Fold Language into System Commands
This commit is contained in:
Daniel Markstedt 2022-12-20 19:02:13 -08:00 committed by GitHub
parent 439a078e9e
commit 91390a74cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 30 deletions

View File

@ -110,6 +110,7 @@ ul.inline_list {
.dropzone {
position: relative;
word-break: break-all;
}
.dropzone .dz-button {
@ -123,7 +124,7 @@ ul.inline_list {
.dropzone .dz-preview {
position: relative;
display: inline-block;
width: 120px;
width: 180px;
margin: .5em;
}
@ -149,17 +150,6 @@ ul.inline_list {
display: block;
}
.dropzone .dz-preview.dz-error .dz-error-mark {
display: block;
filter: drop-shadow(0px 0px 2px red);
opacity: 0;
}
.dropzone .dz-preview.dz-success .dz-success-mark {
display: block;
filter: drop-shadow(0px 0px 2px green);
}
.dropzone .dz-preview .dz-error-mark, .dropzone .dz-preview .dz-success-mark {
position: absolute;
display: none;

View File

@ -648,16 +648,18 @@
<hr/>
<section id="language">
<section id="system">
<details>
<summary class="heading">
{{ _("Language") }}
{{ _("System Operations") }}
</summary>
<ul>
<li>{{ _("Change the Web Interface language.") }}</li>
<li>{{ _("The System Name is the \"pretty\" hostname if set, with a fallback to the regular hostname.") }}</li>
<li>{{ _("IMPORTANT: Always shut down the system before turning off the power. Failing to do so may lead to data loss.") }}</li>
</ul>
</details>
<div>
<form action="/language" method="post">
<label for="locale">{{ _("Language:") }}</label>
<select name="locale" id="locale">
@ -673,21 +675,7 @@
</select>
<input type="submit" value="{{ _("Change Language") }}">
</form>
</section>
<hr/>
<section id="system">
<details>
<summary class="heading">
{{ _("System Operations") }}
</summary>
<ul>
<li>{{ _("The System Name is the \"pretty\" hostname if set, with a fallback to the regular hostname.") }}</li>
<li>{{ _("IMPORTANT: Always shut down the system before turning off the power. Failing to do so may lead to data loss.") }}</li>
</ul>
</details>
</div>
<div>
<form action="/sys/rename" method="post">
<label for="system_name">{{ _("System Name:") }}</label>