forked from ljb-2000/theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
advanced-components.html
527 lines (462 loc) · 21.1 KB
/
advanced-components.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
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
<!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.0">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="favicon.ico?6">
<title>Aqua</title>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- BootFlat -->
<link href="css/bootflat.min.css" rel="stylesheet">
<!-- TimeLine -->
<link href="css/timeline.css" rel="stylesheet">
<!-- Animations -->
<link href="css/animate.css" rel="stylesheet">
<!-- Bootstrap datetimepicker -->
<link href="css/bootstrap-datetimepicker.min.css" rel="stylesheet">
<!-- Morris -->
<link href="css/morris.css" rel="stylesheet">
<!-- Full Calendar -->
<link href="css/fullcalendar.css" rel="stylesheet">
<!-- Zabuto Calendar -->
<link href="css/zabuto_calendar.min.css" rel="stylesheet">
<!-- jQuery DataTables -->
<link href="css/bootstrap-datatables.css" rel="stylesheet">
<!-- fancyBox -->
<link href="css/jquery.fancybox.css" rel="stylesheet">
<!-- Styles -->
<link href="css/aqua.css" rel="stylesheet">
<!-- Fonts -->
<!-- <link href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet"> -->
<link href="http://brick.a.ssl.fastly.net/Open+Sans:300,400,600,700" rel="stylesheet">
<link href="css/ionicons.min.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="wrapper">
<nav class="navbar navbar-default navbar-aqua navbar-fixed-top" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="dashboard.html" title="Dashboard"><i class="ion ion-waterdrop"></i> <span class="visible-inline-xs">Aqua</span></a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav side-nav">
<li>
<div class="user-info-wrap">
<div class="user-image">
<img src="img/avatar.jpg" class="img-circle" width="65" height="65">
</div>
<div class="user-info">
<div class="username">John <strong>Doe</strong></div>
<div class="status text-uppercase"><i class="fa fa-circle color-green"></i> Online</div>
</div>
</div>
</li>
<li><a href="dashboard.html" title="Dashboard"><i class="fa fa-dashboard primary"></i>Dashboard</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-desktop success"></i>UI Elements <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="general.html" title="General">General</a></li>
<li><a href="buttons.html" title="Buttons">Buttons</a></li>
<li><a href="panels.html" title="Panels">Panels</a></li>
<li><a href="font-awesome.html" title="Font Awesome">Font Awesome</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cogs info"></i>Components <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="grid.html" title="Grid">Grid</a></li>
<li><a href="calendar.html" title="Calendar">Calendar</a></li>
<li><a href="gallery.html" title="Gallery">Gallery</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-book warning"></i>Extra Pages <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="sign-in.html" title="Sign In" data-type="out">Sign In</a></li>
<li><a href="sign-up.html" title="Sign Up" data-type="out">Sign Up</a></li>
<li><a href="pricing-tables.html" title="Pricing Tables">Pricing Tables</a></li>
<li><a href="blank-page.html" title="Blank Page">Blank Page</a></li>
<li><a href="404.html" title="404 Error">404 Error</a></li>
<li><a href="500.html" title="500 Error">500 Error</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-tasks danger"></i>Forms <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="form-components.html" title="Form Components">Form Components</a></li>
<li class="active"><a href="advanced-components.html" title="Advanced Components">Advanced Components</a></li>
<li><a href="form-validation.html" title="Form Validation">Form Validation</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-th primary"></i>Data Tables <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="normal-pagination.html" title="Normal Pagination">Normal Pagination</a></li>
<li><a href="2-button-pagination.html" title="2 Button Pagination">2 Button Pagination</a></li>
<li><a href="4-button-pagination.html" title="4 Button Pagination">4 Button Pagination</a></li>
<li><a href="full-pagination.html" title="Full Pagination">Full Pagination</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-bar-chart-o info"></i>Charts <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="morris.html" title="Morris">Morris</a></li>
<li><a href="chartjs.html" title="Chartjs">Chartjs</a></li>
<li><a href="flot.html" title="Flot">Flot</a></li>
</ul>
</li>
</ul>
<ul class="nav navbar-nav">
<li class="hidden-xs aqua-search">
<form class="navbar-form navbar-left" role="search">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search.."/>
<div class="input-group-btn">
<button type="submit" class="btn btn-inverse"><i class="ion ion-search"></i></button>
</div>
</div>
</form>
</li>
</ul>
<ul class="nav navbar-nav navbar-right navbar-top-links">
<li class="dropdown dropdown-aqua">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" title="Messages">
<i class="ion ion-ios7-chatbubble ion-2x"></i>
<span class="visible-inline-xs">Messages</span>
<span class="badge notify-badge">4</span>
</a>
<ul class="dropdown-menu">
<li class="dropdown-header">
<p>You have 4 new messages</p>
</li>
<li>
<a href="#">
<img width="38" height="38" src="img/avatar.jpg" class="img-circle" />
Lorem ipsum dolor sit amet...
<span class="time small italic">15 mins</span>
</a>
</li>
<li>
<a href="#">
<img width="38" height="38" src="img/avatar.jpg" class="img-circle" />
Duis aute irure dolor in reprehenderit...
<span class="time small italic">45 mins</span>
</a>
</li>
<li>
<a href="#">
<img width="38" height="38" src="img/avatar.jpg" class="img-circle" />
Cum sociis natoque penatibus et magnis...
<span class="time small italic">5 hrs</span>
</a>
</li>
<li>
<a href="#">
<img width="38" height="38" src="img/avatar.jpg" class="img-circle" />
Cum sociis natoque penatibus et magnis...
<span class="time small italic">5 hrs</span>
</a>
</li>
<li>
<a href="#">See all messages</a>
</li>
</ul>
</li>
<li class="dropdown dropdown-aqua">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" title="Notifications">
<i class="ion ion-ios7-bell ion-2x"></i>
<span class="visible-inline-xs">Notifications</span>
<span class="badge notify-badge">3</span>
</a>
<ul class="dropdown-menu">
<li class="dropdown-header">
<p>You have 3 new notifications</p>
</li>
<li>
<a href="#">
<span class="label label-danger"><i class="fa fa-bolt"></i></span>
Lorem ipsum dolor sit amet.
<span class="time small italic">5 mins</span>
</a>
</li>
<li>
<a href="#">
<span class="label label-warning"><i class="fa fa-bell"></i></span>
Duis aute irure dolor in reprehenderit.
<span class="time small italic">30 mins</span>
</a>
</li>
<li>
<a href="#">
<span class="label label-danger"><i class="fa fa-bolt"></i></span>
Cum sociis natoque penatibus et magnis.
<span class="time small italic">2 hrs</span>
</a>
</li>
<li>
<a href="#">See all notifications</a>
</li>
</ul>
</li>
<li>
<a href="#" title="Full screen" class="fullscreen visible-md visible-lg">
<i class="ion ion-arrow-expand ion-2x"></i>
</a>
</li>
<li class="dropdown user-dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="ion ion-ios7-person ion-2x"></i>
<span class="visible-inline-xs">Profile</span>
</a>
<ul class="dropdown-menu">
<li><a href="#"><i class="ion ion-ios7-person"></i> Profile</a></li>
<li><a href="#"><i class="ion ion-ios7-gear"></i> Settings</a></li>
<li class="divider"></li>
<li><a href="sign-in.html" data-type="out"><i class="ion ion-log-out"></i> Sign Out</a></li>
</ul>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</nav>
<div id="content" class="container-aqua animated">
<div class="row row-aqua">
<div class="col-md-12">
<h1 class="section-title">Advanced Components</h1>
</div>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Default datetimepicker</h3>
</div>
<div class="panel-body">
<form class="form-horizontal style-form" method="get">
<div class="form-group">
<label class="col-md-2 control-label">Date & Time</label>
<div class="col-md-10">
<div class='input-group date' id='datetimepicker1'>
<input type='text' class="form-control" />
<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Date picker</h3>
</div>
<div class="panel-body">
<form class="form-horizontal style-form" method="get">
<div class="form-group">
<label class="col-md-2 control-label">Date</label>
<div class="col-md-10">
<div class='input-group date' id='datetimepicker2'>
<input type='text' class="form-control" />
<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Time picker</h3>
</div>
<div class="panel-body">
<form class="form-horizontal style-form" method="get">
<div class="form-group">
<label class="col-md-2 control-label">Time</label>
<div class="col-md-10">
<div class='input-group date' id='datetimepicker3'>
<input type='text' class="form-control" />
<span class="input-group-addon"><span class="glyphicon glyphicon-time"></span>
</span>
</div>
</div>
</div>
</form>
</div>
</div>
</div><!-- /.col-md-6 -->
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Available functions</h3>
</div>
<div class="panel-body">
<form class="form-horizontal style-form" method="get">
<div class="form-group">
<label class="col-md-2 control-label">Date & Time</label>
<div class="col-md-10">
<div class='input-group date' id='datetimepicker4'>
<input type='text' class="form-control" />
<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
<br />
<button id="setMinDate" class="btn btn-primary">setMinDate</button>
<button id="setMaxDate" class="btn btn-primary">setMaxDate</button>
<button id="show" class="btn btn-primary">show</button>
<button id="disable" class="btn btn-primary">disable</button>
<button id="enable" class="btn btn-primary">enable</button>
<button id="setDate" class="btn btn-primary">setDate</button>
<button id="getDate" class="btn btn-primary">getDate</button>
</div>
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Custom format</h3>
</div>
<div class="panel-body">
<form class="form-horizontal style-form" method="get">
<div class="form-group">
<label class="col-md-2 control-label">Date</label>
<div class="col-md-10">
<div class='input-group date' id='datetimepicker5' data-date-format="YYYY/MM/DD">
<input type='text' class="form-control" />
<span class="input-group-addon"><span class="glyphicon glyphicon-time"></span>
</span>
</div>
</div>
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Events & linked pickers</h3>
</div>
<div class="panel-body">
<form class="form-horizontal style-form" method="get">
<div class="form-group">
<label class="col-md-2 control-label">Date & Time</label>
<div class="col-md-5">
<div class="form-group">
<div class='input-group date' id='datetimepicker6'>
<input type='text' class="form-control" />
<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
</div>
<div class="col-md-5">
<div class="form-group">
<div class='input-group date' id='datetimepicker7'>
<input type='text' class="form-control" />
<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div><!-- /.col-md-6 -->
</div>
</div><!-- /.container-aqua -->
</div><!-- /#wrapper -->
<!-- JavaScript - Placed at the end of the document so the pages load faster -->
<!-- jQuery -->
<script src="js/jquery-1.11.0.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script src="js/bootstrap.min.js"></script>
<!-- Bootstrap datetimepicker -->
<script src="js/moment.min.js"></script>
<script src="js/bootstrap-datetimepicker.min.js"></script>
<!-- Raphael -->
<script src="js/raphael-min.js"></script>
<!-- Raphael & Chartjs -->
<script src="js/Chart.min.js"></script>
<!-- Morris -->
<script src="js/morris.min.js"></script>
<!-- Flot Chart -->
<script src="js/flot/jquery.flot.js"></script>
<script src="js/flot/jquery.flot.resize.js"></script>
<script src="js/flot/jquery.flot.stack.js"></script>
<script src="js/flot/jquery.flot.crosshair.js"></script>
<!-- Full Calendar -->
<script src="js/fullcalendar.min.js"></script>
<!-- Zabuto Calendar -->
<script src="js/zabuto_calendar.min.js"></script>
<!-- jQuery DataTables -->
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/bootstrap-datatables.js"></script>
<!-- fancyBox -->
<script src="js/jquery.fancybox.pack.js"></script>
<!-- miniNotification -->
<script src="js/miniNotification.js"></script>
<!-- Aqua specific JavaScripts -->
<script src="js/aqua.js"></script>
<!-- Page specific JavaScripts -->
<script>
$(function () {
$('#datetimepicker1').datetimepicker();
$('#datetimepicker2').datetimepicker({
pickTime: false
});
$('#datetimepicker3').datetimepicker({
pickDate: false
});
$('#datetimepicker4').datetimepicker({
pick12HourFormat: false
});
$("#setMinDate").click(function () {
$('#datetimepicker4').data("DateTimePicker").setMinDate(new Date("june 12, 2013"));
});
$("#setMaxDate").click(function () {
$('#datetimepicker4').data("DateTimePicker").setMaxDate(new Date("july 4, 2013"));
});
$("#show").click(function () {
$('#datetimepicker4').data("DateTimePicker").show();
});
$("#disable").click(function () {
$('#datetimepicker4').data("DateTimePicker").disable();
});
$("#enable").click(function () {
$('#datetimepicker4').data("DateTimePicker").enable();
});
$("#setDate").click(function () {
$('#datetimepicker4').data("DateTimePicker").setDate("10/23/2013");
});
$("#getDate").click(function () {
alert($('#datetimepicker4').data("DateTimePicker").getDate());
});
$('#datetimepicker5').datetimepicker({
pickTime: false
});
$('#datetimepicker6').datetimepicker();
$('#datetimepicker7').datetimepicker();
$("#datetimepicker6").on("dp.change",function (e) {
$('#datetimepicker7').data("DateTimePicker").setMinDate(e.date);
});
$("#datetimepicker7").on("dp.change",function (e) {
$('#datetimepicker6').data("DateTimePicker").setMaxDate(e.date);
});
});
</script>
</body>
</html>