tabs not spaces
authorArt Cancro <ajc@citadel.org>
Sun, 28 Jan 2018 06:17:40 +0000 (01:17 -0500)
committerArt Cancro <ajc@citadel.org>
Sun, 28 Jan 2018 06:17:40 +0000 (01:17 -0500)
webcit-ng/static/index.html

index 524509290e3642b01b8e575554df038daaa507e2..f7f4839adabcde64705b51a8193758bbfaa77499 100644 (file)
@@ -1,4 +1,12 @@
 <!DOCTYPE html>
+
+<!-- 
+  -- Copyright (c) 1996-2018 by 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.
+  -->
+
 <html>
 <title>Citadel</title>
 <meta charset="UTF-8">
 <link rel="stylesheet" href="w3.css">
 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
+
 <style>
-html,body,h1,h2,h3,h4,h5 {font-family: "Raleway", sans-serif}
+       html,body,h1,h2,h3,h4,h5 {font-family: "Raleway", sans-serif}
 </style>
+
 <body class="w3-light-grey">
 
 <!-- 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>
-  <span id="ctdl_banner_title" class="w3-bar-item w3-right">XXX</span>
-  <span id="lilo" class="w3-bar-item w3-right">Login</span>
+       <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>
+       <span id="ctdl_banner_title" class="w3-bar-item w3-right">XXX</span>
+       <span id="lilo" class="w3-bar-item w3-right">Login</span>
 </div>
 
 <!-- Sidebar/menu -->
 <nav class="w3-sidebar w3-collapse w3-white w3-animate-left" style="z-index:3;width:300px;" id="sidebar"><br>
-  <div class="w3-container w3-row">
-    <div class="w3-col s4">
-       <i class="fa fa-user-circle fa-3x"></i>
-    </div>
-    <div class="w3-col s8 w3-bar">
-      <span id="current_user">Welcome, <strong>Mike</strong></span><br>
-      <a href="#" class="w3-bar-item w3-button"><i class="fa fa-envelope"></i></a>
-      <a href="#" class="w3-bar-item w3-button"><i class="fa fa-user"></i></a>
-      <a href="#" class="w3-bar-item w3-button"><i class="fa fa-cog"></i></a>
-    </div>
-  </div>
-  <hr>
-  <div class="w3-container">
-    <h5>Duh, STUFF</h5>
-  </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>
-       <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-cog fa-fw"></i>  Settings</a><br><br>
-  </div>
+       <div class="w3-container w3-row">
+               <div class="w3-col s4">
+                       <i class="fa fa-user-circle fa-3x"></i>
+               </div>
+               <div class="w3-col s8 w3-bar">
+                       <span id="current_user">Welcome, <strong>Mike</strong></span><br>
+                       <a href="#" class="w3-bar-item w3-button"><i class="fa fa-envelope"></i></a>
+                       <a href="#" class="w3-bar-item w3-button"><i class="fa fa-user"></i></a>
+                       <a href="#" class="w3-bar-item w3-button"><i class="fa fa-cog"></i></a>
+               </div>
+       </div>
+       <hr>
+       <div class="w3-container">
+               <h5>Duh, STUFF</h5>
+       </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>
+               <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-cog fa-fw"></i>  Settings</a><br><br>
+       </div>
 </nav>
 
-
 <!-- Overlay effect when opening sidebar on small screens -->
 <div class="w3-overlay w3-hide-large w3-animate-opacity" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>
 
-<!-- !PAGE CONTENT! -->
+<!-- MAIN PAGE CONTENT DIV -->
 <div id="main" class="w3-main" style="margin-left:300px;margin-top:43px;">
 
 die in a car fire
 
-  <!-- End page content -->
+<!-- End page content -->
 </div>
 
 <script type="text/javascript" src="js/login.js"></script>
@@ -75,19 +84,19 @@ 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 {
-        sidebar.style.display = 'block';
-        overlayBg.style.display = "block";
-    }
+       if (sidebar.style.display === 'block') {
+               sidebar.style.display = 'none';
+               overlayBg.style.display = "none";
+       } 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";
+       sidebar.style.display = "none";
+       overlayBg.style.display = "none";
 }
 
 ctdl_startup();