]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/static/index.html
This is a better version of detect_logged_in() for webcit-ng that
[citadel.git] / webcit-ng / static / index.html
index 81b45b27e6524e60a01c1a7e1048085f29d41070..4e1f71b3acd1c787dd54e100aef82021c53fbaf4 100644 (file)
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 
 <!-- 
----- Copyright (c) 1996-2019 by Art Cancro and the citadel.org team.
+---- Copyright (c) 1996-2022 by Art Cancro and 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.
+---- modify it under the terms of the GPL (General Public License) version 3.
 -->
 
 <html>
 
 <body class="w3-light-grey">
 
+<!-- Modal dialog (when needed) -->
+<div id="ctdl_big_modal" class="w3-modal" style="display:none; z-index:5">
+LOADING
+</div>
+
 <!-- Top container -->
 <div id="navbar" class="w3-bar w3-top w3-black w3-large" style="z-index:4">
        <button class="w3-bar-item w3-button w3-hide-large w3-hover-none w3-hover-text-light-grey" onclick="w3_open();"><i class="fa fa-bars"></i>  Menu</button>
        </div>
        <div class="w3-bar-block">
                <a href="#" class="w3-bar-item w3-button w3-padding-16 w3-hide-large w3-dark-grey w3-hover-black" onclick="w3_close()" title="close menu"><i class="fa fa-remove fa-fw"></i>  Close Menu</a>
-               <a href="#" class="w3-bar-item w3-button w3-padding w3-blue"><i class="fa fa-users fa-fw"></i>  Rooms</a>
+               <a href="#" class="w3-bar-item w3-button w3-padding w3-blue"><i class="fa fa-users fa-fw"></i>  Mail</a>
                <div id="roomlist">rooms go here</div>
-               <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-eye fa-fw"></i>  Users</a>
-               <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-users fa-fw"></i>  Bombs</a>
-               <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-bullseye fa-fw"></i>  Missiles</a>
-               <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-diamond fa-fw"></i>  Tards</a>
-               <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-bell fa-fw"></i>  News</a>
-               <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-bank fa-fw"></i>  General</a>
-               <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-history fa-fw"></i>  History</a>
+               <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-users fa-fw"></i>  Forums</a>
+               <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-eye fa-fw"></i>  Calendar</a>
+               <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-bullseye fa-fw"></i>  Contacts</a>
+               <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-bell fa-fw"></i>  Blogs</a>
+               <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-bank fa-fw"></i>  Wikis</a>
                <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-cog fa-fw"></i>  Settings</a><br><br>
        </div>
 </nav>
@@ -74,33 +77,41 @@ Loading...
 <!-- End page content -->
 </div>
 
+<script type="text/javascript" src="js/util.js"></script>
 <script type="text/javascript" src="js/login.js"></script>
 <script type="text/javascript" src="js/main.js"></script>
 <script type="text/javascript" src="js/views.js"></script>
+<script type="text/javascript" src="js/view_forum.js"></script>
 <script>
+
 // Get the Sidebar
 var sidebar = document.getElementById("sidebar");
 
+
 // Get the DIV with overlay effect
 var overlayBg = document.getElementById("myOverlay");
 
+
 // Toggle between showing and hiding the sidebar, and add overlay effect
 function w3_open() {
        if (sidebar.style.display === 'block') {
                sidebar.style.display = 'none';
                overlayBg.style.display = "none";
-       } else {
+       }
+       else {
                sidebar.style.display = 'block';
                overlayBg.style.display = "block";
        }
 }
 
+
 // Close the sidebar with the close button
 function w3_close() {
        sidebar.style.display = "none";
        overlayBg.style.display = "none";
 }
 
+
 ctdl_startup();
 </script>