diff --git a/templates/home.html b/templates/home.html index 6c07834a1fbc43e04b6961017338163b9d1ffd4e..8ac0776a0c1dd3e9601dcb490646bf8e424b1d1b 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