-
Notifications
You must be signed in to change notification settings - Fork 0
/
left-mainnav.html
377 lines (370 loc) · 14.2 KB
/
left-mainnav.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Option · Simplate Template</title>
<base href="">
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.min.css?v1" rel="stylesheet">
<!-- vendor -->
<!-- fontawesome -->
<link href="css/style.min.css?v1" rel="stylesheet">
<!-- dataTables -->
<link href="vendor/dataTables/dataTables.bootstrap4.min.css" rel="stylesheet">
<!-- bootstrap-select -->
<link href="vendor/bootstrap-select/css/bootstrap-select.min.css" rel="stylesheet">
<!-- custom style -->
<link href="vendor/fontawesome/css/all.min.css" rel="stylesheet">
<!-- jQuery -->
<script src="js/jquery-3.2.1.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bs-custom-file-input.min.js"></script>
<!-- vendor -->
<!-- dataTables -->
<script src="vendor/dataTables/jquery.dataTables.min.js"></script>
<script src="vendor/dataTables/dataTables.bootstrap4.min.js"></script>
<!-- bootstrap-select -->
<script src="vendor/bootstrap-select/js/bootstrap-select.min.js"></script>
<!-- text editor tinymce -->
<script type="text/javascript" src="vendor/tinymce/tinymce.min.js"></script>
<!-- chartjs -->
<script src="vendor/chartjs/chart.min.js"></script>
<script src="vendor/chartjs/chart-data.js"></script>
<!-- custom script -->
<script src="js/script.js"></script>
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg navbar-light fixed-top">
<div class="container">
<div class="mainnav-content">
<div class="mainnav-left">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#mainnav">
<i class="fas fa-bars"></i>
</button>
<a class="navbar-brand" href="index.html">Simplate <small class="show-sm">v1.0</small></a>
</div>
<div class="mainnav-center">
<div class="collapsed navbar-collapse" id="mainnav">
<ul class="navbar-nav mainnav mx-auto">
<li class="nav-item">
<a class="nav-link" href="index.html"><i class="fa-sm fas fa-tachometer-alt"></i> Dashboard</a>
</li>
<li class="divider"></li>
<li class="nav-item">
<a class="nav-link" href="table.html"><i class="fa-sm fas fa-table"></i> Tables</a>
</li>
<li class="nav-item">
<a class="nav-link" href="form.html"><i class="fa-sm fas fa-edit"></i> Forms</a>
</li>
<li class="divider"></li>
<li class="nav-item dropdown active show">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-grip-vertical"></i> More
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item active" href="option.html">Options</a>
<a class="dropdown-item" href="element.html">Elements</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="blank.html">Blank Page</a>
<a class="dropdown-item" href="signin.html">Sign in Page</a>
<a class="dropdown-item" href="404.html">Error Page</a>
</div>
</li>
</ul>
</div>
</div>
<div class="mainnav-right ml-auto">
<div class="collapsed navbar-collapse">
<ul class="navbar-nav ml-auto">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="far fa-bell"></i><span class="badge badge-success">2</span>
</a>
<div class="dropdown-menu dropdown-menu-right dropdown-notivication">
<!-- <a href="#" class="dropdown-item disabled">No Notivication</a> -->
<a href="#" class="dropdown-item">
<i class="fas fa-sm fa-envelope"></i>2 Pesan baru <br>
<i class="fas fa-sm"></i><small class="text-secondary">5 Mins ago</small>
</a>
<a href="#" class="dropdown-item">
<i class="fas fa-sm fa-user-friends"></i>5 Member Baru
</a>
<div class="dropdown-divider"></div>
<a href="#" class="dropdown-item"><i class="far fa-sm fa-eye"></i>View All</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="show-md">Keroro Gunsou</span>
<div class="avatar ml-0 ml-sm-2"><img src="img/user5.PNG" alt="A"></div>
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
<a class="dropdown-item active" href="#"><i class="fa fa-fw fa-user"></i> Profile</a>
<a class="dropdown-item" href="#"><i class="fa fa-fw fa-user-cog"></i> Change Profile</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="login.html"><i class="fa fa-fw fa-sign-out-alt"></i> Logout</a>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
</nav>
</header>
<div class="body">
<div class="container auto-height">
<div class="content">
<div class="content-header">
<h2 class="content-title text-center">Option</h2>
<div class="text-center">
<a href="left-mainnav.html" class="btn btn-primary mb-2">Left Mainnav</a>
<a href="search-mainnav.html" class="btn btn-primary mb-2">Search Mainnav</a>
</div>
</div>
<div class="content-body">
<div class="card">
<div class="card-header">
<h4 class="card-title">Skin Options</h4>
</div>
<div class="card-body">
<div class="form-row">
<div class="col-6 mb-2">
<div class="bg-blue rounded py-2 px-3 text-white">
<div class="form-check">
<input class="form-check-input" type="radio" name="skin" id="skin-default" value="" checked="">
<label class="form-check-label" for="skin-default">
Skin Default [Skin Blue]
</label>
</div>
</div>
</div>
<div class="col-6 mb-2">
<div class="bg-blue rounded py-2 px-3 text-white">
<div class="form-check">
<input class="form-check-input" type="radio" name="skin" id="skin-blue" value="blue">
<label class="form-check-label" for="skin-blue">
Skin Blue
</label>
</div>
</div>
</div>
<div class="col-6 mb-2">
<div class="bg-indigo rounded py-2 px-3 text-white">
<div class="form-check">
<input class="form-check-input" type="radio" name="skin" id="skin-indigo" value="indigo">
<label class="form-check-label" for="skin-indigo">
Skin Indigo
</label>
</div>
</div>
</div>
<div class="col-6 mb-2">
<div class="bg-purple rounded py-2 px-3 text-white">
<div class="form-check">
<input class="form-check-input" type="radio" name="skin" id="skin-purple" value="purple">
<label class="form-check-label" for="skin-purple">
Skin Purple
</label>
</div>
</div>
</div>
<div class="col-6 mb-2">
<div class="bg-pink rounded py-2 px-3 text-white">
<div class="form-check">
<input class="form-check-input" type="radio" name="skin" id="skin-pink" value="pink">
<label class="form-check-label" for="skin-pink">
Skin Pink
</label>
</div>
</div>
</div>
<div class="col-6 mb-2">
<div class="bg-red rounded py-2 px-3 text-white">
<div class="form-check">
<input class="form-check-input" type="radio" name="skin" id="skin-red" value="red">
<label class="form-check-label" for="skin-red">
Skin Red
</label>
</div>
</div>
</div>
<div class="col-6 mb-2">
<div class="bg-orange rounded py-2 px-3 text-white">
<div class="form-check">
<input class="form-check-input" type="radio" name="skin" id="skin-orange" value="orange">
<label class="form-check-label" for="skin-orange">
Skin Orange
</label>
</div>
</div>
</div>
<div class="col-6 mb-2">
<div class="bg-yellow rounded py-2 px-3 text-white">
<div class="form-check">
<input class="form-check-input" type="radio" name="skin" id="skin-yellow" value="yellow">
<label class="form-check-label" for="skin-yellow">
Skin Yellow
</label>
</div>
</div>
</div>
<div class="col-6 mb-2">
<div class="bg-green rounded py-2 px-3 text-white">
<div class="form-check">
<input class="form-check-input" type="radio" name="skin" id="skin-green" value="green">
<label class="form-check-label" for="skin-green">
Skin Green
</label>
</div>
</div>
</div>
<div class="col-6 mb-2">
<div class="bg-teal rounded py-2 px-3 text-white">
<div class="form-check">
<input class="form-check-input" type="radio" name="skin" id="skin-teal" value="teal">
<label class="form-check-label" for="skin-teal">
Skin Teal
</label>
</div>
</div>
</div>
<div class="col-6 mb-2">
<div class="bg-cyan rounded py-2 px-3 text-white">
<div class="form-check">
<input class="form-check-input" type="radio" name="skin" id="skin-cyan" value="cyan">
<label class="form-check-label" for="skin-cyan">
Skin Cyan
</label>
</div>
</div>
</div>
<div class="col-6 mb-2">
<div class="bg-dark rounded py-2 px-3 text-white">
<div class="form-check">
<input class="form-check-input" type="radio" name="skin" id="skin-dark" value="dark">
<label class="form-check-label" for="skin-dark">
Skin Dark
</label>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header">
<h4 class="card-title">Content Options</h4>
</div>
<div class="card-body">
<div class="form-row">
<div class="col-6 mb-2">
<h5 class="mb-2">Max Content</h5>
<div class="bg-light rounded py-2 px-3 mb-2">
<div class="form-check">
<input class="form-check-input" type="radio" name="max-content" id="content-xl" value="xl" checked="">
<label class="form-check-label" for="content-xl">
Max xl Container
</label>
</div>
</div>
<div class="bg-light rounded py-2 px-3 mb-2">
<div class="form-check">
<input class="form-check-input" type="radio" name="max-content" id="content-lg" value="lg">
<label class="form-check-label" for="content-lg">
Max lg Container
</label>
</div>
</div>
<div class="bg-light rounded py-2 px-3 mb-2">
<div class="form-check">
<input class="form-check-input" type="radio" name="max-content" id="content-md" value="md">
<label class="form-check-label" for="content-md">
Max md Container
</label>
</div>
</div>
<div class="bg-light rounded py-2 px-3 mb-2">
<div class="form-check">
<input class="form-check-input" type="radio" name="max-content" id="content-sm" value="sm">
<label class="form-check-label" for="content-sm">
Max sm Container
</label>
</div>
</div>
</div>
<div class="col-6 mb-2">
<h5 class="mb-2">Content Position</h5>
<div class="bg-light rounded py-2 px-3 mb-2">
<div class="form-check">
<input class="form-check-input" type="radio" name="content-position" id="content-left" value="mr-auto">
<label class="form-check-label" for="content-left">
Content Left
</label>
</div>
</div>
<div class="bg-light rounded py-2 px-3 mb-2">
<div class="form-check">
<input class="form-check-input" type="radio" name="content-position" id="content-center" value="mx-auto" checked="">
<label class="form-check-label" for="content-center">
Content Center
</label>
</div>
</div>
<div class="bg-light rounded py-2 px-3 mb-2">
<div class="form-check">
<input class="form-check-input" type="radio" name="content-position" id="content-right" value="ml-auto">
<label class="form-check-label" for="content-right">
Content Right
</label>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
var skin = "";
$(document).on('click', '[name=skin]', function() {
var el = $(this);
$('body').removeClass('skin-' + skin);
if (el.val() != "") {
skin = el.val();
$('body').addClass('skin-' + el.val());
}
});
var max_content = "xl";
$(document).on('click', '[name=max-content]', function() {
var el = $(this);
$('.content').removeClass('max-' + max_content + '-container');
if (el.val() != "") {
max_content = el.val();
$('.content').addClass('max-' + max_content + '-container');
}
});
var content_position = "mx-auto";
$(document).on('click', '[name=content-position]', function() {
var el = $(this);
$('.content').removeClass(content_position);
if (el.val() != "") {
content_position = el.val();
$('.content').addClass(content_position);
}
});
</script>
</div>
</div>
</div>
<div class="footer">
<div class="container">
© 2018 <a href="https://github.com/hayyi2/simplate" target="_blank">Simplate</a>
</div>
</div>
</div>
</body>
</html>