diff --git a/python/web/src/static/themes/classic/style.css b/python/web/src/static/themes/classic/style.css index 1399a6a7..23b4ab88 100644 --- a/python/web/src/static/themes/classic/style.css +++ b/python/web/src/static/themes/classic/style.css @@ -104,6 +104,15 @@ ul.inline_list { list-style: none; } +summary.dirname { + text-decoration: underline; + font-family: monospace; +} + +summary.filename { + text-decoration: underline; +} + .dropzone, .dropzone * { box-sizing: border-box; } diff --git a/python/web/src/static/themes/modern/style.css b/python/web/src/static/themes/modern/style.css index f7fb707d..361f5bed 100644 --- a/python/web/src/static/themes/modern/style.css +++ b/python/web/src/static/themes/modern/style.css @@ -53,7 +53,7 @@ input[type="radio"] { margin: 0 0.1rem 0 0.75rem; } -div.noscriptmsg { +div.notice { background: var(--danger); border-radius: var(--border-radius); padding: 0.5rem; @@ -717,6 +717,16 @@ section#files p { margin-top: 1rem; } +section#files details.subdir summary.dirname { + text-decoration: underline; + font-family: monospace; + margin: 0.5rem 0; +} + +section#files details.contents summary.filename { + text-decoration: underline; +} + @media (max-width: 900px) { section#files table#images tr th:nth-child(2), section#files table#images tr td:nth-child(2) { diff --git a/python/web/src/templates/index.html b/python/web/src/templates/index.html index d6aa285f..ae4e4dc2 100644 --- a/python/web/src/templates/index.html +++ b/python/web/src/templates/index.html @@ -209,6 +209,19 @@ +{% if not files|length: %} +
{{ _("Size") }} | {{ _("Actions") }} | |
---|---|---|
- {{ _("The images directory is currently empty.") }} - | -||
-
-
+ {{ file["name"] }}
|
{% elif file["archive_contents"] %}
-
-
+ {{ file["name"] }}
|
{{ _("%(disk_space)s MiB disk space remaining on the system", disk_space=env["free_disk_space"]) }}
@@ -396,7 +408,7 @@ -