-
Notifications
You must be signed in to change notification settings - Fork 34
/
swatch.html.haml
1518 lines (1415 loc) · 50.5 KB
/
swatch.html.haml
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
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
layout: project
title: Example Swatch
---
/ =========================Announcement=========================
#accordionAnnounce.alert.alert-warning.alert-dismissible
%button.close{"data-dismiss" => "alert", :type => "button"} ×
%h4.alert-heading
.icon.icon-asterisk Announcement!
%p
Use this code for announcing releases, etc. Remove the class .alert-dismissible and the button to make it permanent on the page
%a.alert-link(href="#") You can also add links to this announcement.
/ =========================Masthead=========================
%header.jumbotron.subhead#overview
.row
.col-md-12
%h1 Project Swatch
%p.lead This swatch page shows the styling of various Bootstrap elements.
.subnav
%ul.nav.nav-pills
%li.active<
%a(href="#typography") Typography
%li<
%a(href="#carousel") Carousel
%li<
%a(href="#faq") FAQ
%li<
%a(href="#equalheight") Equal Height Cols
%li<
%a(href="#iconcallouts") Icon Callouts
%li<
%a(href="#tables") Tables
%li<
%a(href="#tabbedcontent") Tabbed
%li<
%a(href="#navbar") Navbar
%li<
%a(href="#stacked-nav") Stacked Nav
%li<
%a(href="#buttons") Buttons
%li<
%a(href="#codesnippets") Code
%li<
%a(href="#forms") Forms
%li<
%a(href="#miscellaneous") Misc.
%li<
%a(href="#fontawesome") Icons
%li<
%a(href="#phrasing") Phrasing
/ =========================Typography=========================
%section#typography
.page-header
%h1 Typography
/ Headings & Paragraph Copy
.row
.col-md-4
.well
%h1 h1. Heading 1
%h2 h2. Heading 2
%h3 h3. Heading 3
%h4 h4. Heading 4
%h5 h5. Heading 5
%h6 h6. Heading 6
.col-md-4
%h3 Example body text
%p Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit.
%p Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec sed odio dui.
.col-md-4
%h3 Example addresses
%address
%strong Company, Inc.
%br>
\
1234 Main Street<br/>
Raliegh, NC 12345<br/>
= succeed ' (123) 456-7890' do
%abbr(title="Phone") P:
%address
%strong Full Name
%br>
\
%a(href="mailto:#") [email protected]
/ =========================Modal & Carousel=========================
%section#carousel
.page-header
%h1 Modal and Carousel
.row
.col-md-4
%h3 Modal Pop-up
/ Button to trigger modal
%a.btn.btn-default{"data-toggle" => "modal", :href => "#myModal", :role => "button"} Launch demo modal
/ Modal
#myModal.modal.fade{"aria-hidden" => "true", "aria-labelledby" => "myModalLabel", :role => "dialog", :tabindex => "-1"}
.modal-dialog
.modal-content
.modal-header
%button.close{"aria-hidden" => "true", "data-dismiss" => "modal", :type => "button"} ×
%h3.modal-title Modal header
.modal-body
%p One fine body…
.modal-footer
%button.btn.btn-default{"aria-hidden" => "true", "data-dismiss" => "modal"} Close
%button.btn.btn-primary Save changes
.col-md-8
#myCarousel.carousel.slide
%ol.carousel-indicators
%li.active{"data-slide-to" => "0", "data-target" => "#myCarousel"}
%li{"data-slide-to" => "1", "data-target" => "#myCarousel"}
%li{"data-slide-to" => "2", "data-target" => "#myCarousel"}
/ Carousel items
.carousel-inner
.item.active
%img{:alt => "", :src => "http://static.jboss.org/common/images/carousel/carousel_img1.png"}/
.item
%img{:alt => "", :src => "http://static.jboss.org/common/images/carousel/carousel_img2.png"}/
.item
%img{:alt => "", :src => "http://static.jboss.org/common/images/carousel/carousel_img3.png"}/
/ Carousel nav
%a.left.carousel-control{"data-slide" => "prev", :href => "#myCarousel"} ‹
%a.right.carousel-control{"data-slide" => "next", :href => "#myCarousel"} ›
/ =========================Tab Toggles=========================
%section#faq
.page-header
%h1 FAQ Toggles
#accordion2.panel-group
.panel.panel-default
.panel-heading
%h4.panel-title
%a.accordion-toggle{"data-parent" => "#accordion2", "data-toggle" => "collapse", :href => "#collapseOne"}
Collapsible Group Item #1
#collapseOne.panel-collapse.collapse.in
.panel-body
Content 1 goes here (headlines, photos, whatever).
.panel.panel-default
.panel-heading
%h4.panel-title
%a.accordion-toggle{"data-parent" => "#accordion2", "data-toggle" => "collapse", :href => "#collapseTwo"}
Collapsible Group Item #2
#collapseTwo.panel-collapse.collapse.in
.panel-body
Content 2 goes here (headlines, photos, whatever).
/ =========================Equal Heights Columns=========================
%section#equalheight
.page-header
%h1 Equal Height Columns
/ begin equalHeights columns 4
#equalHeightsB.row.equalHero
.col-md-3
.row
%h3
%a{:href => "#{site.base_url}/about.html"} Crisp is the industry leader of real world iteration.
%p
%i.icon-cloud-download.icon-4x.pull-left
Public domain images. We will increase our aptitude to evolve without decrementing our capacity to leverage. It may seem marvelous, but it's true!
%p.right
%a.btn.btn-primary.pull-right{:href => "#{site.base_url}/about.html"} Details →
.col-md-3
.row
%h3
%a{:href => "#{site.base_url}/about.html"} It is better to maximize virally than to exploit holistically.
%p
%i.icon-dashboard.icon-4x.pull-left
If all of this seems stunning to you, that's because it is! The capability to strategize extensibly leads to the aptitude to upgrade compellingly.
%p.right
%a.btn.btn-primary.pull-right{:href => "#{site.base_url}/about.html"} Details →
.col-md-3
.row
%h3
%a{:href => "#{site.base_url}/about.html"} What do we incubate? Anything and everything, regardless of anonymity!
%p
%i.icon-cogs.icon-4x.pull-left
A company that can implement correctly will (eventually) be able to architect correctly. If you generate intuitively, you may have to synergize robustly.
%p.right
%a.btn.btn-primary.pull-right{:href => "#{site.base_url}/about.html"} Details →
.col-md-3
.row
%h3
%a{:href => "#{site.base_url}/about.html"} A company that can implement correctly will (eventually) be able to architect correctly
%p
%i.icon-magic.icon-4x.pull-left
A company that can implement correctly will (eventually) be able to architect correctly. If you generate intuitively, you may have to synergize robustly.
%p.right
%a.btn.btn-primary.pull-right{:href => "#{site.base_url}/about.html"} Details →
/ =========================Icon Callouts=========================
%section#iconcallouts
.page-header
%h1 Icon Callouts
.row
.col-md-2.pull-center
%i.enormous-icon.icon-magnet.circled.pull-center
.col-md-10
%h3 Get Involved
%p
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis tempor lacus risus, nec facilisis libero semper sed. Vestibulum vel interdum augue. Ut commodo laoreet viverra. Ut vitae eleifend ante. Pellentesque ac justo consectetur Duis tempor lacus risus, nec nec facilisis libero facilisis.
%br
.pull-left
.label.label-info New
%a.btn.pull-right.btn-primary Get Involved Now
.row
.col-md-2.pull-center
%i.enormous-icon.icon-bullhorn.circled.pull-center
.col-md-10
%h3 Get Working
%p
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis tempor lacus risus, nec facilisis libero semper sed. Vestibulum vel interdum augue. Ut commodo laoreet viverra. Ut vitae eleifend ante. Pellentesque ac justo consectetur Duis tempor lacus risus, nec nec facilisis libero facilisis.
%br
.pull-left
.label.label-warning Unstable
%a.btn.pull-right.btn-primary Get Working Now
.row
.col-md-2.pull-center
%i.enormous-icon.icon-trophy.circled.pull-center
.col-md-10
%h3 Get Started
%p
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis tempor lacus risus, nec facilisis libero semper sed. Vestibulum vel interdum augue. Ut commodo laoreet viverra. Ut vitae eleifend ante. Pellentesque ac justo consectetur Duis tempor lacus risus, nec nec facilisis libero facilisis.
%br
.pull-left
.label.label-success Stable
%a.btn.pull-right.btn-primary Get Started Now
/ =========================Tables=========================
%section#tables
.page-header
%h1 Tables
%h3 Quickstarts
%p Get up to speed quickly. Let us walk you through it!
%dl.dl-horizontal.quickstarts
%dt 5.2.x Quickstart
%dd
%a html
|
%a PDF
|
%a ePub
%dt 5.1.x Quickstart
%dd
%a html
|
%a PDF
|
%a ePub
%dt 5.0.x Quickstart
%dd
%a html
|
%a PDF
|
%a ePub
%br
%h3 Documentation Table
%p Learn more detail about our software.
.table-responsive
%table.table.table-bordered.table-striped
%thead
%tr
%th Version
%th User Guide
%th Getting Started Guide
%th Wiki
%th FAQs
%th Javadocs
%tbody
%tr
%td 5.2.x
%td
%a html
|
%a PDF
|
%a ePub
%td
%a html
|
%a PDF
|
%a ePub
%td
%a html
|
%a PDF
|
%a ePub
%td
%a html
|
%a PDF
|
%a ePub
%td
%a html
%tr
%td 5.1.x
%td
%a html
|
%a PDF
|
%a ePub
%td
%a html
|
%a PDF
|
%a ePub
%td
%a html
|
%a PDF
|
%a ePub
%td
%a html
|
%a PDF
|
%a ePub
%td
%a html
%tr
%td 5.0.x
%td
%a html
|
%a PDF
|
%a ePub
%td
%a html
|
%a PDF
|
%a ePub
%td
%a html
|
%a PDF
|
%a ePub
%td
%a html
|
%a PDF
|
%a ePub
%td
%a html
/ =========================Tabbed Content=========================
%section#tabbedcontent
.page-header
%h1 Tabbed Content
.row
.col-md-6
.well
%h1 News
%ul#myTab.nav.nav-tabs
%li.active
%a{:href => "#home", "role"=>"tab", "data-toggle"=>"tab"} Home
%li
%a{:href => "#profile", "role"=>"tab", "data-toggle"=>"tab"} Profile
%li
%a{:href => "#messages", "role"=>"tab", "data-toggle"=>"tab"} Messages
%li
%a{:href => "#settings", "role"=>"tab", "data-toggle"=>"tab"} Settings
.tab-content
#home.tab-pane.active Home content - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi iaculis sagittis accumsan. Donec tincidunt metus vitae felis vulputate, in cursus felis congue. Suspendisse in nisl mi. Sed eu fermentum sem, sit amet aliquet mauris. Phasellus et eros interdum, lobortis nibh et, tempor felis.
#profile.tab-pane Profile content - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi iaculis sagittis accumsan. Donec tincidunt metus vitae felis vulputate, in cursus felis congue. Suspendisse in nisl mi. Sed eu fermentum sem, sit amet aliquet mauris. Phasellus et eros interdum, lobortis nibh et, tempor felis.
#messages.tab-pane Messages content - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi iaculis sagittis accumsan. Donec tincidunt metus vitae felis vulputate, in cursus felis congue. Suspendisse in nisl mi. Sed eu fermentum sem, sit amet aliquet mauris. Phasellus et eros interdum, lobortis nibh et, tempor felis.
#settings.tab-pane Settings content - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi iaculis sagittis accumsan. Donec tincidunt metus vitae felis vulputate, in cursus felis congue. Suspendisse in nisl mi. Sed eu fermentum sem, sit amet aliquet mauris. Phasellus et eros interdum, lobortis nibh et, tempor felis.
.col-md-6
%h1 Forums
%ul#myTab.nav.nav-tabs
%li.active
%a{:href => "#home2"} Home
%li
%a{:href => "#downloads"} Downloads
%li
%a{:href => "#irc"} IRC
%li
%a{:href => "#twitter"} Twitter
.tab-content
#home2.tab-pane.active Home content - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi iaculis sagittis accumsan. Donec tincidunt metus vitae felis vulputate, in cursus felis congue. Suspendisse in nisl mi. Sed eu fermentum sem, sit amet aliquet mauris. Phasellus et eros interdum, lobortis nibh et, tempor felis.
#downloads.tab-pane Downloads content - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi iaculis sagittis accumsan. Donec tincidunt metus vitae felis vulputate, in cursus felis congue. Suspendisse in nisl mi. Sed eu fermentum sem, sit amet aliquet mauris. Phasellus et eros interdum, lobortis nibh et, tempor felis.
#irc.tab-pane IRC content - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi iaculis sagittis accumsan. Donec tincidunt metus vitae felis vulputate, in cursus felis congue. Suspendisse in nisl mi. Sed eu fermentum sem, sit amet aliquet mauris. Phasellus et eros interdum, lobortis nibh et, tempor felis.
#twitter.tab-pane Twitter content - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi iaculis sagittis accumsan. Donec tincidunt metus vitae felis vulputate, in cursus felis congue. Suspendisse in nisl mi. Sed eu fermentum sem, sit amet aliquet mauris. Phasellus et eros interdum, lobortis nibh et, tempor felis.
:javascript
$('#myTab a').click(function (e) {
e.preventDefault();
$(this).tab('show');
})
/ =========================Navbar=========================
%section#navbar
.page-header
%h1 Navbars
.navbar.navbar-default
.container-fluid(style="width: auto;")
// Brand and toggle get grouped for better mobile display
.navbar-header
%button.navbar-toggle.collapsed(data-toggle="collapse" data-target="#example-navbar-collapse-1")
%span.icon-bar
%span.icon-bar
%span.icon-bar
%a.navbar-brand(href="#") Project name
// Collect the nav links, forms, and other content for toggling
.collapse.navbar-collapse#example-navbar-collapse-1
%ul.nav.navbar-nav
%li.active<
%a(href="#") Home
%li<
%a(href="#") Link
%li<
%a(href="#") Link
%li<
%a(href="#") Link
%li.dropdown
%a.dropdown-toggle(href="#" data-toggle="dropdown")<
= precede 'Dropdown ' do
%b.caret>
%ul.dropdown-menu
%li<
%a(href="#") Action
%li<
%a(href="#") Another action
%li<
%a(href="#") Something else here
%li.divider
%li<
%a(href="#") Separated link
%form.navbar-form.navbar-left(action="")
%input.form-control(type="text" placeholder="Search")
%ul.nav.navbar-nav.navbar-right
%li<
%a(href="#") Link
%li.divider-vertical
%li.dropdown
%a.dropdown-toggle(href="#" data-toggle="dropdown")<
= precede 'Dropdown ' do
%b.caret>
%ul.dropdown-menu
%li<
%a(href="#") Action
%li<
%a(href="#") Another action
%li<
%a(href="#") Something else here
%li.divider
%li<
%a(href="#") Separated link
.navbar.navbar-inverse
.container-fluid(style="width: auto;")
// Brand and toggle get grouped for better mobile display
.navbar-header
%button.navbar-toggle.collapsed(data-toggle="collapse" data-target="#example-navbar-collapse-2")
%span.icon-bar
%span.icon-bar
%span.icon-bar
%a.navbar-brand(href="#") Project name
// Collect the nav links, forms, and other content for toggling
.collapse.navbar-collapse#example-navbar-collapse-2
%ul.nav.navbar-nav
%li.active<
%a(href="#") Home
%li<
%a(href="#") Link
%li<
%a(href="#") Link
%li<
%a(href="#") Link
%li.dropdown
%a.dropdown-toggle(href="#" data-toggle="dropdown")<
= precede 'Dropdown ' do
%b.caret>
%ul.dropdown-menu
%li<
%a(href="#") Action
%li<
%a(href="#") Another action
%li<
%a(href="#") Something else here
%li.divider
%li<
%a(href="#") Separated link
%form.navbar-form.navbar-left(action="")
%input.form-control.navbar-search.search-query(type="text" placeholder="Search")
%ul.nav.navbar-nav.navbar-right
%li<
%a(href="#") Link
%li.divider-vertical
%li.dropdown
%a.dropdown-toggle(href="#" data-toggle="dropdown")<
= precede 'Dropdown ' do
%b.caret>
%ul.dropdown-menu
%li<
%a(href="#") Action
%li<
%a(href="#") Another action
%li<
%a(href="#") Something else here
%li.divider
%li<
%a(href="#") Separated link
/ =========================Stacked Navigation=========================
%section#stacked-nav
.page-header
%h1 Stacked Navigation
.div.clearfix
.col-md-4
%ul.nav.nav-pills.nav-stacked
%li.active
%a{:href => "#"}
%i.icon-fixed-width.icon-home
Home
%li
%a{:href => "#"}
%i.icon-fixed-width.icon-book
Library
%li
%a{:href => "#"}
%i.icon-fixed-width.icon-pencil
Applications
%li
%a{:href => "#"}
%i.icon-fixed-width.icon-cogs
Settings
/ =========================Buttons=========================
%section#buttons
.page-header
%h1 Buttons
.table-responsive
%table.table.table-bordered.table-striped
%thead
%tr
%th Button
%th Large Button
%th Small Button
%th Disabled Button
%th Button with Icon
%th Split Button
%tbody
%tr
%td<
%a.btn.btn-default(href="#") Default
%td<
%a.btn.btn-default.btn-lg(href="#") Default
%td<
%a.btn.btn-default.btn-sm(href="#") Default
%td<
%a.btn.btn-default.disabled(href="#") Default
%td<
%a.btn.btn-default(href="#")<
= succeed ' Default' do
%i.icon-cog>
%td
.btn-group
%button.btn.btn-default(type="button") Default
%button.btn.btn-default.dropdown-toggle(type="button" data-toggle="dropdown")<
%span.caret
%span.sr-only Toggle Dropdown
%ul.dropdown-menu(role="menu")
%li<
%a(href="#") Action
%li<
%a(href="#") Another action
%li<
%a(href="#") Something else here
%li.divider
%li<
%a(href="#") Separated link
%tr
%td<
%a.btn.btn-primary(href="#") Primary
%td<
%a.btn.btn-primary.btn-lg(href="#") Primary
%td<
%a.btn.btn-primary.btn-sm(href="#") Primary
%td<
%a.btn.btn-primary.disabled(href="#") Primary
%td<
%a.btn.btn-primary(href="#")<
= succeed ' Primary' do
%i.icon-shopping-cart.icon-white>
%td
.btn-group
%a.btn.btn-primary(href="#") Primary
%a.btn.btn-primary.dropdown-toggle(data-toggle="dropdown" href="#")<
%span.caret
%ul.dropdown-menu
%li<
%a(href="#") Action
%li<
%a(href="#") Another action
%li<
%a(href="#") Something else here
%li.divider
%li<
%a(href="#")Separated link
%tr
%td<
%a.btn.btn-info(href="#") Info
%td<
%a.btn.btn-info.btn-lg(href="#") Info
%td<
%a.btn.btn-info.btn-sm(href="#") Info
%td<
%a.btn.btn-info.disabled(href="#") Info
%td<
%a.btn.btn-info(href="#")<
= succeed ' Info' do
%i.icon-exclamation-sign.icon-white>
%td
.btn-group
%a.btn.btn-info(href="#") Info
%a.btn.btn-info.dropdown-toggle(data-toggle="dropdown" href="#")<
%span.caret
%ul.dropdown-menu
%li<
%a(href="#") Action
%li<
%a(href="#") Another action
%li<
%a(href="#") Something else here
%li.divider
%li<
%a(href="#") Separated link
%tr
%td<
%a.btn.btn-success(href="#") Success
%td<
%a.btn.btn-success.btn-lg(href="#") Success
%td<
%a.btn.btn-success.btn-sm(href="#") Success
%td<
%a.btn.btn-success.disabled(href="#") Success
%td<
%a.btn.btn-success(href="#")<
= succeed ' Success' do
%i.icon-ok.icon-white>
%td
.btn-group
%a.btn.btn-success(href="#") Success
%a.btn.btn-success.dropdown-toggle(data-toggle="dropdown" href="#")<
%span.caret
%ul.dropdown-menu
%li<
%a(href="#") Action
%li<
%a(href="#") Another action
%li<
%a(href="#") Something else here
%li.divider
%li<
%a(href="#") Separated link
%tr
%td<
%a.btn.btn-warning(href="#") Warning
%td<
%a.btn.btn-warning.btn-lg(href="#") Warning
%td<
%a.btn.btn-warning.btn-sm(href="#") Warning
%td<
%a.btn.btn-warning.disabled(href="#") Warning
%td<
%a.btn.btn-warning(href="#")<
= succeed ' Warning' do
%i.icon-warning-sign.icon-white>
%td
.btn-group
%a.btn.btn-warning(href="#") Warning
%a.btn.btn-warning.dropdown-toggle(data-toggle="dropdown" href="#")<
%span.caret
%ul.dropdown-menu
%li<
%a(href="#") Action
%li<
%a(href="#") Another action
%li<
%a(href="#") Something else here
%li.divider
%li<
%a(href="#") Separated link
%tr
%td<
%a.btn.btn-danger(href="#") Danger
%td<
%a.btn.btn-danger.btn-lg(href="#") Danger
%td<
%a.btn.btn-danger.btn-sm(href="#") Danger
%td<
%a.btn.btn-danger.disabled(href="#") Danger
%td<
%a.btn.btn-danger(href="#")<
= succeed ' Danger' do
%i.icon-remove.icon-white>
%td
.btn-group
%a.btn.btn-danger(href="#") Danger
%a.btn.btn-danger.dropdown-toggle(data-toggle="dropdown" href="#")<
%span.caret
%ul.dropdown-menu
%li<
%a(href="#") Action
%li<
%a(href="#") Another action
%li<
%a(href="#") Something else here
%li.divider
%li<
%a(href="#") Separated link
/ =========================Code Snippets=========================
%section#codesnippets
.page-header
%h1 Code Snippets
%pre
:preserve
<p>XML Code Snipped goes here...</p>
/ =========================Forms=========================
%section#forms
.page-header
%h1 Forms
.row
.col-md-10.col-md-offset-1
%form.form-inline.well
.form-group
%label.sr-only(for="search1")
%input.form-control(type="text" id="search1")
%button.btn.btn-default(type="submit") Search
%form.form-inline.well
.form-group
%label.sr-only(for="email")Email
%input.form-control(type="text" placeholder="Email" id="email")
.form-group
%label.sr-only(for="password")Password
%input.form-control(type="password" placeholder="Password" id="password")
%button.btn.btn-default(type="submit") Go
%form.form-horizontal.well
%fieldset
%legend Controls Bootstrap supports
.form-group
%label.col-md-2.col-sm-3.control-label(for="input01") Text input
.col-md-10.col-sm-9
.col-md-5.col-xs-12
%input.form-control(type="text" id="input01")
.col-xs-12
%p.help-block In addition to freeform text, any HTML5 text-based input appears like so.
.form-group
%label.col-md-2.col-sm-3.control-label(for="optionsCheckbox") Checkbox
.col-md-10.col-sm-9
.col-md-10.col-xs-12
.checkbox
%label
%input#optionsCheckbox.col-md-5.col-xs-12(type="checkbox" value="option1") Option one is this and that—be sure to include why it's great
.form-group
%label.col-md-2.col-sm-3.control-label(for="select01") Select list
.col-md-10.col-sm-9
.col-md-5.col-xs-12
%select#select01.form-control
%option something
%option 2
%option 3
%option 4
%option 5
.form-group
%label.col-md-2.col-sm-3.control-label(for="multiSelect") Multicon-select
.col-md-10.col-sm-9
.col-md-5.col-xs-12
%select.form-control#multiSelect(multiple="multiple")
%option 1
%option 2
%option 3
%option 4
%option 5
.form-group
%label.col-md-2.col-sm-3.control-label(for="fileInput") File input
.col-md-10.col-sm-9
.col-md-5.col-xs-12
%input#fileInput(type="file")
.form-group
%label.col-md-2.col-sm-3.control-label(for="textarea") Textarea
.col-md-10.col-sm-9
.col-md-5.col-xs-12
%textarea.form-control#textarea(rows="3")
.form-group
%label.col-md-2.col-sm-3.control-label(for="focusedInput") Focused input
.col-md-10.col-sm-9
.col-md-5.col-xs-12
%input.form-control#focusedInput(type="text" value="This is focused…")
.form-group
%label.col-md-2.col-sm-3.control-label Uneditable input
.col-md-10.col-sm-9
.col-md-5.col-xs-12
%span.form-control.uneditable-input Some value here
.form-group
%label.col-md-2.col-sm-3.control-label(for="disabledInput") Disabled input
.col-md-10.col-sm-9
.col-md-5.col-xs-12
%input.form-control.disabled#disabledInput(type="text" placeholder="Disabled input here…" disabled)
.form-group
%label.col-md-2.col-sm-3.control-label(for="optionsCheckbox2") Disabled checkbox
.col-md-10.col-sm-9
.col-md-5.col-xs-12
.checkbox
%label
%input#optionsCheckbox2(type="checkbox" value="option1" disabled) This is a disabled checkbox
.form-group.has-warning
%label.col-md-2.col-sm-3.control-label(for="inputWarning") Input with warning
.col-md-10.col-sm-9
.col-md-5.col-xs-12
%input.form-control(type="text")
%span.help-block Something may have gone wrong
.form-group.has-error
%llabel.col-md-2.col-sm-3.control-label(for="inputError") Input with error
.col-md-10.col-sm-9
.col-md-5.col-xs-12
%input#inputError.form-control(type="text")
%span.help-block Please correct the error
.form-group.has-success
%label.col-md-2.col-sm-3.control-label(for="inputSuccess") Input with success
.col-md-10.col-sm-9
.col-md-5.col-xs-12
%input#inputSuccess.form-control(type="text")
%span.help-block Woohoo!
.form-group.has-succes
%label.col-md-2.col-sm-3.control-label(for="selectError") Select with success
.col-md-10.col-sm-9
.col-md-5.col-xs-12
%select.form-control#selectError
%option 1
%option 2
%option 3
%option 4
%option 5
%span.help-block Woohoo!
.col-sm-offset-2
%button.btn.btn-primary(type="submit") Save changes
%button.btn.btn-default(type="reset") Cancel
/ =========================Miscellaneous=========================
%section#miscellaneous
.page-header
%h1 Miscellaneous
.row
.col-md-5
%h3 Breadcrumbs
%ol.breadcrumb
%li.active Home
%ol.list-unstyled.breadcrumb
%li
%a(href="#") Home
%li.active Library
%ol.breadcrumb
%li<
%a(href="#")> Home
%li<
%a(href="#")> Library
%li.active Data
.col-md-6.col-md-offset-1
%h3#pagination Pagination
%ul
.pagination
%li.disabled<
%a(href="#") «
%li.active<
%a(href="#") 1
%li<
%a(href="#") 2
%li<
%a(href="#") 3
%li<
%a(href="#") 4
%li<
%a(href="#") »
%ul
.pagination
%li<
%a(href="#") ←
%li.active<
%a(href="#") 10
%li.disabled<
%a(href="#") ...
%li<
%a(href="#") 20
%li<
%a(href="#") →
.text-center
%ul.pagination
%li.active<
%a(href="#") 1
%li<
%a(href="#") 2
%li<
%a(href="#") 3
%li<
%a(href="#") 4
%li<
%a(href="#") 5
/ =========================Labels=========================
.row
.col-md-6
%h3#labels Labels
%span.label.label-default Default
%span.label.label-success Success
%span.label.label-warning Warning
%span.label.label-important Important
%span.label.label-info Info
.col-md-6
%h3#labels Definition Lists
%dl.dl-horizontal
%dt User Forums
%dd Can help answer questios you may have and be a point of discussion and reference for using this Project
%dt IRC
%dd
is our real-time chat location. Join us on the #project freenode channel. Join in to talk to us in real time.
%a (Freenode IRC instructions)
%br
/ =========================Progress bars=========================
%h3#progressbars Progress bars
.row
.col-md-4
.progress
.progress-bar(style="width: 60%;")
.col-md-4
.progress
.progress-bar.progress-bar-info.progress-bar-striped(style="width: 20%;")
.col-md-4
.progress.progress-danger.progress-striped.active
.progress-bar.progress-bar-danger.progress-bar-striped(style="width: 45%")
%br
/ =========================Alerts & Messages=========================