From 39faab3d1164df38d84101013ea43dedc264e8f5 Mon Sep 17 00:00:00 2001 From: Tobias O Date: Thu, 13 Nov 2025 09:11:32 +1300 Subject: [PATCH] [Fix] Add extra styles to make show login form (#203) FIx display on the login page Reviewed-on: https://git.envipath.com/enviPath/enviPy/pulls/203 Co-authored-by: Tobias O Co-committed-by: Tobias O --- templates/static/login.html | 31 +++++++++++++++++++++++++------ templates/static/login_base.html | 2 ++ 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/templates/static/login.html b/templates/static/login.html index f1675311..c4ef438c 100644 --- a/templates/static/login.html +++ b/templates/static/login.html @@ -3,12 +3,31 @@ {% block title %}enviPath - Sign In{% endblock %} {% block extra_styles %} - /* Tab styling */ .tab-content { display: none; } .tab-content.active { - display: block; } input[type="radio"].tab-radio { display: none; } .tab-label - { cursor: pointer; padding: 0.75rem 1.5rem; border-bottom: 2px solid - transparent; transition: all 0.3s ease; } .tab-label:hover { background-color: - rgba(0, 0, 0, 0.05); } input[type="radio"].tab-radio:checked + .tab-label { - border-bottom-color: #3b82f6; font-weight: 600; } + {% endblock %} {% block content %} diff --git a/templates/static/login_base.html b/templates/static/login_base.html index fbcb9277..b8411838 100644 --- a/templates/static/login_base.html +++ b/templates/static/login_base.html @@ -18,6 +18,8 @@ rel="stylesheet" type="text/css" /> + + {% block extra_styles %}{% endblock %}