More refinements to .ctdl-middle usage
authorArt Cancro <ajc@citadel.org>
Tue, 28 Mar 2023 04:21:36 +0000 (00:21 -0400)
committerArt Cancro <ajc@citadel.org>
Tue, 28 Mar 2023 04:21:36 +0000 (00:21 -0400)
webcit-ng/static/js/defs.js
webcit-ng/static/js/login.js
webcit-ng/static/js/main.js
webcit-ng/static/js/roomlist.js
webcit-ng/static/js/user_profile.js
webcit-ng/static/js/util.js
webcit-ng/static/js/view_forum.js
webcit-ng/static/js/views.js

index 67d93874cbf8a3d1ea1b8f3294d08bf2f820fcae..3fb11d7a9aecbebd6742187846e037cafdf5726c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (c) 2016-2022 by the citadel.org team
+// Copyright (c) 2016-2023 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, or
 // disclosure are subject to the GNU General Public License v3.
index b9e80a0cc2335b6ff0ba97fd1197e80ed4d25528..22aa16412d7280f2e44c1f6ae15c7823e58f301c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (c) 2016-2022 by the citadel.org team
+// Copyright (c) 2016-2023 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, or
 // disclosure are subject to the GNU General Public License v3.
index 6b5537d53bbe8860d4dab2f9f1b84c695ffa1392..96c06b6bb096f81c59319291cf5fa08500fc866c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (c) 2016-2022 by the citadel.org team
+// Copyright (c) 2016-2023 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, or
 // disclosure are subject to the GNU General Public License v3.
@@ -179,14 +179,8 @@ function load_new_march_list(which_oper) {
 // Activate the "Loading..." modal
 function activate_loading_modal() {
        document.getElementById("ctdl_big_modal").innerHTML =
-                 "<div class=\"w3-modal-content\">"
-               + "  <div class=\"w3-container\">"
-
-               + "<i class=\"fas fa-spinner fa-spin\"></i>&nbsp;&nbsp;"
-               + _("Loading messages from server, please wait")
-
-               + "  </div>"
-               + "</div>";
+               "<i class=\"fas fa-spinner fa-spin\"></i>&nbsp;&nbsp;"
+               + _("Loading messages from server, please wait");
        document.getElementById("ctdl_big_modal").style.display = "block";
 }
 
index cb290236186a373f06b4c7ea98e8fc7beb1c587e..6d1676c140de40dad8e671c57678481ed2fd844a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (c) 2016-2022 by the citadel.org team
+// Copyright (c) 2016-2023 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, or
 // disclosure are subject to the GNU General Public License v3.
index 19f19f432d98edd529e54457aa64ac60dd5a50e4..3b218f4e86538d9a30d87cafba0f44c1d3df2fc0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (c) 2016-2022 by the citadel.org team
+// Copyright (c) 2016-2023 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, or
 // disclosure are subject to the GNU General Public License v3.
index 6ea6d71d53bbe0b916ef1cdd2a5567bb7568a730..725fc4944f6088a5fa715309a9e50a94c2196450 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (c) 2016-2022 by the citadel.org team
+// Copyright (c) 2016-2023 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, or
 // disclosure are subject to the GNU General Public License v3.
index f836824c06d537f117f8b7cfce1f921bef43af07..015304d2af6f97c8594583e98952d067a916b27f 100644 (file)
@@ -1,6 +1,6 @@
 // This module handles the view for "forum" (message board) rooms.
 //
-// Copyright (c) 2016-2022 by the citadel.org team
+// Copyright (c) 2016-2023 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, or
 // disclosure are subject to the GNU General Public License v3.
index 72af39b64dea96af3ee4e2b0b3a34a1bebdbfc85..82e979853a8a4b55bfe6f423a3c9dda25cf42b3e 100644 (file)
@@ -25,7 +25,10 @@ function render_room_view() {
        }
 
        clear_sidebar_selection();
-       document.getElementById("ctdl-main").innerHTML = _("Loading messages from server, please wait");
+       document.getElementById("ctdl-main").innerHTML = 
+               "<div class=\"ctdl-middle\">"
+               + _("Loading messages from server, please wait")
+               + "</div>";
 
        switch(current_view) {