aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/web_ui/templates/index.html.jinja
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-11-23 19:25:09 +0100
committerWojtek Kosior <koszko@koszko.org>2022-11-23 19:25:09 +0100
commit8dcaf666fb9f29a155d39f0dc3a3b6e2ea7407ba (patch)
treea1e547af599d9bad05f2e0b19f04a9b90032ad47 /src/hydrilla/proxy/web_ui/templates/index.html.jinja
parent9b01180ec981d6d0ffd7b0e84a3ddbb0a2cf1ecc (diff)
downloadhaketilo-hydrilla-8dcaf666fb9f29a155d39f0dc3a3b6e2ea7407ba.tar.gz
haketilo-hydrilla-8dcaf666fb9f29a155d39f0dc3a3b6e2ea7407ba.zip
facilitate manual package updates after repository refreshals
Diffstat (limited to 'src/hydrilla/proxy/web_ui/templates/index.html.jinja')
-rw-r--r--src/hydrilla/proxy/web_ui/templates/index.html.jinja26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/hydrilla/proxy/web_ui/templates/index.html.jinja b/src/hydrilla/proxy/web_ui/templates/index.html.jinja
index fe9c5d5..d6a47f0 100644
--- a/src/hydrilla/proxy/web_ui/templates/index.html.jinja
+++ b/src/hydrilla/proxy/web_ui/templates/index.html.jinja
@@ -31,6 +31,14 @@ code in a proprietary work, I am not going to enforce this in court.
{% import 'import/checkbox_tricks.html.jinja' as tricks %}
{% block main %}
+ {% if file_installation_error is defined %}
+ {{ error_note(_('web_ui.err.file_installation_error')) }}
+ {% endif %}
+
+ {% if impossible_situation_error is defined %}
+ {{ error_note(_('web_ui.err.impossible_situation_error')) }}
+ {% endif %}
+
<h3>
{{ _('web_ui.home.heading.welcome_to_haketilo') }}
</h3>
@@ -187,6 +195,24 @@ code in a proprietary work, I am not going to enforce this in court.
])
}}
+ {% if settings.update_waiting %}
+ <div class="horizontal-separator"></div>
+
+ {{ label(_('web_ui.home.update_waiting_label')) }}
+
+ <p>
+ {{ _('web_ui.home.update_is_awaiting') }}
+ </p>
+
+ {% set update_but_text = _('web_ui.home.update_items_button') %}
+
+ {{
+ button_row([
+ (['green-button'], update_but_text, {'action': 'upate_all_items'})
+ ])
+ }}
+ {% endif %}
+
{% if orphan_item_stats.mappings > 0 or orphan_item_stats.resources > 0 %}
<div class="horizontal-separator"></div>