From d91b2e5b473088f38dd6035967f94fef618dedba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz>
Date: Fri, 4 Apr 2025 15:42:56 +0000
Subject: [PATCH] ENVRI-Hub: update login button for ENVRI-ID

---
 envri-hub/deployments/envri-templates/egi-login.html | 9 ++-------
 envri-hub/deployments/envri-templates/page.html      | 4 +---
 2 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/envri-hub/deployments/envri-templates/egi-login.html b/envri-hub/deployments/envri-templates/egi-login.html
index 82e4765..b9e1c87 100644
--- a/envri-hub/deployments/envri-templates/egi-login.html
+++ b/envri-hub/deployments/envri-templates/egi-login.html
@@ -26,17 +26,12 @@
     environment provides users with notebooks where they can combine text, mathematics,
     computations and rich media output.
     </p>
-    <p>
-    Access requires a valid <a href="https://docs.egi.eu/users/check-in/signup">EGI account</a>
-    and <a href="https://aai.egi.eu/registry/co_petitions/start/coef:671">enrolling to the
-    envri-vre:members VO</a>.
-    </p>
     {% endblock main_intro %}
     {% block checkin_button %}
     <div class="spacer-sm"></div>
     <p class="text-center">
-          <a role="button" class="btn button-blue-background btn-lg" href="{{authenticator_login_url}}">
-            Continue with EGI Check-in
+          <a role="button" class="btn button-blue-background" href="{{authenticator_login_url}}">
+            Continue with ENVRI-ID
           </a>
     </p>
     <div class="spacer-sm"></div>
diff --git a/envri-hub/deployments/envri-templates/page.html b/envri-hub/deployments/envri-templates/page.html
index e0f595f..f3a6e0c 100644
--- a/envri-hub/deployments/envri-templates/page.html
+++ b/envri-hub/deployments/envri-templates/page.html
@@ -50,13 +50,12 @@ body {
 
 .button-blue-background {
    margin: 20px 20px 0px 0px;
-   padding: 20px 30px 20px 80px;
+   padding: 20px 30px 20px 30px;
    border-style: solid;
    border-width: 2px;
    border-color: #005faa;
    border-radius: 100vw;
    background-color: #005faa;
-   background-image: url({{ static_url('images/egi-logo-white.svg') }});
    background-position: 30px 43%;
    background-size: 36px;
    background-repeat: no-repeat;
@@ -70,7 +69,6 @@ body {
 
 .button-blue-background:hover {
    background-color: #fff;
-   background-image: url({{ static_url('images/egi-logo.svg') }});
    color: #005faa;
 }
 </style>
-- 
GitLab