From 28e2064c86cfb9f35312417192f5b1395b16917c Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Mon, 10 Oct 2022 16:45:41 +0200 Subject: [proxy] when web UI's home page is accessed through plain HTTP, show link to TLS certs page and tell the user to install mitmproxy cert --- src/hydrilla/proxy/web_ui/templates/index.html.jinja | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (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 f05cf4a..e42f5e9 100644 --- a/src/hydrilla/proxy/web_ui/templates/index.html.jinja +++ b/src/hydrilla/proxy/web_ui/templates/index.html.jinja @@ -37,12 +37,24 @@ code in a proprietary work, I am not going to enforce this in court. {{ _('web_ui.home.heading.about_haketilo') }} -

- {{ _('web_ui.home.haketilo_is_blah_blah') }} +

+ {% if request.url.startswith('http://') %} +

+ {{ _('web_ui.home.heading.configuring_browser_for_haketilo') }} +

+ + + +
+ {% endif %} +

{{ _('web_ui.home.heading.options') }}

-- cgit v1.2.3