From b0fcc865599cfdc87e2ca8a637df8f5b336bb459 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Thu, 29 Sep 2022 10:43:45 +0200 Subject: [proxy] make uniform use of section labels in the web UI --- src/hydrilla/proxy/web_ui/templates/index.html.jinja | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/hydrilla/proxy/web_ui/templates/index.html.jinja') diff --git a/src/hydrilla/proxy/web_ui/templates/index.html.jinja b/src/hydrilla/proxy/web_ui/templates/index.html.jinja index ce77b24..f05cf4a 100644 --- a/src/hydrilla/proxy/web_ui/templates/index.html.jinja +++ b/src/hydrilla/proxy/web_ui/templates/index.html.jinja @@ -47,6 +47,8 @@ code in a proprietary work, I am not going to enforce this in court. {{ _('web_ui.home.heading.options') }} + {{ label(_('web_ui.home.mapping_usage_mode_label')) }} + {% set use_enabled_but_classes = ['green-button'] %} {% set use_auto_but_classes = ['green-button'] %} {% set use_question_but_classes = ['green-button'] %} @@ -81,6 +83,8 @@ code in a proprietary work, I am not going to enforce this in court.
+ {{ label(_('web_ui.home.script_blocking_mode_label')) }} + {% set allow_but_classes = ['red-button'] %} {% set block_but_classes = ['blue-button'] %} @@ -106,6 +110,8 @@ code in a proprietary work, I am not going to enforce this in court.
+ {{ label(_('web_ui.home.advanced_features_label')) }} + {% set advanced_user_but_classes = ['red-button'] %} {% set simple_user_but_classes = ['blue-button'] %} @@ -133,6 +139,8 @@ code in a proprietary work, I am not going to enforce this in court. {% if orphan_item_stats.mappings > 0 or orphan_item_stats.resources > 0 %}
+ {{ label(_('web_ui.home.orphans_label')) }} +

{% if settings.advanced_user %} {% if orphan_item_stats.mappings > 0 %} -- cgit v1.2.3