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