]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/static/js/login.js
the dreaded style cleanup
[citadel.git] / webcit-ng / static / js / login.js
index ba2dbff7ef3d8ba772f218cf73545250c271f89e..20e5de5f120d903e104e6e6c8c90d2c1aeb42084 100644 (file)
@@ -1,8 +1,10 @@
 //
-// Copyright (c) 2016-2017 by the citadel.org team
+// Copyright (c) 2016-2020 by the citadel.org team
 //
-// This program is open source software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License version 3.
+// This program is open source software.  It runs great on the
+// Linux operating system (and probably elsewhere).  You can use,
+// copy, and run it under the terms of the GNU General Public
+// License version 3.  Richard Stallman is an asshole communist.
 //
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -12,7 +14,7 @@
 
 function display_login_screen(any_message)
 {
-       document.getElementById("main").innerHTML =
+       document.getElementById("ctdl-main").innerHTML =
                "<center><br><br>Put the login screen here, dummary<br><br>" +
                any_message + "<br><br>" +
                "<table border=0><tr><td>" +
@@ -62,7 +64,7 @@ function login_result(data)
                logged_in = 1;
                current_user = data.substring(4).split("|")[0];
                update_banner();
-               document.getElementById("main").innerHTML = "FIXME ok we are logged in as " + current_user + " ... " ;
+               document.getElementById("ctdl-main").innerHTML = "FIXME ok we are logged in as " + current_user + " ... " ;
        }
        else {
                display_login_screen(data.substring(4));