forked from VinceG/Bootstrap-Admin-Theme
-
Notifications
You must be signed in to change notification settings - Fork 2
/
interface.html
611 lines (586 loc) · 25.2 KB
/
interface.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
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
<!DOCTYPE html>
<html>
<head>
<title>Interface</title>
<!-- Bootstrap -->
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen">
<link href="assets/styles.css" rel="stylesheet" media="screen">
<link href="vendors/jGrowl/jquery.jgrowl.css" rel="stylesheet" media="screen">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Admin Panel</a>
<div class="nav-collapse collapse">
<ul class="nav pull-right">
<li class="dropdown">
<a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown"> <i class="icon-user"></i> Vincent Gabriel <i class="caret"></i>
</a>
<ul class="dropdown-menu">
<li>
<a tabindex="-1" href="#">Profile</a>
</li>
<li class="divider"></li>
<li>
<a tabindex="-1" href="login.html">Logout</a>
</li>
</ul>
</li>
</ul>
<ul class="nav">
<li class="active">
<a href="#">Dashboard</a>
</li>
<li class="dropdown">
<a href="#" data-toggle="dropdown" class="dropdown-toggle">Settings <b class="caret"></b>
</a>
<ul class="dropdown-menu" id="menu1">
<li>
<a href="#">Tools <i class="icon-arrow-right"></i>
</a>
<ul class="dropdown-menu sub-menu">
<li>
<a href="#">Reports</a>
</li>
<li>
<a href="#">Logs</a>
</li>
<li>
<a href="#">Errors</a>
</li>
</ul>
</li>
<li>
<a href="#">SEO Settings</a>
</li>
<li>
<a href="#">Other Link</a>
</li>
<li class="divider"></li>
<li>
<a href="#">Other Link</a>
</li>
<li>
<a href="#">Other Link</a>
</li>
</ul>
</li>
<li class="dropdown">
<a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">Content <i class="caret"></i>
</a>
<ul class="dropdown-menu">
<li>
<a tabindex="-1" href="#">Blog</a>
</li>
<li>
<a tabindex="-1" href="#">News</a>
</li>
<li>
<a tabindex="-1" href="#">Custom Pages</a>
</li>
<li>
<a tabindex="-1" href="#">Calendar</a>
</li>
<li class="divider"></li>
<li>
<a tabindex="-1" href="#">FAQ</a>
</li>
</ul>
</li>
<li class="dropdown">
<a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">Users <i class="caret"></i>
</a>
<ul class="dropdown-menu">
<li>
<a tabindex="-1" href="#">User List</a>
</li>
<li>
<a tabindex="-1" href="#">Search</a>
</li>
<li>
<a tabindex="-1" href="#">Permissions</a>
</li>
</ul>
</li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span3" id="sidebar">
<ul class="nav nav-list bs-docs-sidenav nav-collapse collapse">
<li>
<a href="index.html"><i class="icon-chevron-right"></i> Dashboard</a>
</li>
<li>
<a href="calendar.html"><i class="icon-chevron-right"></i> Calendar</a>
</li>
<li>
<a href="stats.html"><i class="icon-chevron-right"></i> Statistics (Charts)</a>
</li>
<li>
<a href="form.html"><i class="icon-chevron-right"></i> Forms</a>
</li>
<li>
<a href="tables.html"><i class="icon-chevron-right"></i> Tables</a>
</li>
<li>
<a href="buttons.html"><i class="icon-chevron-right"></i> Buttons & Icons</a>
</li>
<li>
<a href="editors.html"><i class="icon-chevron-right"></i> WYSIWYG Editors</a>
</li>
<li class="active">
<a href="interface.html"><i class="icon-chevron-right"></i> UI & Interface</a>
</li>
<li>
<a href="#"><span class="badge badge-success pull-right">731</span> Orders</a>
</li>
<li>
<a href="#"><span class="badge badge-success pull-right">812</span> Invoices</a>
</li>
<li>
<a href="#"><span class="badge badge-info pull-right">27</span> Clients</a>
</li>
<li>
<a href="#"><span class="badge badge-info pull-right">1,234</span> Users</a>
</li>
<li>
<a href="#"><span class="badge badge-info pull-right">2,221</span> Messages</a>
</li>
<li>
<a href="#"><span class="badge badge-info pull-right">11</span> Reports</a>
</li>
<li>
<a href="#"><span class="badge badge-important pull-right">83</span> Errors</a>
</li>
<li>
<a href="#"><span class="badge badge-warning pull-right">4,231</span> Logs</a>
</li>
</ul>
</div>
<!--/span-->
<div class="span9" id="content">
<div class="row-fluid">
<!-- block -->
<div class="block">
<div class="navbar navbar-inner block-header">
<div class="muted pull-left">Alerts</div>
</div>
<div class="block-content collapse in">
<div class="span12">
<div class="alert">
<button class="close" data-dismiss="alert">×</button>
<strong>Warning!</strong> This is a warning message.
</div>
<div class="alert alert-success">
<button class="close" data-dismiss="alert">×</button>
<strong>Success!</strong> This is a success message.
</div>
<div class="alert alert-info">
<button class="close" data-dismiss="alert">×</button>
<strong>Info!</strong> This is an information message.
</div>
<div class="alert alert-error">
<button class="close" data-dismiss="alert">×</button>
<strong>Error!</strong> This is an error message.
</div>
<h4>Block Alerts</h4>
<div class="alert alert-block">
<a class="close" data-dismiss="alert" href="#">×</a>
<h4 class="alert-heading">Warning!</h4>
Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
</div>
<div class="alert alert-success alert-block">
<a class="close" data-dismiss="alert" href="#">×</a>
<h4 class="alert-heading">Success!</h4>
Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
</div>
<div class="alert alert-info alert-block">
<a class="close" data-dismiss="alert" href="#">×</a>
<h4 class="alert-heading">Info!</h4>
Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
</div>
<div class="alert alert-error alert-block">
<a class="close" data-dismiss="alert" href="#">×</a>
<h4 class="alert-heading">Error!</h4>
Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
</div>
</div>
</div>
</div>
<!-- /block -->
</div>
<div class="row-fluid">
<div class="span6">
<!-- block -->
<div class="block">
<div class="navbar navbar-inner block-header">
<div class="muted pull-left">Progress Bars</div>
</div>
<div class="block-content collapse in">
<div class="span12">
<h4>Basic progress bars</h4>
<div class="progress">
<div style="width: 60%;" class="bar"></div>
</div>
<div class="progress progress-success">
<div style="width: 60%;" class="bar"></div>
</div>
<div class="progress progress-warning">
<div style="width: 60%;" class="bar"></div>
</div>
<div class="progress progress-danger">
<div style="width: 60%;" class="bar"></div>
</div>
<h4>Striped progress bars</h4>
<div class="alert">
Internet Explorer doesn't support striped progress bars!
</div>
<div class="progress progress-striped">
<div style="width: 60%;" class="bar"></div>
</div>
<div class="progress progress-striped progress-success">
<div style="width: 60%;" class="bar"></div>
</div>
<div class="progress progress-striped progress-warning">
<div style="width: 60%;" class="bar"></div>
</div>
<div class="progress progress-striped progress-danger">
<div style="width: 60%;" class="bar"></div>
</div>
<h4>Animated progress bars</h4>
<div class="alert">
Internet Explorer doesn't support animated progress bars!
</div>
<div class="progress progress-striped active">
<div style="width: 60%;" class="bar"></div>
</div>
<div class="progress progress-striped progress-success active">
<div style="width: 60%;" class="bar"></div>
</div>
<div class="progress progress-striped progress-warning active">
<div style="width: 60%;" class="bar"></div>
</div>
<div class="progress progress-striped progress-danger active">
<div style="width: 60%;" class="bar"></div>
</div>
</div>
</div>
</div>
<!-- /block -->
</div>
<div class="span6">
<!-- block -->
<div class="block">
<div class="navbar navbar-inner block-header">
<div class="muted pull-left">Labels & Badges</div>
</div>
<div class="block-content collapse in">
<div class="span12">
<h4>Available labels</h4>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Labels</th>
<th>Markup</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<span class="label">Default</span>
</td>
<td>
<code><span class="label"></code>
</td>
</tr>
<tr>
<td>
<span class="label label-success">Success</span>
</td>
<td>
<code><span class="label label-success"></code>
</td>
</tr>
<tr>
<td>
<span class="label label-warning">Warning</span>
</td>
<td>
<code><span class="label label-warning"></code>
</td>
</tr>
<tr>
<td>
<span class="label label-important">Important</span>
</td>
<td>
<code><span class="label label-important"></code>
</td>
</tr>
<tr>
<td>
<span class="label label-info">Info</span>
</td>
<td>
<code><span class="label label-info"></code>
</td>
</tr>
<tr>
<td>
<span class="label label-inverse">Inverse</span>
</td>
<td>
<code><span class="label label-inverse"></code>
</td>
</tr>
</tbody>
</table>
<h4>Available badges</h4>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Name</th>
<th>Example</th>
<th>Markup</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Default
</td>
<td>
<span class="badge">1</span>
</td>
<td>
<code><span class="badge"></code>
</td>
</tr>
<tr>
<td>
Success
</td>
<td>
<span class="badge badge-success">2</span>
</td>
<td>
<code><span class="badge badge-success"></code>
</td>
</tr>
<tr>
<td>
Warning
</td>
<td>
<span class="badge badge-warning">4</span>
</td>
<td>
<code><span class="badge badge-warning"></code>
</td>
</tr>
<tr>
<td>
Important
</td>
<td>
<span class="badge badge-important">6</span>
</td>
<td>
<code><span class="badge badge-important"></code>
</td>
</tr>
<tr>
<td>
Info
</td>
<td>
<span class="badge badge-info">8</span>
</td>
<td>
<code><span class="badge badge-info"></code>
</td>
</tr>
<tr>
<td>
Inverse
</td>
<td>
<span class="badge badge-inverse">10</span>
</td>
<td>
<code><span class="badge badge-inverse"></code>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- /block -->
</div>
</div>
<div class="row-fluid">
<div class="span6">
<!-- block -->
<div class="block">
<div class="navbar navbar-inner block-header">
<div class="muted pull-left">Tooltips, Popovers & Pagination</div>
</div>
<div class="block-content collapse in">
<div class="span12">
<h4></h4>
<div style="padding:50px;">
<button class="btn tooltip-top" data-original-title="Tooltip in top">Top</button>
<button class="btn tooltip-left" data-original-title="Tooltip in left">Left</button>
<button class="btn tooltip-right" data-original-title="Tooltip in right">Right</button>
<button class="btn tooltip-bottom" data-original-title="Tooltip in bottom">Bottom</button>
</div>
<div style="padding-left:50%;">
<button class="btn popover-top" data-original-title="Popover in top">Top</button>
<button class="btn popover-left" data-original-title="Popover in left">Left</button>
</div>
<div style="padding-left:20%;">
<button class="btn popover-right" data-original-title="Popover in right">Right</button>
<button class="btn popover-bottom" data-original-title="Popover in bottom">Bottom</button>
</div>
<div class="pagination">
<ul>
<li><a href="#">Prev</a></li>
<li class="active">
<a href="#">1</a>
</li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">Next</a></li>
</ul>
</div>
<div class="pagination pagination-small">
<ul>
<li class="disabled"><a href="#">Prev</a></li>
<li class="active">
<a href="#">1</a>
</li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">Next</a></li>
</ul>
</div>
<div class="pagination pagination-mini">
<ul>
<li class="disabled"><a href="#">Prev</a></li>
<li class="active">
<a href="#">1</a>
</li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">Next</a></li>
</ul>
</div>
</div>
</div>
</div>
<!-- /block -->
</div>
<div class="span6">
<!-- block -->
<div class="block">
<div class="navbar navbar-inner block-header">
<div class="muted pull-left">Modals & Notifications</div>
</div>
<div class="block-content collapse in">
<div class="span12">
<a href="#myModal" data-toggle="modal" class="btn btn-primary">Modal dialog</a>
<a href="#myAlert" data-toggle="modal" class="btn btn-danger">Alert</a>
<div id="myModal" class="modal hide">
<div class="modal-header">
<button data-dismiss="modal" class="close" type="button">×</button>
<h3>Modal header</h3>
</div>
<div class="modal-body">
<p>Modal Example Body</p>
</div>
</div>
<div id="myAlert" class="modal hide">
<div class="modal-header">
<button data-dismiss="modal" class="close" type="button">×</button>
<h3>Alert modal</h3>
</div>
<div class="modal-body">
<p>Lorem ipsum dolor sit amet...</p>
</div>
<div class="modal-footer">
<a data-dismiss="modal" class="btn btn-primary" href="#">Confirm</a>
<a data-dismiss="modal" class="btn" href="#">Cancel</a>
</div>
</div>
<div style="margin-top: 20px;">
<button class="btn notification" id="notification">Notification</button><br />
<button class="btn notification" id="notification-sticky">Sticky Notification</button><br />
<button class="btn notification" id="notification-header">Notification With Header</button>
</div>
</div>
</div>
</div>
<!-- /block -->
</div>
</div>
</div>
</div>
<hr>
<footer>
<p>© Vincent Gabriel 2013</p>
</footer>
</div>
<!--/.fluid-container-->
<script src="vendors/jquery-1.9.1.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="vendors/jGrowl/jquery.jgrowl.js"></script>
<script src="assets/scripts.js"></script>
<script>
$(function() {
$('.tooltip').tooltip();
$('.tooltip-left').tooltip({ placement: 'left' });
$('.tooltip-right').tooltip({ placement: 'right' });
$('.tooltip-top').tooltip({ placement: 'top' });
$('.tooltip-bottom').tooltip({ placement: 'bottom' });
$('.popover-left').popover({placement: 'left', trigger: 'hover'});
$('.popover-right').popover({placement: 'right', trigger: 'hover'});
$('.popover-top').popover({placement: 'top', trigger: 'hover'});
$('.popover-bottom').popover({placement: 'bottom', trigger: 'hover'});
$('.notification').click(function() {
var $id = $(this).attr('id');
switch($id) {
case 'notification-sticky':
$.jGrowl("Stick this!", { sticky: true });
break;
case 'notification-header':
$.jGrowl("A message with a header", { header: 'Important' });
break;
default:
$.jGrowl("Hello world!");
break;
}
});
});
</script>
</body>
</html>