reshufflize the parameters to room renderers
[citadel.git] / webcit-ng / static / index.html
1 <!DOCTYPE html>
2
3 <!-- 
4   -- Copyright (c) 1996-2018 by the citadel.org team
5   --
6   -- This program is open source software.  You can redistribute it and/or
7   -- modify it under the terms of the GNU General Public License, version 3.
8   -->
9
10 <html>
11 <title>Citadel</title>
12 <meta charset="UTF-8">
13 <meta name="viewport" content="width=device-width, initial-scale=1">
14 <link rel="stylesheet" href="w3.css">
15 <!-- link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway" -->
16 <link href="https://use.fontawesome.com/releases/v5.0.6/css/all.css" rel="stylesheet">
17
18 <style>
19         <!-- html,body,h1,h2,h3,h4,h5 {font-family: "Raleway", sans-serif} -->
20 </style>
21
22 <body class="w3-light-grey">
23
24 <!-- Top container -->
25 <div id="navbar" class="w3-bar w3-top w3-black w3-large" style="z-index:4">
26         <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>
27         <span id="ctdl_banner_title" class="w3-bar-item w3-right">XXX</span>
28         <span id="lilo" class="w3-bar-item w3-right">Login</span>
29 </div>
30
31 <!-- Sidebar/menu -->
32 <nav class="w3-sidebar w3-collapse w3-white w3-animate-left" style="z-index:3;width:300px;" id="sidebar"><br>
33         <div class="w3-container w3-row">
34                 <div class="w3-col s4">
35                         <i class="fa fa-user-circle fa-3x"></i>
36                 </div>
37                 <div class="w3-col s8 w3-bar">
38                         <span id="current_user">Welcome, <strong>Mike</strong></span><br>
39                         <a href="#" class="w3-bar-item w3-button"><i class="fa fa-envelope"></i></a>
40                         <a href="#" class="w3-bar-item w3-button"><i class="fa fa-user"></i></a>
41                         <a href="#" class="w3-bar-item w3-button"><i class="fa fa-cog"></i></a>
42                 </div>
43         </div>
44         <hr>
45         <div class="w3-container">
46                 <h5>Duh, STUFF</h5>
47         </div>
48         <div class="w3-bar-block">
49                 <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>
50                 <a href="#" class="w3-bar-item w3-button w3-padding w3-blue"><i class="fa fa-users fa-fw"></i>  Rooms</a>
51                 <div id="roomlist">rooms go here</div>
52                 <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-eye fa-fw"></i>  Users</a>
53                 <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-users fa-fw"></i>  Bombs</a>
54                 <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-bullseye fa-fw"></i>  Missiles</a>
55                 <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-diamond fa-fw"></i>  Tards</a>
56                 <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-bell fa-fw"></i>  News</a>
57                 <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-bank fa-fw"></i>  General</a>
58                 <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-history fa-fw"></i>  History</a>
59                 <a href="#" class="w3-bar-item w3-button w3-padding"><i class="fa fa-cog fa-fw"></i>  Settings</a><br><br>
60         </div>
61 </nav>
62
63 <!-- Overlay effect when opening sidebar on small screens -->
64 <div class="w3-overlay w3-hide-large w3-animate-opacity" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>
65
66 <!-- MAIN PAGE CONTENT DIV -->
67 <div id="ctdl-main" class="w3-main" style="margin-left:300px;margin-top:43px;">
68
69 die in a car fire
70
71 <!-- End page content -->
72 </div>
73
74 <script type="text/javascript" src="js/login.js"></script>
75 <script type="text/javascript" src="js/main.js"></script>
76 <script type="text/javascript" src="js/views.js"></script>
77 <script>
78 // Get the Sidebar
79 var sidebar = document.getElementById("sidebar");
80
81 // Get the DIV with overlay effect
82 var overlayBg = document.getElementById("myOverlay");
83
84 // Toggle between showing and hiding the sidebar, and add overlay effect
85 function w3_open() {
86         if (sidebar.style.display === 'block') {
87                 sidebar.style.display = 'none';
88                 overlayBg.style.display = "none";
89         } else {
90                 sidebar.style.display = 'block';
91                 overlayBg.style.display = "block";
92         }
93 }
94
95 // Close the sidebar with the close button
96 function w3_close() {
97         sidebar.style.display = "none";
98         overlayBg.style.display = "none";
99 }
100
101 ctdl_startup();
102 </script>
103
104 </body>
105 </html>