-
Notifications
You must be signed in to change notification settings - Fork 2
/
swatch.html.haml
1331 lines (1262 loc) · 42.9 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
---
/ =========================Masthead=========================
%header.jumbotron.subhead#overview
.row
.span12
%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="#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
.span4
.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
.span4
%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.
.span4
%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:#") first.last@gmail.com
/ =========================Modal & Carousel=========================
%section#carousel
.page-header
%h1 Modal and Carousel
.row-fluid
.span4
%h3 Modal Pop-up
/ Button to trigger modal
%a.btn{"data-toggle" => "modal", :href => "#myModal", :role => "button"} Launch demo modal
/ Modal
#myModal.modal.hide.fade{"aria-hidden" => "true", "aria-labelledby" => "myModalLabel", :role => "dialog", :tabindex => "-1"}
.modal-header
%button.close{"aria-hidden" => "true", "data-dismiss" => "modal", :type => "button"} ×
%h3#myModalLabel Modal header
.modal-body
%p One fine body…
.modal-footer
%button.btn{"aria-hidden" => "true", "data-dismiss" => "modal"} Close
%button.btn.btn-primary Save changes
.span8
#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
.active.item
%img{:alt => "", :src => "http://twitter.github.io/bootstrap/assets/img/bootstrap-mdo-sfmoma-01.jpg"}/
.item
%img{:alt => "", :src => "http://twitter.github.io/bootstrap/assets/img/bootstrap-mdo-sfmoma-02.jpg"}/
.item
%img{:alt => "", :src => "http://twitter.github.io/bootstrap/assets/img/bootstrap-mdo-sfmoma-03.jpg"}/
/ Carousel nav
%a.carousel-control.left{"data-slide" => "prev", :href => "#myCarousel"} ‹
%a.carousel-control.right{"data-slide" => "next", :href => "#myCarousel"} ›
/ =========================Tab Toggles=========================
%section#faq
.page-header
%h1 FAQ Toggles
#accordion2.accordion
.accordion-group
.accordion-heading
%a.accordion-toggle{"data-parent" => "#accordion2", "data-toggle" => "collapse", :href => "#collapseOne"}
Collapsible Group Item #1
#collapseOne.accordion-body.collapse.in
.accordion-inner
Content 1 goes here (headlines, photos, whatever).
.accordion-group
.accordion-heading
%a.accordion-toggle{"data-parent" => "#accordion2", "data-toggle" => "collapse", :href => "#collapseTwo"}
Collapsible Group Item #2
#collapseTwo.accordion-body.collapse
.accordion-inner
Content 2 goes here (headlines, photos, whatever).
/ =========================Equal Heights Columns=========================
%section#equalheight
.page-header
%h1 Equal Height Columns
/ begin equalHeights columns 4
#equalHeightsB.row-fluid.equalHero
.span3
%h3
%a{:href => "/about"} 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 => "/about"} Details →
.span3
%h3
%a{:href => "/about"} 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 => "/about"} Details →
.span3
%h3
%a{:href => "/about"} 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 => "/about"} Details →
.span3
%h3
%a{:href => "/about"} 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 => "/about"} Details →
/ =========================Icon Callouts=========================
%section#iconcallouts
.page-header
%h1 Icon Callouts
.row-fluid
.span2.pull-center
%i.enormous-icon.icon-magnet.circled.pull-center
.span10
%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-fluid
.span2.pull-center
%i.enormous-icon.icon-bullhorn.circled.pull-center
.span10
%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-fluid
.span2.pull-center
%i.enormous-icon.icon-trophy.circled.pull-center
.span10
%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.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-fluid
.span6
.well
%h1 News
%ul#myTab.nav.nav-tabs
%li.active
%a{:href => "#home"} Home
%li
%a{:href => "#profile"} Profile
%li
%a{:href => "#messages"} Messages
%li
%a{:href => "#settings"} 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.
.span6
%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-inner
.container(style="width: auto;")
%a.btn.btn-navbar(data-toggle="collapse" data-target=".nav-collapse")
%span.icon-bar
%span.icon-bar
%span.icon-bar
%a.brand(href="#") Project name
.nav-collapse
%ul.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-search.pull-left(action="")
%input.search-query.span2(type="text" placeholder="Search")
%ul.nav.pull-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
.navbar-inner
.container(style="width: auto;")
%a.btn.btn-navbar(data-toggle="collapse" data-target=".nav-collapse")
%span.icon-bar
%span.icon-bar
%span.icon-bar
.nav-collapse
%ul.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-search.pull-left(action="")
%input.search-query.span2(type="text" placeholder="Search")
%ul.nav.pull-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
/ =========================Buttons=========================
%section#buttons
.page-header
%h1 Buttons
%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(href="#") Default
%td<
%a.btn.btn-large(href="#") Default
%td<
%a.btn.btn-small(href="#") Default
%td<
%a.btn.disabled(href="#") Default
%td<
%a.btn(href="#")<
= succeed ' Default' do
%i.icon-cog>
%td
.btn-group
%a.btn(href="#") Default
%a.btn.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-primary(href="#") Primary
%td<
%a.btn.btn-primary.btn-large(href="#") Primary
%td<
%a.btn.btn-primary.btn-small(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-large(href="#") Info
%td<
%a.btn.btn-info.btn-small(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-large(href="#") Success
%td<
%a.btn.btn-success.btn-small(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-large(href="#") Warning
%td<
%a.btn.btn-warning.btn-small(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-large(href="#") Danger
%td<
%a.btn.btn-danger.btn-small(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
%tr
%td<
%a.btn.btn-inverse(href="#") Inverse
%td<
%a.btn.btn-inverse.btn-large(href="#") Inverse
%td<
%a.btn.btn-inverse.btn-small(href="#") Inverse
%td<
%a.btn.btn-inverse.disabled(href="#") Inverse
%td<
%a.btn.btn-inverse(href="#")<
= succeed ' Inverse' do
%i.icon-random.icon-white>
%td
.btn-group
%a.btn.btn-inverse(href="#") Inverse
%a.btn.btn-inverse.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
.span7.offset1
%form.well.form-search
%input.input-medium.search-query(type="text")
%button.btn(type="submit") Search
%form.well.form-search
%input.input-small(type="text" placeholder="Email")
%input.input-small(type="password" placeholder="Password")
%button.btn(type="submit") Go
%form.form-horizontal.well
%fieldset
%legend Controls Bootstrap supports
.control-group
%label.control-label(for="input01") Text input
.controls
%input.input-xlarge(type="text" id="input01")
%p.help-blockIn addition to freeform text, any HTML5 text-based input appears like so.
.control-group
%label.control-label(for="optionsCheckbox") Checkbox
.controls
%label.checkbox
%input#optionsCheckbox(type="checkbox" value="option1")
Option one is this and that—be sure to include why it's great
.control-group
%label.control-label(for="select01") Select list
.controls
%select#select01
%option something
%option 2
%option 3
%option 4
%option 5
.control-group
%label.control-label(for="multiSelect") Multicon-select
.controls
%select#multiSelect(multiple="multiple")
%option 1
%option 2
%option 3
%option 4
%option 5
.control-group
%label.control-label(for="fileInput") File input
.controls
%input.input-file#fileInput(type="file")
.control-group
%label.control-label(for="textarea") Textarea
.controls
%textarea.input-xlarge#textarea(rows="3")
.control-group
%label.control-label(for="focusedInput") Focused input
.controls
%input.input-xlarge.focused#focusedInput(type="text" value="This is focused…")
.control-group
%label.control-label Uneditable input
.controls
%span.input-xlarge.uneditable-input Some value here
.control-group
%label.control-label(for="disabledInput") Disabled input
.controls
%input.input-xlarge.disabled#disabledInput(type="text" placeholder="Disabled input here…" disabled)
.control-group
%label.control-label(for="optionsCheckbox2") Disabled checkbox
.controls
%label.checkbox
%input#optionsCheckbox2(type="checkbox" value="option1" disabled) This is a disabled checkbox
.control-group.warning
%label.control-label(for="inputWarning") Input with warning
.controls
%input#inputWarning(type="text")
%span.help-inline Something may have gone wrong
.control-group.error
%label.control-label(for="inputError") Input with error
.controls
%input#inputError(type="text")
%span.help-inline Please correct the error
.control-group.success
%label.control-label(for="inputSuccess") Input with success
.controls
%input#inputSuccess(type="text")
%span.help-inline Woohoo!
.control-group.succes
%label.control-label(for="selectError") Select with success
.controls
%select#selectError
%option 1
%option 2
%option 3
%option 4
%option 5
%span.help-inline Woohoo!
.form-actions
%button.btn.btn-primary(type="submit") Save changes
%button.btn(type="reset") Cancel
/ =========================Miscellaneous=========================
%section#miscellaneous
.page-header
%h1 Miscellaneous
.row
.span5
%h3#breadcrumbs Breadcrumbs
%ul.breadcrumb
%li.active Home
%ul.breadcrumb
%li<
%a(href="#")> Home
= precede ' ' do
%span.divider /
%li.active Library
%ul.breadcrumb
%li<
%a(href="#")> Home
= precede ' ' do
%span.divider /
%li<
%a(href="#")> Library
= precede ' ' do
%span.divider /
%li.active Data
.span6.offset1
%h3#pagination Pagination
.pagination
%ul
%li.disabled<
%a(href="#") «
%li.active<
%a(href="#") 1
%li<
%a(href="#") 2
%li<
%a(href="#") 3
%li<
%a(href="#") 4
%li<
%a(href="#") »
.pagination
%ul
%li<
%a(href="#") ←
%li.active<
%a(href="#") 10
%li.disabled<
%a(href="#") ...
%li<
%a(href="#") 20
%li<
%a(href="#") →
.pagination.pagination-centered
%ul
%li.active<
%a(href="#") 1
%li<
%a(href="#") 2
%li<
%a(href="#") 3
%li<
%a(href="#") 4
%li<
%a(href="#") 5
/ =========================Labels=========================
.row
.span6
%h3#labels Labels
%span.label Default
%span.label.label-success Success
%span.label.label-warning Warning
%span.label.label-important Important
%span.label.label-info Info
.span6
%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
.span4
.progress
.bar(style="width: 60%;")
.span4
.progress.progress-info.progress-striped
.bar(style="width: 20%;")
.span4
.progress.progress-danger.progress-striped.active
.bar(style="width: 45%")
%br
/ =========================Alerts & Messages=========================
%h3#alerts Alerts
.row
.span12
.alert.alert-block
%a.close ×
%h4.alert-heading Alert block
%p 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.
.row
.span4
.alert.alert-error
%a.close ×
=succeed ' Change a few things up and try submitting again.' do
%strong Error
.span4
.alert.alert-success
%a.close ×
=succeed ' You successfully read this important alert message.' do
%strong Success
.span4
.alert.alert-info
%a.close ×
=succeed " This alert needs your attention, but it's not super important." do
%strong Information
/ =========================Font Awesome Icons=========================
%section#fontawesome
.page-header
%h1 Font Awesome Icons
%p This theme uses "Font Awesome" as an icon set to increase the flexibility and presentation of the icons. We've included a small sampling of this font on in this section.
Go to the Font Awesome website to see the
%a{:href => "http://fortawesome.github.io/Font-Awesome/icons/"} list of available icons
and
%a{:href => "http://fortawesome.github.io/Font-Awesome/examples/"} examples
of how to implement them.
.row
.span4
%h3 Inline & Large Icons
.well
%div
%i.icon-camera-retro
icon-camera-retro (regular)
%p
%i.icon-camera-retro.icon-large
icon-camera-retro (large)
%p
%i.icon-camera-retro.icon-2x
icon-camera-retro (2XL)
%p
%i.icon-camera-retro.icon-3x
icon-camera-retro (3XL)
%p
%i.icon-camera-retro.icon-4x
icon-camera-retro (4XL)