From 04853ff19450c5925a7c9bacc11abe90e75f8510 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Mon, 5 Sep 2022 13:58:34 +0200 Subject: [proxy] complete the text content and styling of web UI pages written so far --- .../templates/items/load_from_disk.html.jinja | 39 ++++++++++++++++------ 1 file changed, 29 insertions(+), 10 deletions(-) (limited to 'src/hydrilla/proxy/web_ui/templates/items/load_from_disk.html.jinja') diff --git a/src/hydrilla/proxy/web_ui/templates/items/load_from_disk.html.jinja b/src/hydrilla/proxy/web_ui/templates/items/load_from_disk.html.jinja index 84ade45..30179dd 100644 --- a/src/hydrilla/proxy/web_ui/templates/items/load_from_disk.html.jinja +++ b/src/hydrilla/proxy/web_ui/templates/items/load_from_disk.html.jinja @@ -19,7 +19,9 @@ file's licenses. Although I request that you do not make use this code in a proprietary work, I am not going to enforce this in court. #} {% extends "base.html.jinja" %} + {% block title %} {{ _('web_ui.load_from_disk.title') }} {% endblock %} + {% block style %} {{ super() }} @@ -27,20 +29,37 @@ in a proprietary work, I am not going to enforce this in court. input[type="file"]::file-selector-button { display: none; } + + input[type="file"] { + display: block; + font-size: inherit; + font-style: inherit; + } {% endblock %} + {% block main %}

{{ _('web_ui.load_from_disk.heading') }}

+
-
- -
-
- -
-
+ {% if uploaded_file_not_zip is defined %} + {{ error_note(_('web_ui.err.uploaded_file_not_zip')) }} + {% endif %} + + {% if invalid_uploaded_malcontent is defined %} + {{ error_note(_('web_ui.err.invalid_uploaded_malcontent')) }} + {% endif %} + + + + + +
+ +
-- cgit v1.2.3