From 85654ea08a173abd282b1821fb22963bb68c7bdc Mon Sep 17 00:00:00 2001
From: jonasled <jonas@jonasled.de>
Date: Mon, 11 Nov 2019 07:57:59 +0100
Subject: [PATCH] moved login images in javaScript function

I made this change, because if you load the page you will see for a moment on the bottom the two login images
---
 templates/home.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/home.html b/templates/home.html
index 6c07834..8ac0776 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -62,8 +62,6 @@
       <div id="dialog" title="login">
             <div class="box box-a">
                   <ul id="noDot">
-                     <li><a class="btn-si btn-si-a btn-github" style="color: white;" href="/user/login?service=github">Sign in with GitHub </a></li>
-                     <li><a class="btn-si btn-si-a btn-google" style="color: white;"href="/user/login?service=google">Sign in with Google</a></li>
                   </ul>
                </div>
       </div>
@@ -93,6 +91,8 @@
             function showLogin(){
                $( "#dialog" ).dialog( "open" );     
             }
+
+            document.getElementById("noDot").innerHTML = '<li><a class="btn-si btn-si-a btn-github" style="color: white;" href="/user/login?service=github">Sign in with GitHub </a></li>\n<li><a class="btn-si btn-si-a btn-google" style="color: white;"href="/user/login?service=google">Sign in with Google</a></li>'
          </script>
    </body>
 </html>
\ No newline at end of file
-- 
GitLab