From 28d92473e9b95e8ccff51e301205dced74620d6e Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Fri, 2 Mar 2018 15:46:13 +0100
Subject: [PATCH] add a link to home page on main title

---
 resources/css/style.css         | 5 +++++
 templates/web/en/index.tt2.html | 2 +-
 templates/web/fr/index.tt2.html | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/resources/css/style.css b/resources/css/style.css
index dd1b48e..e50dd2e 100644
--- a/resources/css/style.css
+++ b/resources/css/style.css
@@ -49,6 +49,11 @@ header h1 {
     text-align: center;
 }
 
+header a, header a:visited, header a:active, header a:link {
+    color:inherit;
+    text-decoration: none;
+}
+
 /* main */
 main {
     padding: 1rem 0.5rem;
diff --git a/templates/web/en/index.tt2.html b/templates/web/en/index.tt2.html
index 165719c..f3b81c0 100644
--- a/templates/web/en/index.tt2.html
+++ b/templates/web/en/index.tt2.html
@@ -28,7 +28,7 @@
                 <a href="http://www.edugain.org" title="eduGAIN home page" target="_blank" class="float-left"><img alt="eduGAIN logo" width="200" src="images/edugain_logo.png"/></a>
                 <a href="http://www.geant.net" title="Geant home page" target="_blank" class="float-right"><img alt="GEANT logo" width="100" src="images/geant_logo_rgb_300dpi.jpg"/></a>
             </div>
-            <h1>eduGAIN Access Check</h1>
+            <h1>[% app.url %]eduGAIN Access Check</a></h1>
         </header>
 
         <main>
diff --git a/templates/web/fr/index.tt2.html b/templates/web/fr/index.tt2.html
index 7f7160c..eb1ce76 100644
--- a/templates/web/fr/index.tt2.html
+++ b/templates/web/fr/index.tt2.html
@@ -28,7 +28,7 @@
                 <a href="http://www.edugain.org" title="eduGAIN home page" target="_blank" class="float-left"><img alt="eduGAIN logo" width="200" src="images/edugain_logo.png"/></a>
                 <a href="http://www.geant.net" title="Geant home page" target="_blank" class="float-right"><img alt="GEANT logo" width="100" src="images/geant_logo_rgb_300dpi.jpg"/></a>
             </div>
-	    <h1>eduGAIN Access Check</h1>
+            <h1><a href="[% app.url %]">eduGAIN Access Check</a></h1>
         </header>
 
         <main>
-- 
GitLab