mirror of
https://github.com/akuker/RASCSI.git
synced 2025-01-03 01:33:14 +00:00
Web Interface: more layout tweaks (#1044)
* Better styles for the classic upload form * Fold Language into System Commands
This commit is contained in:
parent
439a078e9e
commit
91390a74cb
@ -110,6 +110,7 @@ ul.inline_list {
|
|||||||
|
|
||||||
.dropzone {
|
.dropzone {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropzone .dz-button {
|
.dropzone .dz-button {
|
||||||
@ -123,7 +124,7 @@ ul.inline_list {
|
|||||||
.dropzone .dz-preview {
|
.dropzone .dz-preview {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 120px;
|
width: 180px;
|
||||||
margin: .5em;
|
margin: .5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -149,17 +150,6 @@ ul.inline_list {
|
|||||||
display: block;
|
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 {
|
.dropzone .dz-preview .dz-error-mark, .dropzone .dz-preview .dz-success-mark {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -648,16 +648,18 @@
|
|||||||
|
|
||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
<section id="language">
|
<section id="system">
|
||||||
<details>
|
<details>
|
||||||
<summary class="heading">
|
<summary class="heading">
|
||||||
{{ _("Language") }}
|
{{ _("System Operations") }}
|
||||||
</summary>
|
</summary>
|
||||||
<ul>
|
<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>
|
</ul>
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<div>
|
||||||
<form action="/language" method="post">
|
<form action="/language" method="post">
|
||||||
<label for="locale">{{ _("Language:") }}</label>
|
<label for="locale">{{ _("Language:") }}</label>
|
||||||
<select name="locale" id="locale">
|
<select name="locale" id="locale">
|
||||||
@ -673,21 +675,7 @@
|
|||||||
</select>
|
</select>
|
||||||
<input type="submit" value="{{ _("Change Language") }}">
|
<input type="submit" value="{{ _("Change Language") }}">
|
||||||
</form>
|
</form>
|
||||||
</section>
|
</div>
|
||||||
|
|
||||||
<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">
|
<form action="/sys/rename" method="post">
|
||||||
<label for="system_name">{{ _("System Name:") }}</label>
|
<label for="system_name">{{ _("System Name:") }}</label>
|
||||||
|
Loading…
Reference in New Issue
Block a user