4 ---- Copyright (c) 1996-2021 by Art Cancro and the citadel.org team.
5 ---- This program is open source software. You can redistribute it and/or
6 ---- modify it under the terms of the GPL (General Public License) version 3.
10 <title>Citadel</title>
11 <meta charset="UTF-8">
12 <meta name="viewport" content="width=device-width, initial-scale=1">
13 <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.6/css/all.css">
14 <link rel="stylesheet" href="css/w3.css">
15 <link rel="stylesheet" href="css/webcit.css">
17 <body class="w3-light-grey">
19 <!-- Modal dialog (when needed) -->
20 <div id="ctdl_big_modal" class="w3-modal" style="display:none; z-index:5">
21 <div class="w3-modal-content">
22 <div id="ctdl_big_modal_content" class="w3-container">
28 <!-- Top container -->
29 <div id="navbar" class="w3-bar w3-top w3-black w3-large" style="z-index:4">
30 <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>
31 <span class="w3-left">
32 <span class="w3-bar-item" id="ctdl-logo">CITADEL</span>
34 <span class="w3-center">
35 <span id="ctdl_banner_title" class="w3-bar-item">XXX</span>
37 <span class="w3-right">
38 <button class="w3-bar-item w3-button" onclick="gotonext(0);">ungoto</button>
39 <button class="w3-bar-item w3-button" onclick="gotonext(1);">skip</button>
40 <button class="w3-bar-item w3-button" onclick="gotonext(2);">goto</button>
41 <span id="lilo" class="w3-bar-item">Login</span>
46 <nav class="w3-sidebar w3-collapse w3-white w3-animate-left" style="z-index:3;width:300px;" id="sidebar"><br>
47 <div class="w3-container w3-row">
48 <div class="w3-col s4">
49 <i class="fa fa-user-circle fa-3x"></i>
51 <div class="w3-col s8 w3-bar">
52 <span id="current_user">Not logged in.</span><br>
53 <a href="#" class="w3-bar-item w3-button"><i class="fa fa-envelope"></i></a>
54 <a href="#" class="w3-bar-item w3-button"><i class="fa fa-user"></i></a>
55 <a href="#" class="w3-bar-item w3-button"><i class="fa fa-cog"></i></a>
59 <div class="w3-container">
62 <div class="w3-bar-block">
63 <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>
64 <a href="#" class="w3-bar-item w3-button w3-padding w3-blue"><i class="fa fa-users fa-fw"></i> Mail</a>
65 <div id="roomlist">rooms go here</div>
66 <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-users fa-fw"></i> Forums</a>
67 <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-eye fa-fw"></i> Calendar</a>
68 <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-bullseye fa-fw"></i> Contacts</a>
69 <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-bell fa-fw"></i> Blogs</a>
70 <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-bank fa-fw"></i> Wikis</a>
71 <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-cog fa-fw"></i> Settings</a><br><br>
75 <!-- Overlay effect when opening sidebar on small screens -->
76 <div class="w3-overlay w3-hide-large w3-animate-opacity" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>
78 <!-- MAIN PAGE CONTENT DIV -->
79 <div id="ctdl-main" class="w3-main" style="margin-left:300px;margin-top:43px;">
81 <!-- End page content -->
84 <script type="text/javascript" src="js/util.js"></script>
85 <script type="text/javascript" src="js/login.js"></script>
86 <script type="text/javascript" src="js/main.js"></script>
87 <script type="text/javascript" src="js/views.js"></script>
88 <script type="text/javascript" src="js/view_forum.js"></script>
92 var sidebar = document.getElementById("sidebar");
95 // Get the DIV with overlay effect
96 var overlayBg = document.getElementById("myOverlay");
99 // Toggle between showing and hiding the sidebar, and add overlay effect
101 if (sidebar.style.display === 'block') {
102 sidebar.style.display = 'none';
103 overlayBg.style.display = "none";
106 sidebar.style.display = 'block';
107 overlayBg.style.display = "block";
112 // Close the sidebar with the close button
113 function w3_close() {
114 sidebar.style.display = "none";
115 overlayBg.style.display = "none";