From 4a81767e2419cf5e35e684fbeeda1f9c24e1e106 Mon Sep 17 00:00:00 2001 From: taleksovska Date: Thu, 4 Jul 2024 16:56:08 +0200 Subject: [PATCH] Change Login page --- ckanext/keycloak/templates/header.html | 128 +++++++++++++++++---- ckanext/keycloak/templates/user/login.html | 4 +- 2 files changed, 108 insertions(+), 24 deletions(-) diff --git a/ckanext/keycloak/templates/header.html b/ckanext/keycloak/templates/header.html index e06d396..6d583a6 100644 --- a/ckanext/keycloak/templates/header.html +++ b/ckanext/keycloak/templates/header.html @@ -1,23 +1,107 @@ -{# -Copyright (c) 2020 Keitaro AB +{% block header_wrapper %} {% block header_account %} +
+
+ {% block header_account_container_content %} {% if c.userobj %} + + {% else %} + + {% endif %} {% endblock %} +
+
+{% endblock %} + +{% endblock %} diff --git a/ckanext/keycloak/templates/user/login.html b/ckanext/keycloak/templates/user/login.html index e828355..db65bef 100644 --- a/ckanext/keycloak/templates/user/login.html +++ b/ckanext/keycloak/templates/user/login.html @@ -33,8 +33,8 @@

{{ _('Need an Account?') }}

{% endblock %} - {% endblock %} - {% endif %} --> + {% endblock %} --> + {% endif %}