-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
98 lines (96 loc) · 2.95 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html>
<html lang="en">
<head>
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
/>
<link rel="stylesheet" href="style.css" />
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style></style>
</head>
<body>
<div class="wrapper">
<!--Top menu -->
<div class="section">
<div class="top_navbar">
<div class="hamburger">
<a href="#">
<i class="fas fa-bars"></i>
</a>
</div>
<div style="float: right">
<button>Submit</button>
</div>
</div>
</div>
<div class="sidebar">
<!--profile image & text-->
<!--menu item-->
<ul>
<li>
<a href="#one" class="active">
<span class="icon"><i class="fas fa-home"></i></span>
<span class="item">Config 1</span>
</a>
</li>
<li>
<a href="#two">
<span class="icon"><i class="fas fa-desktop"></i></span>
<span class="item">Config 1</span>
</a>
</li>
<li>
<a href="#three">
<span class="icon"><i class="fas fa-user-friends"></i></span>
<span class="item">Config 1</span>
</a>
</li>
<li>
<a href="#">
<span class="icon"><i class="fas fa-tachometer-alt"></i></span>
<span class="item">Config 2</span>
</a>
</li>
<li>
<a href="#">
<span class="icon"><i class="fas fa-database"></i></span>
<span class="item">Config 3</span>
</a>
</li>
<li>
<a href="#">
<span class="icon"><i class="fas fa-chart-line"></i></span>
<span class="item">Config 4</span>
</a>
</li>
<li>
<a href="#">
<span class="icon"><i class="fas fa-user-shield"></i></span>
<span class="item">Config 5</span>
</a>
</li>
<li>
<a href="#">
<span class="icon"><i class="fas fa-cog"></i></span>
<span class="item">Config 6</span>
</a>
</li>
</ul>
</div>
<div id="one" style="margin-left: 250px"><h1>test 1</h1></div>
<div id="two" style="margin-left: 250px"><h1>test 2</h1></div>
<div id="three" style="margin-left: 250px"><h1>test 3</h1></div>
<div id="four" style="margin-left: 250px"><h1>test 4</h1></div>
</div>
</body>
<script>
var hamburger = document.querySelector(".hamburger");
hamburger.addEventListener("click", function () {
document.querySelector("body").classList.toggle("active");
});
</script>
</html>