<title>W3.CSS Template</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<link rel="stylesheet" href="https://www.w3schools.com/lib/w3.css">
-<link rel="stylesheet" href="https://www.w3schools.com/lib/w3-theme-w3schools.css">
-<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
+<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/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,h6 {font-family: "Roboto", sans-serif}
-.w3-sidenav a,.w3-sidenav h4 {padding: 12px;}
-.w3-bar a {
- padding-top: 12px;
- padding-bottom: 12px;
-}
+html,body,h1,h2,h3,h4,h5 {font-family: "Raleway", sans-serif}
</style>
-<body>
-
-<!-- Navbar -->
-<div id="navbar" class="w3-top">
- <div class="w3-bar w3-theme w3-top w3-left-align w3-large">
- <a class="w3-bar-item w3-button w3-opennav w3-right w3-hide-large w3-hover-white w3-large w3-theme-l1" href="javascript:void(0)" onclick="w3_open()"><i class="fa fa-bars"></i></a>
- <span id="ctdl_banner_title" class="w3-bar-item w3-button w3-theme-l1">XXX</span>
- <a href="#" class="w3-bar-item w3-button w3-hide-small w3-hover-white">Ungoto</a>
- <a href="#" class="w3-bar-item w3-button w3-hide-small w3-hover-white">Read new</a>
- <a href="#" class="w3-bar-item w3-button w3-hide-small w3-hover-white">Read all</a>
- <a href="#" class="w3-bar-item w3-button w3-hide-small w3-hover-white">Enter</a>
- <a href="#" class="w3-bar-item w3-button w3-hide-small w3-hide-medium w3-hover-white">Skip</a>
- <a href="#" class="w3-bar-item w3-button w3-hide-small w3-hide-medium w3-hover-white">Goto</a>
- <a href="#" id="lilo" class="w3-bar-item w3-button w3-hide-small w3-hover-white">Login</a>
- <span id="current_user" class="w3-bar-item w3-button w3-hide-small w3-hide-medium w3-hover-white">XXX</span>
+<body class="w3-light-grey">
- </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>
+ <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>
-<!-- Sidenav -->
-<nav class="w3-sidenav w3-collapse w3-theme-l5 w3-animate-left" style="z-index:3;width:250px;margin-top:43px;" id="sidebar">
- <a href="javascript:void(0)" onclick="w3_close()" class="w3-right w3-xlarge w3-padding-large w3-hover-black w3-hide-large" title="close menu">
- <i class="fa fa-remove"></i>
- </a>
- <h4><b>Menu</b></h4>
- <a href="#" class="w3-hover-black">Link</a>
- <a href="#" class="w3-hover-black">Link</a>
- <a href="#" class="w3-hover-black">Link</a>
- <a href="#" class="w3-hover-black">Link</a>
+<!-- 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">
+ <img src="/w3images/avatar2.png" class="w3-circle w3-margin-right" style="width:46px">
+ </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>
+ <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 sidenav on small screens -->
-<div class="w3-overlay w3-hide-large" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>
-<!-- Main content: shift it to the right by 250 pixels when the sidenav is visible -->
-<div id="main" class="w3-main" style="margin-left:250px">
-MAIN
-<!-- END MAIN -->
+<!-- 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! -->
+<div id="main" class="w3-main" style="margin-left:300px;margin-top:43px;">
+
+die in a car fire
+
+ <!-- End page content -->
</div>
<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>
-// Get the Sidenav
+alert('startup started');
+// 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 sidenav, and add overlay effect
+// 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 sidenav with the close button
+// 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";
}
-alert('yup startup');
ctdl_startup();
+alert('startup stoppeded');
</script>
</body>
</html>
-
-