From 2012c1c1cab352b1aa12e6dbd2b596dc2293031d Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sun, 21 Jan 2018 17:25:56 -0500 Subject: [PATCH] need an awesome slider --- webcit-ng/static/index.html | 1 + webcit-ng/static/js/login.js | 9 +++++---- webcit-ng/static/js/main.js | 12 ++++++------ 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/webcit-ng/static/index.html b/webcit-ng/static/index.html index 97311c789..2fa60135a 100644 --- a/webcit-ng/static/index.html +++ b/webcit-ng/static/index.html @@ -38,6 +38,7 @@ html,body,h1,h2,h3,h4,h5 {font-family: "Raleway", sans-serif}
Close Menu Rooms +
rooms go here
Users Bombs Missiles diff --git a/webcit-ng/static/js/login.js b/webcit-ng/static/js/login.js index e6ab91d2a..ba2dbff7e 100644 --- a/webcit-ng/static/js/login.js +++ b/webcit-ng/static/js/login.js @@ -13,11 +13,12 @@ function display_login_screen(any_message) { document.getElementById("main").innerHTML = - "Put the login screen here, dummary

" + + "


Put the login screen here, dummary

" + any_message + "

" + - _("User name:") + "
" + - _("Password:") + "
" + - "" + _("Log in") + "" + "
" + + _("User name:") + "
" + + _("Password:") + "

" + + "" + _("Log in") + "
" ; update_banner(); diff --git a/webcit-ng/static/js/main.js b/webcit-ng/static/js/main.js index 31e7ad0ba..6c4a1a58f 100644 --- a/webcit-ng/static/js/main.js +++ b/webcit-ng/static/js/main.js @@ -112,7 +112,7 @@ function ctdl_startup_2(data) { // Display a room list in the main div. // function display_room_list() { - document.getElementById("sidebar").innerHTML = "" ; // show throbber while loading + document.getElementById("roomlist").innerHTML = "" ; // show throbber while loading var request = new XMLHttpRequest(); request.open("GET", "/ctdl/r/", true); @@ -138,23 +138,23 @@ function display_room_list_renderer(data) { return(a.name < b.name); }); - new_sidebar_text = ""; + document.getElementById("roomlist").innerHTML = new_roomlist_text ; } // Update the "banner" div with all relevant info. -- 2.30.2