-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocs.html
More file actions
executable file
·629 lines (601 loc) · 34.3 KB
/
docs.html
File metadata and controls
executable file
·629 lines (601 loc) · 34.3 KB
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
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Mobile first web app theme | first</title>
<meta name="description" content="mobile first, app, web app, responsive, admin dashboard, flat, flat ui">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/plugin.css">
<link rel="stylesheet" href="css/style.css">
<!--[if lt IE 9]>
<script src="js/ie/respond.min.js"></script>
<script src="js/ie/html5.js"></script>
<script src="js/ie/excanvas.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#nav">
<!-- header -->
<header id="header" class="navbar">
<ul class="nav navbar-nav navbar-avatar pull-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span class="hidden-xs-only">Mika Sokeil</span>
<span class="thumb-small avatar inline"><img src="images/avatar.jpg" alt="Mika Sokeil" class="img-circle"></span>
<b class="caret hidden-xs-only"></b>
</a>
<ul class="dropdown-menu">
<li><a href="#">Settings</a></li>
<li><a href="#">Profile</a></li>
<li><a href="#"><span class="badge bg-danger pull-right">3</span>Notifications</a></li>
<li class="divider"></li>
<li><a href="docs.html">Help</a></li>
<li><a href="signin.html">Logout</a></li>
</ul>
</li>
</ul>
<a class="navbar-brand" href="#">first</a>
<button type="button" class="btn btn-link pull-left nav-toggle visible-xs" data-toggle="class:slide-nav slide-nav-left" data-target="body">
<i class="icon-reorder icon-xlarge text-default"></i>
</button>
<ul class="nav navbar-nav hidden-xs">
<li>
<div class="m-t m-b-small" id="panel-notifications">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-comment-alt icon-xlarge text-default"></i><b class="badge badge-notes bg-danger count-n">2</b></a>
<section class="dropdown-menu m-l-small m-t-mini">
<section class="panel panel-large arrow arrow-top">
<header class="panel-heading bg-white"><span class="h5"><strong>You have <span class="count-n">2</span> notifications</strong></span></header>
<div class="list-group">
<a href="#" class="media list-group-item">
<span class="pull-left thumb-small"><img src="images/avatar.jpg" alt="John said" class="img-circle"></span>
<span class="media-body block m-b-none">
Moved to Bootstrap 3.0<br>
<small class="text-muted">23 June 13</small>
</span>
</a>
<a href="#" class="media list-group-item">
<span class="media-body block m-b-none">
first v.1 (Bootstrap 2.3 based) released<br>
<small class="text-muted">19 June 13</small>
</span>
</a>
</div>
<footer class="panel-footer text-small">
<a href="#" class="pull-right"><i class="icon-cog"></i></a>
<a href="#">See all the notifications</a>
</footer>
</section>
</section>
</div>
</li>
<li><div class="m-t-small"><a class="btn btn-sm btn-info" data-toggle="modal" href="#modal"><i class="icon-plus"></i> POST</a></div></li>
<li class="dropdown shift" data-toggle="shift:appendTo" data-target=".nav-primary .nav">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-cog icon-xlarge visible-xs visible-xs-inline"></i>Settings <b class="caret hidden-sm-only"></b></a>
<ul class="dropdown-menu">
<li>
<a href="#" data-toggle="class:navbar-fixed" data-target='body'>Navbar
<span class="text-active">auto</span>
<span class="text">fixed</span>
</a>
</li>
<li class="hidden-xs">
<a href="#" data-toggle="class:nav-vertical" data-target="#nav">Nav
<span class="text-active">vertical</span>
<span class="text">horizontal</span>
</a>
</li>
<li class="divider hidden-xs"></li>
<li class="dropdown-header">Colors</li>
<li>
<a href="#" data-toggle="class:bg bg-black" data-target='.navbar'>Navbar
<span class="text-active">white</span>
<span class="text">inverse</span>
</a>
</li>
<li>
<a href="#" data-toggle="class:bg-light" data-target='#nav'>Nav
<span class="text-active">inverse</span>
<span class="text">light</span>
</a>
</li>
</ul>
</li>
</ul>
<form class="navbar-form pull-left shift" action="" data-toggle="shift:appendTo" data-target=".nav-primary">
<i class="icon-search text-muted"></i>
<input type="text" class="input-sm form-control" placeholder="Search">
</form>
</header>
<!-- / header -->
<!-- nav -->
<nav id="nav" class="nav-primary nav-doc hidden-xs bg-light">
<ul class="nav m-t-small" data-spy="affix" data-offset-top="50">
<li class="dropdown-header">Documents</li>
<li class="active"><a href="#bootstrap">Bootstrap</a></li>
<li class="dropdown-header">CSS</li>
<li><a href="#overview">Overview</a></li>
<li><a href="#icons">Icons</a></li>
<li><a href="#btn-circle">Circle buttons</a></li>
<li><a href="#progress">Progress</a></li>
<li><a href="#list-group">List group</a></li>
<li><a href="#panel">Panel</a></li>
<li><a href="#mobile">Mobile</a></li>
<li class="dropdown-header">Components</li>
<li><a href="#toggle-class">Toggle class</a></li>
<li><a href="#shift">Shift</a></li>
<li><a href="#button-state">Button state</a></li>
<li><a href="#combodate">Combodate</a></li>
<li><a href="#file-input">File input</a></li>
<li><a href="#sparkline">Sparkline</a></li>
<li><a href="#easy-pie-chart">Easy pie chart</a></li>
<li><a href="#datepicker">Datepicker</a></li>
<li><a href="#slider">Slider</a></li>
<li><a href="#dropdown-select">Dropdown select</a></li>
<li><a href="#fullcalendar">Fullcalendar</a></li>
<li><a href="#fuelux">Fuelux</a></li>
<li><a href="#datatables">DataTables</a></li>
<li><a href="#select2">Select2</a></li>
</ul>
</nav>
<!-- / nav -->
<section id="content">
<section class="main bg-white" id="docs">
<div class="clearfix padder">
<h2>Documents</h2>
<p id="bootstrap">For the bootstrap css and components, please check the <strong><a href="http://getbootstrap.com/">Bootstrap</a></strong></p>
<h3>CSS <small>Extensible classes</small></h3>
<div class="line"></div>
<h4 id="overview">Overview</h4>
<p>first is a mobile first web app / admin dashboard theme with flat ui, it's lightweight but with many components suit to your need. it's fully responsive, the widgets and components are mobile first.</p>
<h4>Features:</h4>
<ul>
<li>Lightweight</li>
<li>Flat ui with clean style</li>
<li>Many components</li>
<li>Mobile widgets</li>
<li>Base on Bootstrap 3(v.2)</li>
<li>Html5 Markup & CSS3</li>
<li>Easy colors change base on Color Scheme</li>
<li>Slide and Fade carousel</li>
<li>Panel and List group mobile widgets</li>
<li>Enhanced lightweight Chart components</li>
<li>Shift js let you move the Dom when screen change</li>
</ul>
<h4>Change log</h4>
<h5><strong>v.2.3</strong></h5>
<ul>
<li>Add Parsley.js for form validate</li>
<li>Add Fuelux Wizard</li>
<li>Form wizard with Parsley</li>
<li>Add DataTables</li>
</ul>
<h5><strong>v.2.2</strong></h5>
<ul>
<li>Add Dropdown select</li>
<li>Add Datepicker</li>
<li>Add Slider</li>
<li>Add Fullcalendar</li>
<li>Add Fuelux</li>
<li>Add Datagrid for dynamic table</li>
<li>Add Nav slide left/right for mobile use</li>
</ul>
<h5><strong>v.2.1</strong></h5>
<ul>
<li>Nav badge support</li>
<li>Add .no-touch on html if device have no touch interface</li>
<li>Add sidebar for layout use</li>
<li>Add mail app page</li>
<li>Some bugs fixed</li>
</ul>
<h5><strong>v.2.0</strong></h5>
<ul>
<li>Move to Bootstrap 3.0</li>
<li>Bootstrap 3.0 input ie8 fixed</li>
<li>Use new 3.0 grid system</li>
<li>Add some components</li>
<li>Add modal example</li>
<li>Nav fixed support</li>
<li>Some bugs fixed</li>
</ul>
<h5><strong>v.1.0</strong></h5>
<ul>
<li>Initial Release with bootstrap 2.3.2</li>
</ul>
<h4>Credits:</h4>
<ul>
<li><a href="http://fortawesome.github.io/Font-Awesome/">FontAwesome</a></li>
<li><a href="http://github.com/vitalets/combodate">Combodate</a></li>
<li><a href="http://github.com/grevory/bootstrap-file-input">File input</a></li>
<li><a href="http://omnipotent.net/jquery.sparkline/">Sparkline</a></li>
<li><a href="http://github.com/rendro/easy-pie-chart/">Easy Pie Chart</a></li>
<li><a href="http://www.eyecon.ro/bootstrap-datepicker">Datepicker</a></li>
<li><a href="http://www.eyecon.ro/bootstrap-slider">Slider</a></li>
<li><a href="http://arshaw.com/fullcalendar/">Fullcalendar</a></li>
<li><a href="https://github.com/furf/jquery-ui-touch-punch">jQuery UI Touch Punch</a></li>
<li><a href="https://github.com/ExactTarget/fuelux">Fuelux</a></li>
<li><a href="http://datatables.net/">DataTables</a></li>
<li><a href="http://parsleyjs.org/">Parsley.js</a></li>
</ul>
<h4 id="icons" class="m-t-large">Icons</h4>
<p>Use FontAwesome font icons, over 361 icons with version 3.2 and more will be added in the future, check <strong><a href="http://fortawesome.github.io/Font-Awesome/">FontAwesome</a></strong> for more details to see how to use and examples</p>
<h4 id="btn-circle" class="m-t-large">Circle buttons</h4>
<p>Circle button extended the Bootstrap button class, but need put a icon in and add the <code>.btn-circle</code> class on the button.</p>
<h5><strong>Button options</strong></h5>
<p class="doc-buttons">
<button href="#" class="btn btn-circle"><i class="icon-envelope-alt"></i>Normal</button>
<button href="#" class="btn btn-primary btn-circle"><i class="icon-lightbulb"></i>Primary</button>
<button href="#" class="btn btn-success btn-circle"><i class="icon-check"></i>Success</button>
<button href="#" class="btn btn-info btn-circle"><i class="icon-bar-chart"></i>Info</button>
<button href="#" class="btn btn-inverse btn-circle"><i class="icon-time"></i>Inverse</button>
<button href="#" class="btn btn-warning btn-circle"><i class="icon-calendar-empty"></i>Warning</button>
<button href="#" class="btn btn-danger btn-circle"><i class="icon-group"></i>Danger</button>
<button href="#" class="btn btn-white btn-circle"><i class="icon-plus"></i>White</button>
</p>
<p>Support <code>.btn-primary</code>, <code>.btn-success</code>, <code>.btn-info</code>, <code>.btn-inverse</code>, <code>.btn-warning</code>, <code>.btn-danger</code>, <code>.btn-white</code></p>
<p>Cross browser compatibility<br>
IE8 doesn't support rounded corners, the circle button become to a square button
</p>
<h5><strong>Button size</strong></h5>
<p>Fancy larger or smaller buttons? Add <code>.btn-lg</code> or <code>.btn-sm</code> or <code>.btn-xs</code> for additional sizes.</p>
<p class="doc-buttons">
<button href="#" class="btn btn-lg btn-circle"><i class="icon-envelope-alt"></i>Large</button>
<button href="#" class="btn btn-circle"><i class="icon-lightbulb"></i>Normal</button>
<button href="#" class="btn btn-sm btn-circle"><i class="icon-check"></i>Small</button>
<button href="#" class="btn btn-xs btn-circle"><i class="icon-bar-chart"></i>Mini</button>
</p>
<h5><strong>Disabled state</strong></h5>
<p>Add <code>.disabled</code>for disabled state.</p>
<p class="doc-buttons">
<button href="#" class="btn btn-circle disabled" ><i class="icon-envelope-alt"></i>Disabled</button>
</p>
<h4 id="progress" class="m-t-large">Progress</h4>
<p>Added bar sizes on progress bar. Add <code>.progress-mini</code> or <code>.progress-small</code></p>
<div class="progress progress-mini m-t-small" style="max-width:280px;">
<div class="progress-bar progress-bar-info" data-toggle="tooltip" data-original-title="40%" style="width: 40%"></div>
</div>
<div class="progress progress-small progress-striped active" style="max-width:280px;">
<div class="progress-bar progress-bar-success" data-toggle="tooltip" data-original-title="30%" style="width: 30%"></div>
</div>
<div class="progress" style="max-width:280px;">
<div class="progress-bar bg-danger" data-toggle="tooltip" data-original-title="20%" style="width: 20%"></div>
</div>
<h4 id="list-group" class="m-t-large">List group</h4>
<p>List groups are a flexible and powerful component for displaying not only simple lists of elements, but complex ones with custom content.</p>
<h5><strong>Basic list group</strong></h5>
<p>Use <code>.list-group</code> for wrapper and <code>.list-group-item</code> for items.</p>
<ul class="list-group" style="max-width:280px;">
<li class="list-group-item">Inbox</li>
<li class="list-group-item">Message</li>
</ul>
<pre><code class="html"><ul class="list-group">
<li class="list-group-item">Inbox</li>
<li class="list-group-item">Message</li>
</ul></code></pre>
<h5><strong>With badges and chevrons</strong></h5>
<ul class="list-group" style="max-width:280px;">
<li class="list-group-item">
<i class="icon-chevron-right"></i>
<span class="badge">14</span>Inbox
</li>
<li class="list-group-item"><i class="icon-chevron-right"></i>
<span class="badge bg-danger">3</span>Message
</li>
</ul>
<pre><code class="html"><ul class="list-group">
<li class="list-group-item">
<i class="icon-chevron-right"></i>
<span class="badge">14</span>
Inbox
</li>
<li class="list-group-item">
<i class="icon-chevron-right"></i>
<span class="badge bg-danger">3</span>
Message
</li>
</ul></code></pre>
<h5><strong>Linked list group</strong></h5>
<div class="list-group" style="max-width:280px;">
<a href="#" class="list-group-item">
<i class="icon-chevron-right"></i>
<span class="badge">14</span>Inbox
</a>
<a href="#" class="list-group-item"><i class="icon-chevron-right"></i>
<span class="badge bg-danger">3</span>Message
</a>
</div>
<pre><code class="html"><div class="list-group">
<a class="list-group-item">
<i class="icon-chevron-right"></i>
<span class="badge">14</span>
Inbox
</a>
<a class="list-group-item">
<i class="icon-chevron-right"></i>
<span class="badge bg-danger">3</span>
Message
</a>
</div></code></pre>
<h4 id="panel" class="m-t-large">Panel</h4>
<p>Box panel that wrap your content</p>
<h5><strong>Basic panel</strong></h5>
<p>By default, all the <code>.panel</code> does is apply some basic border and padding to contain some content.</p>
<div class="panel" style="max-width:280px;">
<div class="panel-body">Basic panel example</div>
</div>
<pre><code class="html"><div class="panel">
<div class="panel-body">Basic panel example</div>
</div></code></pre>
<h5><strong>Panel with heading and footer</strong></h5>
<div class="panel" style="max-width:280px;">
<div class="panel-heading">Panel heading</div>
<div class="panel-body">Panel content</div>
<div class="panel-footer">Panel footer</div>
</div>
<pre><code class="html"><div class="panel">
<div class="panel-heading">Panel heading</div>
<div class="panel-body">Basic panel example</div>
<div class="panel-footer">Panel footer</div>
</div></code></pre>
<p>For more complex content in the panel heading and panel content, please check on the <a href="widgets.html"><strong>Widges</strong></a> page.</p>
<h4 id="mobile" class="m-t-large">Mobile</h4>
<p>Support three nav styles on mobile, "Pull down", "Slide left", "Slide right"</p>
<h5><strong>Pull down</strong> (default)</h5>
<p>use <code>data-toggle="class:show" data-target="#nav"</code> to trigger the nav pull down in the header</p>
<pre><code class="html"><header id="header" class="navbar">
<button type="button" class="btn btn-link pull-left nav-toggle hidden-lg" data-toggle="class:show" data-target="#nav">
<i class="icon-reorder icon-xlarge text-default"></i>
</button>
</header></code></pre>
<h5><strong>Slide left</strong></h5>
<p>use <code>data-toggle="class:slide-nav slide-nav-left" data-target="body"</code> to trigger the slide left in the header, check it on the index.html</p>
<pre><code class="html"><header id="header" class="navbar">
<button type="button" class="btn btn-link pull-left nav-toggle hidden-lg" data-toggle="class:slide-nav slide-nav-left" data-target="body">
<i class="icon-reorder icon-xlarge text-default"></i>
</button>
</header></code></pre>
<p>use <code>data-toggle="class:slide-nav slide-nav-left" data-target="body"</code> to toggle back in the body</p>
<pre><code class="html"><body>
<a href="#" class="hide slide-nav-block" data-toggle="class:slide-nav slide-nav-left" data-target="body"></a>
</body></code></pre>
<h5><strong>Slide right</strong></h5>
<p>use <code>data-toggle="class:slide-nav slide-nav-right" data-target="body"</code> to trigger the slide right in the header, check it on the buttons.html</p>
<pre><code class="html"><header id="header" class="navbar">
<button type="button" class="btn btn-link pull-left nav-toggle hidden-lg" data-toggle="class:slide-nav slide-nav-right" data-target="body">
<i class="icon-reorder icon-xlarge text-default"></i>
</button>
</header></code></pre>
<p>use <code>data-toggle="class:slide-nav slide-nav-right" data-target="body"</code> to toggle back in the body</p>
<pre><code class="html"><body>
<a href="#" class="hide slide-nav-block" data-toggle="class:slide-nav slide-nav-right" data-target="body"></a>
</body></code></pre>
<h3>Components <small>Lightweight components to best practice on mobile</small></h3>
<div class="line"></div>
<h4 id="toggle-class">Toggle class</h4>
<p>It's easy to change a dom class by click on another dom element.</p>
<h5><strong>Usage</strong></h5>
<p>
Add <code>data-toggle="class:className"</code> and <code>data-target="#target"</code> to a link or button to toggle a class.
</p>
<h5><strong>Example</strong></h5>
<button class="btn btn-white m-b" data-toggle="class:bg-light" href="#nav">Toggle the nav background</button>
<pre><code class="html"><button class="btn btn-white" data-toggle="class:bg-light" data-target="#nav">
Toggle the nav background
</button></code></pre>
<h4 id="shift" class="m-t-large">Shift</h4>
<p>Shift js let you change the dom which have different position from mobile to desktop, it avoid to use duplicate elements.</p>
<div id="shift-target"><strong>Usage</strong></div>
<p>
Add <code>data-toggle="shift:insertBefore"</code> and <code>data-target="#target"</code> to the dom that you want to shift.
</p>
<div class="panel shift" data-toggle="shift:insertBefore" data-target="#shift-target">Put me before "Usage" on mobile</div>
<pre><code class="html"><div class="shift" data-toggle="shift:insertBefore" data-target="#shift-target">
Put me before "Usage" on mobile
</div></code></pre>
<p>it also support <code>data-toggle="shift:appendTo"</code>, <code>data-toggle="shift:prependTo"</code>, <code>data-toggle="shift:insertAfter"</code></p>
<h4 id="button-state" class="m-t-large">Button state</h4>
<p>Change the button state when click on it. add <code>.text</code> <code>.text-active</code></p>
<h5><strong>Example</strong></h5>
<button class="btn btn-white m-b" data-toggle="button">
<span class="text">More</span>
<span class="text-active">Less</span>
</button>
<pre><code class="html"><button class="btn btn-white" data-toggle="button">
<span class="text">More</span>
<span class="text-active">Less</span>
</button></code></pre>
<h5><strong>With icons</strong></h5>
<button class="btn btn-white m-b" data-toggle="button">
<span class="text">
<i class="icon-thumbs-up text-success"></i> 25
</span>
<span class="text-active">
<i class="icon-thumbs-down text-danger"></i> 10
</span>
</button>
<pre><code class="html"><button class="btn btn-white" data-toggle="button">
<span class="text">
<i class="icon-thumbs-up text-success"></i> 25
</span>
<span class="text-active">
<i class="icon-thumbs-down text-danger"></i> 10
</span>
</button></code></pre>
<h4 id="combodate" class="m-t-large">Combodate</h4>
<p>Use combodate for date picker, it's light and mobile friendly. check on <a href="http://github.com/vitalets/combodate"><strong>Combodate</strong></a> for more details.</p>
<h5><strong>Useage</strong></h5>
<p>Add <code>.combodate</code> class to the input and use <code>data-format="DD-MM-YYYY HH:mm"</code> <code>data-template="D MMM YYYY - HH : mm"</code> to format the display</p>
<h5><strong>Example</strong></h5>
<input type="text" class="combodate" data-format="DD-MM-YYYY HH:mm" data-template="D MMM YYYY - HH : mm" name="datetime" value="21-12-2012 20:30">
<pre class="m-t"><code class="html"><input type="text" class="combodate" data-format="DD-MM-YYYY HH:mm" data-template="D MMM YYYY - HH : mm" name="datetime" value="21-12-2012 20:30"></code></pre>
<h4 id="file-input" class="m-t-large">File input</h4>
<p>Check the file input plugin on <a href="http://github.com/grevory/bootstrap-file-input"><strong>File input</strong></a> for more details.</p>
<input type="file" title="Browse" class="btn btn-sm btn-info">
<h4 id="sparkline" class="m-t-large">Sparkline</h4>
<p>Check more details on <a href="http://omnipotent.net/jquery.sparkline/"><strong>Sparkline</strong></a>.</p>
<h5><strong>Useage</strong></h5>
<p>add <code>.sparkline</code> to trigger the sparkline.</p>
<h5><strong>Basic bar</strong></h5>
<div class="sparkline m-b" data-type="bar" data-bar-width="5">
<!--10,20,30,20,30,40,30,20,30,40,32,32,10,20 -->
</div>
<pre><code class="html"><div class="sparkline" data-type="bar" data-bar-width="5">
<!--10,20,30,20,30,40,30,20,30,40,32,32,10,20-->
</div></code></pre>
<h5><strong>Basic line</strong></h5>
<div class="sparkline m-b" data-type="line" data-bar-width="5" data-line-width="2" data-width="100" data-line-color="#bfea5f" data-fill-color="#e4f3c3" data-highlight-line-color="#e1e5e9" data-spot-radius="5">
<!--10,20,30,20,30,40,30,20,30,40,32,32,10,20-->
</div>
<pre><code class="html"><div class="sparkline" data-type="line" data-bar-width="5" data-line-width="2" data-width="100" data-line-color="#bfea5f" data-fill-color="#e4f3c3" data-highlight-line-color="#e1e5e9" data-spot-radius="5">
<!--10,20,30,20,30,40,30,20,30,40,32,32,10,20-->
</div></code></pre>
<h5><strong>Composite with x-axis</strong></h5>
<div class="m-b">
<div class="sparkline" data-type="line" data-resize="true" data-height="150" data-width="100%" data-line-color="#bfea5f" data-fill-color="#f3fce3" data-highlight-line-color="#e1e5e9" data-spot-radius="5" data-data="[120,250,200,325,400,380,250,320,345,250,250,250,200,325,300,365,250,210,200,180,150,160,250,250,250,200,300,310,330,250,320,205]" data-composite-data="[160,230,250,300,320,330,280,260,250,280,250,260,250,255,330,345,300,210,200,200,170,180,250,250,200,200,280,270,310,250,280,175]" data-composite-line-color="#a3e2fe" data-composite-fill-color="#e3f6ff"></div>
<ul class="list-inline text-muted axis"><li>12:00<br>am</li><li>2:00</li><li>4:00</li><li>6:00</li><li>8:00</li><li>10:00</li><li>12:00<br>pm</li><li>2:00</li><li>4:00</li><li>6:00</li><li>8:00</li><li>10:00</li></ul>
</div>
<pre><code class="html"><div class="sparkline" data-type="line" data-resize="true" data-height="150" data-width="100%" data-line-color="#bfea5f" data-fill-color="#f3fce3" data-highlight-line-color="#e1e5e9" data-spot-radius="5" data-composite-data="[160,230,250,300,320,330,280,260,250,280,250,260,250,255,330,345,300,210,200,200,170,180,250,250,200,200,280,270,310,250,280,175]" data-composite-line-color="#a3e2fe" data-composite-fill-color="#e3f6ff" data-data="[120,250,200,325,400,380,250,320,345,250,250,250,200,325,300,365,250,210,200,180,150,160,250,250,250,200,300,310,330,250,320,205]"
</div>
<ul class="list-inline text-muted axis">
<li>12:00<br>am</li>
<li>2:00</li>
</ul>
</code></pre>
<h4 id="easy-pie-chart" class="m-t-large">Easy Pie Chart</h4>
<p>Check more details on <a href="http://github.com/rendro/easy-pie-chart/"><strong>Easy Pie Chart</strong></a>. use excanvas.js for IE8 rendering. if your app do not need support IE8, you can remove it.</p>
<h5><strong>Usage</strong></h5>
<p>add <code>.easypiechart</code> class and use data attribute to config <code>data-percent="75"</code>, <code>data-size="120"</code>, <code>data-bar-color="75"</code>, <code>data-line-width="5"</code>, <code>data-track-color="#eee"</code></p>
<h5><strong>Example</strong></h5>
<div class="easypiechart" data-percent="75" data-line-width="5" data-size="120" data-bar-color="#576879" data-track-color="#eee" >
<span class="h2">75</span>%
<div class="easypie-text text-muted">new visits</div>
</div>
<pre><code class="html"><div class="easypiechart" data-size="120" data-percent="75" data-line-width="5" data-track-color="#eee" data-bar-color="#576879">
<span class="h2">75</span>%
<div class="easypie-text text-muted">
new visits
</div>
</div></code></pre>
<h4 id="datepicker" class="m-t-large">Datepicker</h4>
<p>Check more details on <a href="http://www.eyecon.ro/bootstrap-datepicker"><strong>Bootstrap Datepicker</strong></a>. </p>
<h5><strong>Usage</strong></h5>
<p>add <code>.datepicker</code> class on input.</p>
<input class="input-sm datepicker form-control" size="16" type="text" value="12-02-2013" data-date-format="dd-mm-yyyy" >
<pre class="m-t"><code class="html"><input class="input-sm datepicker form-control" size="16" type="text" value="12-02-2013" data-date-format="dd-mm-yyyy" >
</code></pre>
<h4 id="slider" class="m-t-large">Slider</h4>
<p>Check more details on <a href="http://www.eyecon.ro/bootstrap-slider"><strong>Slider</strong></a>. </p>
<h5><strong>Usage</strong></h5>
<p>add <code>.slider</code> class on input.</p>
<input class="slider" type="text" value="" data-slider-min="-20" data-slider-max="20" data-slider-step="1" data-slider-value="-14" data-slider-selection="after">
<pre class="m-t"><code class="html"><input class="slider" type="text" value="" data-slider-min="-20" data-slider-max="20" data-slider-step="1" data-slider-value="-14" data-slider-selection="after">
</code></pre>
<h4 id="dropdown-select" class="m-t-large">Dropdown select</h4>
<p>Support radio and checkbox dropdown select</p>
<h5><strong>Usage</strong></h5>
<p>add <code>.dropdown-menu</code> class on dropdown-menu.</p>
<div class="btn-group">
<button data-toggle="dropdown" class="btn btn-sm btn-white dropdown-toggle">
<span class="dropdown-label">Option1</span>
<span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-select">
<li class="active"><a href="#"><input type="radio" name="d-s-r" checked="">Option1</a></li>
<li><a href="#"><input type="radio" name="d-s-r">Option2</a></li>
<li><a href="#"><input type="radio" name="d-s-r">Option3</a></li>
<li class="disabled"><a href="#"><input type="radio" name="d-s-r" disabled="">I'm disabled</a></li>
</ul>
</div>
<pre class="m-t"><code class="html"><div class="btn-group">
<button data-toggle="dropdown" class="btn btn-sm btn-white dropdown-toggle">
<span class="dropdown-label">Option1</span>
<span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-select">
<li class="active"><a href="#"><input type="radio" name="d-s-r" checked="">Option1</a></li>
<li><a href="#"><input type="radio" name="d-s-r">Option2</a></li>
<li><a href="#"><input type="radio" name="d-s-r">Option3</a></li>
<li class="disabled"><a href="#"><input type="radio" name="d-s-r" disabled="">I'm disabled</a></li>
</ul>
</div>
</code></pre>
<div class="btn-group">
<button data-toggle="dropdown" class="btn btn-sm btn-white dropdown-toggle">
<span class="dropdown-label" data-placeholder="Please select">Please select</span>
<span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-select">
<li><a href="#"><input type="checkbox" name="d-s-c-1">Option1</a></li>
<li><a href="#"><input type="checkbox" name="d-s-c-2">Option2</a></li>
<li><a href="#"><input type="checkbox" name="d-s-c-3">Option3</a></li>
<li><a href="#"><input type="checkbox" name="d-s-c-4">Option4</a></li>
<li><a href="#"><input type="checkbox" name="d-s-c-5">Option5</a></li>
</ul>
</div>
<pre class="m-t"><code class="html"><div class="btn-group">
<button data-toggle="dropdown" class="btn btn-sm btn-white dropdown-toggle">
<span class="dropdown-label" data-placeholder="Please select">Please select</span>
<span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-select">
<li><a href="#"><input type="checkbox" name="d-s-c-1">Option1</a></li>
<li><a href="#"><input type="checkbox" name="d-s-c-2">Option2</a></li>
<li><a href="#"><input type="checkbox" name="d-s-c-3">Option3</a></li>
<li><a href="#"><input type="checkbox" name="d-s-c-4">Option4</a></li>
<li><a href="#"><input type="checkbox" name="d-s-c-5">Option5</a></li>
</ul>
</div>
</code></pre>
<h4 id="fullcalendar" class="m-t-large">Fullcalendar</h4>
<p>Check more details on <a href="http://arshaw.com/fullcalendar/"><strong>Fullcalendar</strong></a>. </p>
<h4 id="fuelux" class="m-t-large">Fuelux</h4>
<p>Check more details on <a href="https://github.com/ExactTarget/fuelux"><strong>Fuelux</strong></a>. </p>
<p>First used the Fuelux datagrid for danymic table. and enhanced the pillbox.</p>
<h4 id="datatables" class="m-t-large">DataTables</h4>
<p>Check more details on <a href="http://datatables.net/"><strong>datatables.net</strong></a>. </p>
<h4 id="select2" class="m-t-large">Select2</h4>
<p>Check more details on <a href="http://ivaynberg.github.io/select2/"><strong>Select2</strong></a>. </p>
<h4 class="m-t-large">Cross browser compatibility</h4>
<p>Use response.js to support IE8 media queries and html5.js to support html5 markups.</p>
<pre><code class="html"><!--[if lt IE 9]>
<script src="js/ie/respond.min.js"></script>
<script src="js/ie/html5.js"></script>
<script src="js/ie/excanvas.js"></script>
<![endif]--></code></pre>
</div>
</section>
</section>
<!-- footer -->
<footer id="footer">
<div class="text-center padder clearfix">
<p>
<small>© first 2013, Mobile first web app framework base on Bootstrap</small><br><br>
<a href="#" class="btn btn-xs btn-circle btn-twitter"><i class="icon-twitter"></i></a>
<a href="#" class="btn btn-xs btn-circle btn-facebook"><i class="icon-facebook"></i></a>
<a href="#" class="btn btn-xs btn-circle btn-gplus"><i class="icon-google-plus"></i></a>
</p>
</div>
</footer>
<!-- / footer -->
<script src="js/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="js/bootstrap.js"></script>
<!-- app -->
<script src="js/app.js"></script>
<script src="js/app.plugin.js"></script>
<script src="js/app.data.js"></script>
<!-- Sparkline Chart -->
<script src="js/charts/sparkline/jquery.sparkline.min.js"></script>
<!-- Easy Pie Chart -->
<script src="js/charts/easypiechart/jquery.easy-pie-chart.js"></script>
<!-- file input -->
<script src="js/file-input/bootstrap.file-input.js"></script>
<!-- datepicker -->
<script src="js/datepicker/bootstrap-datepicker.js"></script>
<!-- slider -->
<script src="js/slider/bootstrap-slider.js"></script>
<!-- combodate -->
<script src="js/combodate/moment.min.js"></script>
<script src="js/combodate/combodate.js"></script>
</body>
</html>