locomotivecms_wagon 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -3
  3. data/generators/blank/config/site.yml.tt +20 -6
  4. data/generators/bootstrap/config/site.yml.tt +20 -6
  5. data/generators/{bootstrap → bootstrap2}/Gemfile.tt +0 -0
  6. data/generators/{bootstrap → bootstrap2}/app/content_types/.empty_directory +0 -0
  7. data/generators/{bootstrap → bootstrap2}/app/views/pages/404.liquid +0 -0
  8. data/generators/{bootstrap → bootstrap2}/app/views/pages/404.liquid.haml +0 -0
  9. data/generators/{bootstrap → bootstrap2}/app/views/pages/index.liquid +1 -1
  10. data/generators/{bootstrap → bootstrap2}/app/views/pages/index.liquid.haml +0 -0
  11. data/generators/{bootstrap → bootstrap2}/app/views/snippets/footer.liquid +0 -0
  12. data/generators/{bootstrap → bootstrap2}/app/views/snippets/footer.liquid.haml +0 -0
  13. data/generators/{bootstrap → bootstrap2}/config/deploy.yml +0 -0
  14. data/generators/bootstrap2/config/site.yml.tt +34 -0
  15. data/generators/{bootstrap → bootstrap2}/config/translations.yml +0 -0
  16. data/generators/{bootstrap → bootstrap2}/config.ru +0 -0
  17. data/generators/{bootstrap → bootstrap2}/data/.empty_directory +0 -0
  18. data/generators/bootstrap2/public/fonts/FontAwesome.otf +0 -0
  19. data/generators/bootstrap2/public/fonts/fontawesome-webfont.eot +0 -0
  20. data/generators/bootstrap2/public/fonts/fontawesome-webfont.svg +399 -0
  21. data/generators/bootstrap2/public/fonts/fontawesome-webfont.ttf +0 -0
  22. data/generators/bootstrap2/public/fonts/fontawesome-webfont.woff +0 -0
  23. data/generators/{bootstrap → bootstrap2}/public/javascripts/bootstrap.js +230 -109
  24. data/generators/bootstrap2/public/javascripts/bootstrap.min.js +6 -0
  25. data/generators/{bootstrap → bootstrap2}/public/samples/.empty_directory +0 -0
  26. data/generators/{bootstrap → bootstrap2}/public/stylesheets/application.css.scss +0 -0
  27. data/generators/{bootstrap → bootstrap2}/public/stylesheets/bootstrap-responsive.css +26 -9
  28. data/generators/bootstrap2/public/stylesheets/bootstrap-responsive.min.css +9 -0
  29. data/generators/{bootstrap → bootstrap2}/public/stylesheets/bootstrap.css +2961 -3045
  30. data/generators/bootstrap2/public/stylesheets/bootstrap.min.css +9 -0
  31. data/generators/{bootstrap → bootstrap2}/public/stylesheets/fonts/awesome.css.scss +0 -0
  32. data/generators/bootstrap2/public/stylesheets/fonts/font-awesome-ie7.css +1203 -0
  33. data/generators/bootstrap2/public/stylesheets/fonts/font-awesome-ie7.min.css +384 -0
  34. data/generators/bootstrap2/public/stylesheets/fonts/font-awesome.css +1470 -0
  35. data/generators/bootstrap2/public/stylesheets/fonts/font-awesome.min.css +403 -0
  36. data/generators/bootstrap3/Gemfile.tt +23 -0
  37. data/generators/bootstrap3/app/content_types/.empty_directory +1 -0
  38. data/generators/bootstrap3/app/views/pages/404.liquid +13 -0
  39. data/generators/bootstrap3/app/views/pages/404.liquid.haml +10 -0
  40. data/generators/bootstrap3/app/views/pages/index.liquid +779 -0
  41. data/generators/bootstrap3/app/views/pages/index.liquid.haml +1058 -0
  42. data/generators/bootstrap3/app/views/snippets/footer.liquid +3 -0
  43. data/generators/bootstrap3/app/views/snippets/footer.liquid.haml +2 -0
  44. data/generators/bootstrap3/config/deploy.yml +15 -0
  45. data/generators/bootstrap3/config/site.yml.tt +19 -0
  46. data/generators/bootstrap3/config/translations.yml +8 -0
  47. data/generators/bootstrap3/config.ru +3 -0
  48. data/generators/bootstrap3/data/.empty_directory +1 -0
  49. data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.eot +0 -0
  50. data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.svg +228 -0
  51. data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.ttf +0 -0
  52. data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.woff +0 -0
  53. data/generators/bootstrap3/public/javascripts/bootstrap.js +1999 -0
  54. data/generators/bootstrap3/public/javascripts/bootstrap.min.js +6 -0
  55. data/generators/bootstrap3/public/samples/apple-touch-icon-114-precomposed.png +0 -0
  56. data/generators/bootstrap3/public/samples/apple-touch-icon-144-precomposed.png +0 -0
  57. data/generators/bootstrap3/public/samples/apple-touch-icon-57-precomposed.png +0 -0
  58. data/generators/bootstrap3/public/samples/apple-touch-icon-72-precomposed.png +0 -0
  59. data/generators/bootstrap3/public/samples/favicon.png +0 -0
  60. data/generators/bootstrap3/public/stylesheets/bootstrap-theme.css +384 -0
  61. data/generators/bootstrap3/public/stylesheets/bootstrap-theme.min.css +1 -0
  62. data/generators/bootstrap3/public/stylesheets/bootstrap.css +6805 -0
  63. data/generators/bootstrap3/public/stylesheets/bootstrap.min.css +9 -0
  64. data/generators/foundation/app/views/pages/index.liquid +13 -18
  65. data/generators/foundation/app/views/pages/index.liquid.haml +51 -58
  66. data/generators/foundation/app/views/snippets/footer.liquid +12 -12
  67. data/generators/foundation/app/views/snippets/footer.liquid.haml +4 -5
  68. data/generators/foundation/config/site.yml.tt +20 -6
  69. data/generators/foundation/public/javascripts/foundation/foundation.abide.js +194 -0
  70. data/generators/foundation/public/javascripts/foundation/foundation.alerts.js +11 -6
  71. data/generators/foundation/public/javascripts/foundation/foundation.clearing.js +6 -6
  72. data/generators/foundation/public/javascripts/foundation/foundation.cookie.js +1 -1
  73. data/generators/foundation/public/javascripts/foundation/foundation.dropdown.js +19 -14
  74. data/generators/foundation/public/javascripts/foundation/foundation.forms.js +77 -37
  75. data/generators/foundation/public/javascripts/foundation/foundation.interchange.js +33 -24
  76. data/generators/foundation/public/javascripts/foundation/foundation.joyride.js +17 -9
  77. data/generators/foundation/public/javascripts/foundation/foundation.js +30 -13
  78. data/generators/foundation/public/javascripts/foundation/foundation.magellan.js +9 -5
  79. data/generators/foundation/public/javascripts/foundation/foundation.orbit.js +361 -319
  80. data/generators/foundation/public/javascripts/foundation/foundation.placeholder.js +426 -159
  81. data/generators/foundation/public/javascripts/foundation/foundation.reveal.js +42 -19
  82. data/generators/foundation/public/javascripts/foundation/foundation.section.js +322 -308
  83. data/generators/foundation/public/javascripts/foundation/foundation.tooltips.js +5 -4
  84. data/generators/foundation/public/javascripts/foundation/foundation.topbar.js +144 -71
  85. data/generators/foundation/public/javascripts/foundation.min.js +15 -32
  86. data/generators/foundation/public/javascripts/vendor/custom.modernizr.js +1 -1
  87. data/generators/foundation/public/javascripts/vendor/jquery.js +4389 -4197
  88. data/generators/foundation/public/javascripts/vendor/zepto.js +117 -1
  89. data/generators/foundation/public/stylesheets/foundation.css +1145 -668
  90. data/generators/foundation/public/stylesheets/foundation.min.css +1 -440
  91. data/generators/foundation/public/stylesheets/normalize.css +162 -91
  92. data/lib/locomotive/wagon/exceptions.rb +1 -1
  93. data/lib/locomotive/wagon/generators/site/bootstrap2.rb +35 -0
  94. data/lib/locomotive/wagon/generators/site/{bootstrap.rb → bootstrap3.rb} +3 -3
  95. data/lib/locomotive/wagon/generators/site/foundation.rb +1 -1
  96. data/lib/locomotive/wagon/generators/site.rb +2 -1
  97. data/lib/locomotive/wagon/liquid/drops/base.rb +4 -2
  98. data/lib/locomotive/wagon/liquid/drops/content_entry.rb +4 -4
  99. data/lib/locomotive/wagon/liquid/drops/page.rb +3 -3
  100. data/lib/locomotive/wagon/liquid/drops/site.rb +3 -3
  101. data/lib/locomotive/wagon/liquid/tags/link_to.rb +2 -1
  102. data/lib/locomotive/wagon/misc/better_errors.rb +1 -1
  103. data/lib/locomotive/wagon/server/renderer.rb +9 -2
  104. data/lib/locomotive/wagon/server.rb +1 -3
  105. data/lib/locomotive/wagon/version.rb +1 -1
  106. data/locomotivecms_wagon.gemspec +2 -2
  107. data/spec/integration/server/basic_spec.rb +7 -0
  108. metadata +68 -35
  109. data/generators/bootstrap/public/fonts/FontAwesome.otf +0 -0
  110. data/generators/bootstrap/public/fonts/fontawesome-webfont.eot +0 -0
  111. data/generators/bootstrap/public/fonts/fontawesome-webfont.ttf +0 -0
  112. data/generators/bootstrap/public/fonts/fontawesome-webfont.woff +0 -0
  113. data/generators/bootstrap/public/javascripts/bootstrap.min.js +0 -6
  114. data/generators/bootstrap/public/stylesheets/bootstrap-responsive.min.css +0 -9
  115. data/generators/bootstrap/public/stylesheets/bootstrap.min.css +0 -726
  116. data/generators/bootstrap/public/stylesheets/fonts/font-awesome-ie7.min.css +0 -23
  117. data/generators/bootstrap/public/stylesheets/fonts/font-awesome.css +0 -460
  118. data/lib/locomotive/wagon/server/not_found.rb +0 -19
@@ -0,0 +1,1058 @@
1
+ ---
2
+ title: Home page
3
+ published: true
4
+ ---
5
+ !!!
6
+ %html{lang: "en"}
7
+ %head
8
+ %meta{content: "text/html; charset=UTF-8", "http-equiv" => "content-type"}/
9
+ %meta{charset: "utf-8"}/
10
+ %title Bootply.com - Bootstrap 3 Template
11
+ %meta{content: "Bootply", name: "generator"}/
12
+ %meta{content: "width=device-width, initial-scale=1, maximum-scale=1", name: "viewport"}/
13
+ %body
14
+ %p
15
+ {{ 'bootstrap.css' | stylesheet_tag }}
16
+ /[if lt IE 9]
17
+ <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
18
+ %link{href: "/samples/favicon.ico", rel: "shortcut icon"}/
19
+ %link{href: "/samples/apple-touch-icon.png", rel: "apple-touch-icon"}/
20
+ %link{href: "/samples/apple-touch-icon-72x72.png", rel: "apple-touch-icon", sizes: "72x72"}/
21
+ %link{href: "/samples/apple-touch-icon-114x114.png", rel: "apple-touch-icon", sizes: "114x114"}/
22
+ / CSS code from Bootply.com editor
23
+ :css
24
+ @media screen and (min-width: 992px) {
25
+ .the-icons li {
26
+ width: 12.5%;
27
+ }
28
+ }
29
+ .the-buttons > li {
30
+ float: left;
31
+ height: 80px;
32
+ padding: 10px;
33
+ border: 1px solid #ddd;
34
+ font-size: 12px;
35
+ line-height: 1.25;
36
+ text-align: center;
37
+ -webkit-box-sizing: border-box;
38
+ -moz-box-sizing: border-box;
39
+ box-sizing: border-box;
40
+ margin: 0 -1px -1px 0;
41
+ }
42
+ .the-icons .glyphicon {
43
+ display: block;
44
+ margin: 5px auto;
45
+ vertical-align: middle;
46
+ margin-right: 3px;
47
+ font-size: 24px;
48
+ }
49
+ .the-icons li {
50
+ float: left;
51
+ width: 100px;
52
+ height: 110px;
53
+ padding: 10px;
54
+ border: 1px solid #ddd;
55
+ font-size: 12px;
56
+ line-height: 1.25;
57
+ text-align: center;
58
+ -webkit-box-sizing: border-box;
59
+ -moz-box-sizing: border-box;
60
+ box-sizing: border-box;
61
+ margin: 0 -1px -1px 0;
62
+ }
63
+ .the-icons, .the-buttons {
64
+ list-style:none;
65
+ }
66
+ .container
67
+ %h1 Bootstrap 3 Template
68
+ %p.lead A Full Featured Example
69
+ /
70
+ Typography
71
+ \==================================================
72
+ %section#typography
73
+ .page-header
74
+ / Headings & Paragraph Copy
75
+ .row
76
+ .col-lg-6
77
+ .well
78
+ %h1 h1. Bootstrap 3
79
+ %h2 h2. Heading 2
80
+ %h3 h3. Heading 3
81
+ %h4 h4. Heading 4
82
+ %h5 h5. Heading 5
83
+ %h6 h6. Heading 6
84
+ .col-lg-6
85
+ %h3 Bootstrap Framework
86
+ %p In simple terms, a responsive web design figures out what resolution of device it's being served on. Flexible grids then size correctly to fit the screen.
87
+ %p The new Bootstrap 3 promises to be a smaller build. The separate Bootstrap base and responsive.css files have now been merged into one. There is no more fixed grid, only fluid.
88
+ %hr/
89
+ %blockquote.pull-right
90
+ %p Have you ever had a project where you thought it would be so much better to just throw everything out and start over? I believe that’s what’s happening with BS3.
91
+ %small
92
+ %cite{title: "Source Title"} Quasipickle
93
+ /
94
+ Bootstrap 3 Navbar
95
+ \==================================================
96
+ %section#navbar
97
+ .page-header
98
+ %h1 Bootstrap 3 Navbar
99
+ .container
100
+ %nav.navbar{role: "navigation"}
101
+ / Brand and toggle get grouped for better mobile display
102
+ .navbar-header
103
+ %button.navbar-toggle{"data-target" => ".navbar-ex1-collapse", "data-toggle" => "collapse", type: "button"}
104
+ %span.sr-only Toggle navigation
105
+ %span.icon-bar
106
+ %span.icon-bar
107
+ %span.icon-bar
108
+ %a.navbar-brand{href: "#"} Title
109
+ / Collect the nav links, forms, and other content for toggling
110
+ .collapse.navbar-collapse.navbar-ex1-collapse
111
+ %ul.nav.navbar-nav
112
+ %li.active
113
+ %a{href: "#"} Home
114
+ %li
115
+ %a{href: "#"} Link
116
+ %li
117
+ %a{href: "#"} Link
118
+ %li.dropdown
119
+ %a.dropdown-toggle{"data-toggle" => "dropdown", href: "#"}
120
+ Dropdown
121
+ %b.caret
122
+ %ul.dropdown-menu
123
+ %li
124
+ %a{href: "#"} Action
125
+ %li
126
+ %a{href: "#"} One more separated link
127
+ %ul.nav.navbar-nav.navbar-right
128
+ %li
129
+ %a{href: "#"} Link
130
+ / /.navbar-collapse
131
+ .container
132
+ %nav.navbar.navbar-inverse{role: "navigation"}
133
+ / Brand and toggle get grouped for better mobile display
134
+ .navbar-header
135
+ %button.navbar-toggle{"data-target" => ".navbar-ex1-collapse", "data-toggle" => "collapse", type: "button"}
136
+ %span.sr-only Toggle navigation
137
+ %span.icon-bar
138
+ %span.icon-bar
139
+ %span.icon-bar
140
+ %a.navbar-brand{href: "#"} Title
141
+ / Collect the nav links, forms, and other content for toggling
142
+ .collapse.navbar-collapse.navbar-ex1-collapse
143
+ %ul.nav.navbar-nav
144
+ %li.active
145
+ %a{href: "#"} Home
146
+ %li
147
+ %a{href: "#"} Link
148
+ %li
149
+ %a{href: "#"} Link
150
+ %li.dropdown
151
+ %a.dropdown-toggle{"data-toggle" => "dropdown", href: "#"}
152
+ Dropdown
153
+ %b.caret
154
+ %ul.dropdown-menu
155
+ %li
156
+ %a{href: "#"} Action
157
+ %li
158
+ %a{href: "#"} One more separated link
159
+ %ul.nav.navbar-nav.navbar-right
160
+ %li
161
+ %a{href: "#"} Link
162
+ / /.navbar-collapse
163
+ /
164
+ Bootstrap 3 Scaffolding
165
+ \==================================================
166
+ %section
167
+ .page-header
168
+ %h1 Grid
169
+ %p.lead Bootstrap 3 scaffolding has changed for improved display on mobile devices
170
+ .container
171
+ .row
172
+ .col-lg-12
173
+ .well
174
+ %p col-lg-12
175
+ .row
176
+ .col-lg-4
177
+ .well
178
+ %p col-lg-4
179
+ .col-lg-4
180
+ .well
181
+ %p col-lg-4
182
+ .col-lg-4
183
+ .well
184
+ %p col-lg-4
185
+ .row
186
+ .col-lg-6.col-sm-6
187
+ .well
188
+ %p col-lg-6
189
+ .col-lg-6.col-sm-6
190
+ .well
191
+ %p col-lg-6
192
+ .row
193
+ .col-lg-9.col-sm-6
194
+ .well col-lg-9 / col-sm-6
195
+ .col-lg-3.col-sm-6
196
+ .well col-lg-3 / col-sm-6
197
+ /
198
+ Bootstrap 3 Buttons
199
+ \==================================================
200
+ %section#buttons
201
+ .page-header
202
+ %h1 Bootstrap 3 Buttons
203
+ %p.lead With no gradients and borders, Bootstrap 3.0 buttons now have a flatter look
204
+ %h2 Button Sizes (4)
205
+ %ul.the-buttons.clearfix
206
+ %li
207
+ %a.btn.btn-xs.btn-primary{href: "#"} btn-xs
208
+ %li
209
+ %a.btn.btn-sm.btn-primary{href: "#"} btn-sm
210
+ %li
211
+ %a.btn.btn-primary{href: "#"} btn
212
+ %li
213
+ %a.btn.btn-lg.btn-primary{href: "#"} btn-lg
214
+ %h2 Button Classes
215
+ %ul.the-buttons.clearfix
216
+ %li
217
+ %a.btn.btn-default{href: "#"} Default
218
+ %li
219
+ %a.btn.btn-primary{href: "#"} Primary
220
+ %li
221
+ %a.btn.btn-success{href: "#"} Success
222
+ %li
223
+ %a.btn.btn-info{href: "#"} Info
224
+ %li
225
+ %a.btn.btn-warning{href: "#"} Warning
226
+ %li
227
+ %a.btn.btn-danger{href: "#"} Danger
228
+ %li
229
+ %a.btn.btn-primary.disabled{href: "#"} Disabled
230
+ %li
231
+ %a.btn.btn-link{href: "#"} Link
232
+ %li
233
+ / Single button
234
+ .btn-group
235
+ %button.btn.btn-default.dropdown-toggle{"data-toggle" => "dropdown", type: "button"}
236
+ Dropdown
237
+ %span.caret
238
+ %ul.dropdown-menu
239
+ %li
240
+ %a{href: "#"} Action
241
+ %li
242
+ %a{href: "#"} Another action
243
+ %li
244
+ %a{href: "#"} Something else here
245
+ %li.divider
246
+ %li
247
+ %a{href: "#"} Separated link
248
+ %li
249
+ %a.btn.btn-info{href: "#"}
250
+ %i.glyphicon.glyphicon-map-marker
251
+ Icon
252
+ /
253
+ Icons
254
+ \==================================================
255
+ %section#icons
256
+ .page-header
257
+ %h2 Bootstrap 3 Icons
258
+ %p.lead The 2.x icons are now replaced by glyphicons in BS3.
259
+ .row
260
+ %ul.the-icons.clearfix
261
+ %li
262
+ %i.glyphicon.glyphicon-glass
263
+ glyphicon-glass
264
+ %li
265
+ %i.glyphicon.glyphicon-music
266
+ glyphicon-music
267
+ %li
268
+ %i.glyphicon.glyphicon-search
269
+ glyphicon-search
270
+ %li
271
+ %i.glyphicon.glyphicon-envelope
272
+ glyphicon-envelope
273
+ %li
274
+ %i.glyphicon.glyphicon-heart
275
+ glyphicon-heart
276
+ %li
277
+ %i.glyphicon.glyphicon-star
278
+ glyphicon-star
279
+ %li
280
+ %i.glyphicon.glyphicon-star-empty
281
+ glyphicon-star-empty
282
+ %li
283
+ %i.glyphicon.glyphicon-user
284
+ glyphicon-user
285
+ %li
286
+ %i.glyphicon.glyphicon-film
287
+ glyphicon-film
288
+ %li
289
+ %i.glyphicon.glyphicon-th-large
290
+ glyphicon-th-large
291
+ %li
292
+ %i.glyphicon.glyphicon-th
293
+ glyphicon-th
294
+ %li
295
+ %i.glyphicon.glyphicon-th-list
296
+ glyphicon-th-list
297
+ %li
298
+ %i.glyphicon.glyphicon-ok
299
+ glyphicon-ok
300
+ %li
301
+ %i.glyphicon.glyphicon-remove
302
+ glyphicon-remove
303
+ %li
304
+ %i.glyphicon.glyphicon-zoom-in
305
+ glyphicon-zoom-in
306
+ %li
307
+ %i.glyphicon.glyphicon-zoom-out
308
+ glyphicon-zoom-out
309
+ %li
310
+ %i.glyphicon.glyphicon-off
311
+ glyphicon-off
312
+ %li
313
+ %i.glyphicon.glyphicon-signal
314
+ glyphicon-signal
315
+ %li
316
+ %i.glyphicon.glyphicon-cog
317
+ glyphicon-cog
318
+ %li
319
+ %i.glyphicon.glyphicon-trash
320
+ glyphicon-trash
321
+ %li
322
+ %i.glyphicon.glyphicon-home
323
+ glyphicon-home
324
+ %li
325
+ %i.glyphicon.glyphicon-file
326
+ glyphicon-file
327
+ %li
328
+ %i.glyphicon.glyphicon-time
329
+ glyphicon-time
330
+ %li
331
+ %i.glyphicon.glyphicon-road
332
+ glyphicon-road
333
+ %li
334
+ %i.glyphicon.glyphicon-download-alt
335
+ glyphicon-download-alt
336
+ %li
337
+ %i.glyphicon.glyphicon-download
338
+ glyphicon-download
339
+ %li
340
+ %i.glyphicon.glyphicon-upload
341
+ glyphicon-upload
342
+ %li
343
+ %i.glyphicon.glyphicon-inbox
344
+ glyphicon-inbox
345
+ %li
346
+ %i.glyphicon.glyphicon-play-circle
347
+ glyphicon-play-circle
348
+ %li
349
+ %i.glyphicon.glyphicon-repeat
350
+ glyphicon-repeat
351
+ %li
352
+ %i.glyphicon.glyphicon-refresh
353
+ glyphicon-refresh
354
+ %li
355
+ %i.glyphicon.glyphicon-list-alt
356
+ glyphicon-list-alt
357
+ %li
358
+ %i.glyphicon.glyphicon-lock
359
+ glyphicon-lock
360
+ %li
361
+ %i.glyphicon.glyphicon-flag
362
+ glyphicon-flag
363
+ %li
364
+ %i.glyphicon.glyphicon-headphones
365
+ glyphicon-headphones
366
+ %li
367
+ %i.glyphicon.glyphicon-volume-off
368
+ glyphicon-volume-off
369
+ %li
370
+ %i.glyphicon.glyphicon-volume-down
371
+ glyphicon-volume-down
372
+ %li
373
+ %i.glyphicon.glyphicon-volume-up
374
+ glyphicon-volume-up
375
+ %li
376
+ %i.glyphicon.glyphicon-qrcode
377
+ glyphicon-qrcode
378
+ %li
379
+ %i.glyphicon.glyphicon-barcode
380
+ glyphicon-barcode
381
+ %li
382
+ %i.glyphicon.glyphicon-tag
383
+ glyphicon-tag
384
+ %li
385
+ %i.glyphicon.glyphicon-tags
386
+ glyphicon-tags
387
+ %li
388
+ %i.glyphicon.glyphicon-book
389
+ glyphicon-book
390
+ %li
391
+ %i.glyphicon.glyphicon-bookmark
392
+ glyphicon-bookmark
393
+ %li
394
+ %i.glyphicon.glyphicon-print
395
+ glyphicon-print
396
+ %li
397
+ %i.glyphicon.glyphicon-camera
398
+ glyphicon-camera
399
+ %li
400
+ %i.glyphicon.glyphicon-font
401
+ glyphicon-font
402
+ %li
403
+ %i.glyphicon.glyphicon-bold
404
+ glyphicon-bold
405
+ %li
406
+ %i.glyphicon.glyphicon-italic
407
+ glyphicon-italic
408
+ %li
409
+ %i.glyphicon.glyphicon-text-height
410
+ glyphicon-text-height
411
+ %li
412
+ %i.glyphicon.glyphicon-text-width
413
+ glyphicon-text-width
414
+ %li
415
+ %i.glyphicon.glyphicon-align-left
416
+ glyphicon-align-left
417
+ %li
418
+ %i.glyphicon.glyphicon-align-center
419
+ glyphicon-align-center
420
+ %li
421
+ %i.glyphicon.glyphicon-align-right
422
+ glyphicon-align-right
423
+ %li
424
+ %i.glyphicon.glyphicon-align-justify
425
+ glyphicon-align-justify
426
+ %li
427
+ %i.glyphicon.glyphicon-list
428
+ glyphicon-list
429
+ %li
430
+ %i.glyphicon.glyphicon-indent-left
431
+ glyphicon-indent-left
432
+ %li
433
+ %i.glyphicon.glyphicon-indent-right
434
+ glyphicon-indent-right
435
+ %li
436
+ %i.glyphicon.glyphicon-facetime-video
437
+ glyphicon-facetime-video
438
+ %li
439
+ %i.glyphicon.glyphicon-picture
440
+ glyphicon-picture
441
+ %li
442
+ %i.glyphicon.glyphicon-pencil
443
+ glyphicon-pencil
444
+ %li
445
+ %i.glyphicon.glyphicon-map-marker
446
+ glyphicon-map-marker
447
+ %li
448
+ %i.glyphicon.glyphicon-adjust
449
+ glyphicon-adjust
450
+ %li
451
+ %i.glyphicon.glyphicon-tint
452
+ glyphicon-tint
453
+ %li
454
+ %i.glyphicon.glyphicon-edit
455
+ glyphicon-edit
456
+ %li
457
+ %i.glyphicon.glyphicon-share
458
+ glyphicon-share
459
+ %li
460
+ %i.glyphicon.glyphicon-check
461
+ glyphicon-check
462
+ %li
463
+ %i.glyphicon.glyphicon-move
464
+ glyphicon-move
465
+ %li
466
+ %i.glyphicon.glyphicon-step-backward
467
+ glyphicon-step-backward
468
+ %li
469
+ %i.glyphicon.glyphicon-fast-backward
470
+ glyphicon-fast-backward
471
+ %li
472
+ %i.glyphicon.glyphicon-backward
473
+ glyphicon-backward
474
+ %li
475
+ %i.glyphicon.glyphicon-play
476
+ glyphicon-play
477
+ %li
478
+ %i.glyphicon.glyphicon-pause
479
+ glyphicon-pause
480
+ %li
481
+ %i.glyphicon.glyphicon-stop
482
+ glyphicon-stop
483
+ %li
484
+ %i.glyphicon.glyphicon-forward
485
+ glyphicon-forward
486
+ %li
487
+ %i.glyphicon.glyphicon-fast-forward
488
+ glyphicon-fast-forward
489
+ %li
490
+ %i.glyphicon.glyphicon-step-forward
491
+ glyphicon-step-forward
492
+ %li
493
+ %i.glyphicon.glyphicon-eject
494
+ glyphicon-eject
495
+ %li
496
+ %i.glyphicon.glyphicon-chevron-left
497
+ glyphicon-chevron-left
498
+ %li
499
+ %i.glyphicon.glyphicon-chevron-right
500
+ glyphicon-chevron-right
501
+ %li
502
+ %i.glyphicon.glyphicon-plus-sign
503
+ glyphicon-plus-sign
504
+ %li
505
+ %i.glyphicon.glyphicon-minus-sign
506
+ glyphicon-minus-sign
507
+ %li
508
+ %i.glyphicon.glyphicon-remove-sign
509
+ glyphicon-remove-sign
510
+ %li
511
+ %i.glyphicon.glyphicon-ok-sign
512
+ glyphicon-ok-sign
513
+ %li
514
+ %i.glyphicon.glyphicon-question-sign
515
+ glyphicon-question-sign
516
+ %li
517
+ %i.glyphicon.glyphicon-info-sign
518
+ glyphicon-info-sign
519
+ %li
520
+ %i.glyphicon.glyphicon-screenshot
521
+ glyphicon-screenshot
522
+ %li
523
+ %i.glyphicon.glyphicon-remove-circle
524
+ glyphicon-remove-circle
525
+ %li
526
+ %i.glyphicon.glyphicon-ok-circle
527
+ glyphicon-ok-circle
528
+ %li
529
+ %i.glyphicon.glyphicon-ban-circle
530
+ glyphicon-ban-circle
531
+ %li
532
+ %i.glyphicon.glyphicon-arrow-left
533
+ glyphicon-arrow-left
534
+ %li
535
+ %i.glyphicon.glyphicon-arrow-right
536
+ glyphicon-arrow-right
537
+ %li
538
+ %i.glyphicon.glyphicon-arrow-up
539
+ glyphicon-arrow-up
540
+ %li
541
+ %i.glyphicon.glyphicon-arrow-down
542
+ glyphicon-arrow-down
543
+ %li
544
+ %i.glyphicon.glyphicon-share-alt
545
+ glyphicon-share-alt
546
+ %li
547
+ %i.glyphicon.glyphicon-resize-full
548
+ glyphicon-resize-full
549
+ %li
550
+ %i.glyphicon.glyphicon-resize-small
551
+ glyphicon-resize-small
552
+ %li
553
+ %i.glyphicon.glyphicon-plus
554
+ glyphicon-plus
555
+ %li
556
+ %i.glyphicon.glyphicon-minus
557
+ glyphicon-minus
558
+ %li
559
+ %i.glyphicon.glyphicon-asterisk
560
+ glyphicon-asterisk
561
+ %li
562
+ %i.glyphicon.glyphicon-exclamation-sign
563
+ glyphicon-exclamation-sign
564
+ %li
565
+ %i.glyphicon.glyphicon-gift
566
+ glyphicon-gift
567
+ %li
568
+ %i.glyphicon.glyphicon-leaf
569
+ glyphicon-leaf
570
+ %li
571
+ %i.glyphicon.glyphicon-fire
572
+ glyphicon-fire
573
+ %li
574
+ %i.glyphicon.glyphicon-eye-open
575
+ glyphicon-eye-open
576
+ %li
577
+ %i.glyphicon.glyphicon-eye-close
578
+ glyphicon-eye-close
579
+ %li
580
+ %i.glyphicon.glyphicon-warning-sign
581
+ glyphicon-warning-sign
582
+ %li
583
+ %i.glyphicon.glyphicon-plane
584
+ glyphicon-plane
585
+ %li
586
+ %i.glyphicon.glyphicon-calendar
587
+ glyphicon-calendar
588
+ %li
589
+ %i.glyphicon.glyphicon-random
590
+ glyphicon-random
591
+ %li
592
+ %i.glyphicon.glyphicon-comment
593
+ glyphicon-comment
594
+ %li
595
+ %i.glyphicon.glyphicon-magnet
596
+ glyphicon-magnet
597
+ %li
598
+ %i.glyphicon.glyphicon-chevron-up
599
+ glyphicon-chevron-up
600
+ %li
601
+ %i.glyphicon.glyphicon-chevron-down
602
+ glyphicon-chevron-down
603
+ %li
604
+ %i.glyphicon.glyphicon-retweet
605
+ glyphicon-retweet
606
+ %li
607
+ %i.glyphicon.glyphicon-shopping-cart
608
+ glyphicon-shopping-cart
609
+ %li
610
+ %i.glyphicon.glyphicon-folder-close
611
+ glyphicon-folder-close
612
+ %li
613
+ %i.glyphicon.glyphicon-folder-open
614
+ glyphicon-folder-open
615
+ %li
616
+ %i.glyphicon.glyphicon-resize-vertical
617
+ glyphicon-resize-vertical
618
+ %li
619
+ %i.glyphicon.glyphicon-resize-horizontal
620
+ glyphicon-resize-horizontal
621
+ %li
622
+ %i.glyphicon.glyphicon-hdd
623
+ glyphicon-hdd
624
+ %li
625
+ %i.glyphicon.glyphicon-bullhorn
626
+ glyphicon-bullhorn
627
+ %li
628
+ %i.glyphicon.glyphicon-bell
629
+ glyphicon-bell
630
+ %li
631
+ %i.glyphicon.glyphicon-certificate
632
+ glyphicon-certificate
633
+ %li
634
+ %i.glyphicon.glyphicon-thumbs-up
635
+ glyphicon-thumbs-up
636
+ %li
637
+ %i.glyphicon.glyphicon-thumbs-down
638
+ glyphicon-thumbs-down
639
+ %li
640
+ %i.glyphicon.glyphicon-hand-right
641
+ glyphicon-hand-right
642
+ %li
643
+ %i.glyphicon.glyphicon-hand-left
644
+ glyphicon-hand-left
645
+ %li
646
+ %i.glyphicon.glyphicon-hand-up
647
+ glyphicon-hand-up
648
+ %li
649
+ %i.glyphicon.glyphicon-hand-down
650
+ glyphicon-hand-down
651
+ %li
652
+ %i.glyphicon.glyphicon-circle-arrow-right
653
+ glyphicon-circle-arrow-right
654
+ %li
655
+ %i.glyphicon.glyphicon-circle-arrow-left
656
+ glyphicon-circle-arrow-left
657
+ %li
658
+ %i.glyphicon.glyphicon-circle-arrow-up
659
+ glyphicon-circle-arrow-up
660
+ %li
661
+ %i.glyphicon.glyphicon-circle-arrow-down
662
+ glyphicon-circle-arrow-down
663
+ %li
664
+ %i.glyphicon.glyphicon-globe
665
+ glyphicon-globe
666
+ %li
667
+ %i.glyphicon.glyphicon-wrench
668
+ glyphicon-wrench
669
+ %li
670
+ %i.glyphicon.glyphicon-tasks
671
+ glyphicon-tasks
672
+ %li
673
+ %i.glyphicon.glyphicon-filter
674
+ glyphicon-filter
675
+ %li
676
+ %i.glyphicon.glyphicon-briefcase
677
+ glyphicon-briefcase
678
+ %li
679
+ %i.glyphicon.glyphicon-fullscreen
680
+ glyphicon-fullscreen
681
+ %li
682
+ %i.glyphicon.glyphicon-dashboard
683
+ glyphicon-dashboard
684
+ %li
685
+ %i.glyphicon.glyphicon-paperclip
686
+ glyphicon-paperclip
687
+ %li
688
+ %i.glyphicon.glyphicon-heart-empty
689
+ glyphicon-heart-empty
690
+ %li
691
+ %i.glyphicon.glyphicon-link
692
+ glyphicon-link
693
+ %li
694
+ %i.glyphicon.glyphicon-phone
695
+ glyphicon-phone
696
+ %li
697
+ %i.glyphicon.glyphicon-pushpin
698
+ glyphicon-pushpin
699
+ %li
700
+ %i.glyphicon.glyphicon-euro
701
+ glyphicon-euro
702
+ %li
703
+ %i.glyphicon.glyphicon-usd
704
+ glyphicon-usd
705
+ %li
706
+ %i.glyphicon.glyphicon-gbp
707
+ glyphicon-gbp
708
+ %li
709
+ %i.glyphicon.glyphicon-sort
710
+ glyphicon-sort
711
+ %li
712
+ %i.glyphicon.glyphicon-sort-by-alphabet
713
+ glyphicon-sort-by-alphabet
714
+ %li
715
+ %i.glyphicon.glyphicon-sort-by-alphabet-alt
716
+ glyphicon-sort-by-alphabet-alt
717
+ %li
718
+ %i.glyphicon.glyphicon-sort-by-order
719
+ glyphicon-sort-by-order
720
+ %li
721
+ %i.glyphicon.glyphicon-sort-by-order-alt
722
+ glyphicon-sort-by-order-alt
723
+ %li
724
+ %i.glyphicon.glyphicon-sort-by-attributes
725
+ glyphicon-sort-by-attributes
726
+ %li
727
+ %i.glyphicon.glyphicon-sort-by-attributes-alt
728
+ glyphicon-sort-by-attributes-alt
729
+ %li
730
+ %i.glyphicon.glyphicon-unchecked
731
+ glyphicon-unchecked
732
+ %li
733
+ %i.glyphicon.glyphicon-expand
734
+ glyphicon-expand
735
+ %li
736
+ %i.glyphicon.glyphicon-collapse
737
+ glyphicon-collapse
738
+ %li
739
+ %i.glyphicon.glyphicon-collapse-top
740
+ glyphicon-collapse-top
741
+ /
742
+ Forms
743
+ \==================================================
744
+ %section#forms
745
+ .page-header
746
+ %h2 Forms
747
+ .row
748
+ .col-lg-8
749
+ %h3 Form Inline
750
+ %form.form-inline.well
751
+ .col-md-3
752
+ %input.form-control{placeholder: "Email", type: "text"}/
753
+ .col-md-3
754
+ %input.form-control{placeholder: "Password", type: "password"}/
755
+ .checkbox
756
+ %label
757
+ %input{type: "checkbox"}/
758
+ Remember me
759
+ %button.btn.btn-default{type: "submit"} Sign in
760
+ %h3 Form Horizontal
761
+ %form.form-horizontal.well
762
+ %fieldset
763
+ %legend Bootstrap 3 Inputs
764
+ .control-group
765
+ %label.control-label{for: "input01"} Text input
766
+ .controls
767
+ %input#input01.form-control.input-xlarge{type: "text"}/
768
+ %p.help-block In addition to freeform text, any HTML5 text-based input appears like so.
769
+ .control-group
770
+ %label.control-label{for: "optionsCheckbox"} Checkbox
771
+ .controls
772
+ %label.checkbox
773
+ %input#optionsCheckbox{type: "checkbox", value: "option1"}/
774
+ Option one is this and that—be sure to include why it's great
775
+ .control-group
776
+ %label.control-label{for: "select01"} Select list
777
+ .controls
778
+ %select#select01.form-control
779
+ %option something
780
+ %option 2
781
+ %option 3
782
+ %option 4
783
+ %option 5
784
+ .control-group
785
+ %label.control-label{for: "multiSelect"} Multicon-select
786
+ .controls
787
+ %select#multiSelect.form-control{multiple: "multiple"}
788
+ %option 1
789
+ %option 2
790
+ %option 3
791
+ %option 4
792
+ %option 5
793
+ .control-group
794
+ %label.control-label{for: "fileInput"} File input
795
+ .controls
796
+ %input#fileInput.form-control.input-file{type: "file"}/
797
+ .control-group
798
+ %label.control-label{for: "textarea"} Textarea
799
+ .controls
800
+ %textarea#textarea.form-control.input-xlarge{rows: "3"}
801
+ .control-group
802
+ %label.control-label{for: "optionsCheckbox2"} Disabled checkbox
803
+ .controls
804
+ %label.checkbox
805
+ %input#optionsCheckbox2{disabled: "disabled", type: "checkbox", value: "option1"}/
806
+ This is a disabled checkbox
807
+ .control-group.warning
808
+ %label.control-label{for: "inputWarning"} Input with warning
809
+ .controls
810
+ %input#inputWarning.form-control{type: "text"}/
811
+ %span.help-inline Something may have gone wrong
812
+ %hr/
813
+ .form-actions
814
+ %button.btn.btn-primary{type: "submit"} Save changes
815
+ %button.btn{type: "reset"} Cancel
816
+ /
817
+ Tables
818
+ \==================================================
819
+ %section#tables
820
+ .page-header
821
+ %h1 Tables
822
+ %table.table.table-bordered.table-striped.table-hover
823
+ %thead
824
+ %tr
825
+ %th #
826
+ %th First Name
827
+ %th Last Name
828
+ %th Username
829
+ %tbody
830
+ %tr
831
+ %td 1
832
+ %td Mark
833
+ %td Otto
834
+ %td @mdo
835
+ %tr
836
+ %td 2
837
+ %td Jacob
838
+ %td Thornton
839
+ %td @fat
840
+ %tr
841
+ %td 3
842
+ %td Larry
843
+ %td the Bird
844
+ %td @twitter
845
+ /
846
+ Miscellaneous
847
+ \==================================================
848
+ %section#miscellaneous
849
+ .page-header
850
+ %h1 Miscellaneous
851
+ .row
852
+ .col-lg-4
853
+ %h3#breadcrumbs Breadcrumbs
854
+ %ul.breadcrumb
855
+ %li
856
+ %a{href: "#"} Home
857
+ %span.divider
858
+ %li
859
+ %a{href: "#"} Library
860
+ %span.divider
861
+ %li.active Data
862
+ .col-lg-4
863
+ %h3#pagination Pagination
864
+ %ul.pagination
865
+ %li
866
+ %a{href: "#"} «
867
+ %li
868
+ %a{href: "#"} 1
869
+ %li
870
+ %a{href: "#"} 2
871
+ %li
872
+ %a{href: "#"} 3
873
+ %li
874
+ %a{href: "#"} 4
875
+ %li
876
+ %a{href: "#"} 5
877
+ %li
878
+ %a{href: "#"} »
879
+ .col-lg-4
880
+ %h3#pager Pagers
881
+ %ul.pager
882
+ %li
883
+ %a{href: "#"} Previous
884
+ %li
885
+ %a{href: "#"} Next
886
+ %ul.pager
887
+ %li.previous.disabled
888
+ %a{href: "#"} ? Older
889
+ %li.next
890
+ %a{href: "#"} Newer ?
891
+ /
892
+ Navs
893
+ \==================================================
894
+ .row
895
+ .col-lg-4
896
+ %h3#tabs Tabs
897
+ %ul.nav.nav-tabs
898
+ %li.active
899
+ %a{"data-toggle" => "tab", href: "#A"} Section 1
900
+ %li
901
+ %a{"data-toggle" => "tab", href: "#B"} Section 2
902
+ %li
903
+ %a{"data-toggle" => "tab", href: "#C"} Section 3
904
+ .tabbable
905
+ .tab-content
906
+ #A.tab-pane.active
907
+ %p I'm in Section A.
908
+ #B.tab-pane
909
+ %p Howdy, I'm in Section B.
910
+ #C.tab-pane
911
+ %p What up girl, this is Section C.
912
+ .col-lg-4
913
+ %h3#pills Pills
914
+ %ul.nav.nav-pills
915
+ %li.active
916
+ %a{href: "#"} Home
917
+ %li
918
+ %a{href: "#"} Profile
919
+ %li.dropdown
920
+ %a.dropdown-toggle{"data-toggle" => "dropdown", href: "#"}
921
+ Dropdown
922
+ %b.caret
923
+ %ul.dropdown-menu
924
+ %li
925
+ %a{href: "#"} Action
926
+ %li
927
+ %a{href: "#"} Another action
928
+ %li
929
+ %a{href: "#"} Something else here
930
+ %li.divider
931
+ %li
932
+ %a{href: "#"} Separated link
933
+ %li.disabled
934
+ %a{href: "#"} Disabled link
935
+ .col-lg-4
936
+ %h3#list Nav Lists
937
+ .well{style: "padding: 8px 0;"}
938
+ %ul.nav.nav-list
939
+ %li.nav-header List header
940
+ %li.active
941
+ %a{href: "#"} Home
942
+ %li
943
+ %a{href: "#"} Library
944
+ %li
945
+ %a{href: "#"} Applications
946
+ %li.divider
947
+ %li
948
+ %a{href: "#"} Help
949
+ /
950
+ Labels
951
+ \==================================================
952
+ .row
953
+ .col-lg-4
954
+ %h3#labels Labels
955
+ %span.label Default
956
+ %span.label.label-success Success
957
+ %span.label.label-warning Warning
958
+ %span.label.label-danger Danger
959
+ %span.label.label-info Info
960
+ .col-lg-4
961
+ %h3#badges Badges
962
+ %span.badge Default
963
+ .col-lg-4
964
+ %h3#badges Progress bars
965
+ .progress
966
+ .progress-bar.progress-bar-info{style: "width: 20%"}
967
+ .progress
968
+ .progress-bar.progress-bar-success{style: "width: 40%"}
969
+ .progress
970
+ .progress-bar.progress-bar-warning{style: "width: 60%"}
971
+ .progress
972
+ .progress-bar.progress-bar-danger{style: "width: 80%"}
973
+ %br/
974
+ /
975
+ Panel & ListGroups
976
+ \==================================================
977
+ %hr/
978
+ %h2#panels Bootstrap 3 Panels
979
+ .row
980
+ .col-lg-4
981
+ .panel.panel-default
982
+ .panel-heading Panel heading
983
+ .panel-body Hello. This is the Panel content.
984
+ .col-lg-4
985
+ .panel.panel-primary
986
+ .panel-heading Panel primary
987
+ .panel-body Panels are new in BS3.
988
+ .col-lg-4
989
+ .panel.panel-success
990
+ .panel-heading Panel success
991
+ .panel-body You can use contextual classes.
992
+ /
993
+ ListGroups
994
+ \==================================================
995
+ %hr/
996
+ %h2#panels Bootstrap 3 List Groups
997
+ .row
998
+ .col-lg-4
999
+ %ul.list-group
1000
+ %li.list-group-item List item 1
1001
+ %li.list-group-item List item 2
1002
+ %li.list-group-item Mobile-first
1003
+ %li.list-group-item Responsive
1004
+ %li.list-group-item Lightweight
1005
+ .col-lg-4
1006
+ %ul.list-group
1007
+ %li.list-group-item
1008
+ %span.glyphicon.glyphicon-chevron-right
1009
+ List item 1
1010
+ %li.list-group-item
1011
+ %span.glyphicon.glyphicon-chevron-right
1012
+ List item 2
1013
+ %li.list-group-item
1014
+ %span.glyphicon.glyphicon-chevron-right
1015
+ Mobile-first
1016
+ %li.list-group-item
1017
+ %span.glyphicon.glyphicon-chevron-right
1018
+ Responsive
1019
+ %li.list-group-item
1020
+ %span.glyphicon.glyphicon-chevron-right
1021
+ Lightweight
1022
+ .col-lg-4
1023
+ .list-group
1024
+ %a.list-group-item.active{href: "#"}
1025
+ Linked list group
1026
+ %span.glyphicon.glyphicon-chevron-right
1027
+ %a.list-group-item{href: "#"}
1028
+ Dapibus ac facilisis in
1029
+ %span.glyphicon.glyphicon-chevron-right
1030
+ %a.list-group-item{href: "#"}
1031
+ Morbi leo risus
1032
+ %span.glyphicon.glyphicon-chevron-right
1033
+ %a.list-group-item{href: "#"}
1034
+ Porta ac consectetur ac
1035
+ %span.glyphicon.glyphicon-chevron-right
1036
+ %a.list-group-item{href: "#"}
1037
+ Vestibulum at eros
1038
+ %span.glyphicon.glyphicon-chevron-right
1039
+ /
1040
+ Well Sizes
1041
+ \==================================================
1042
+ %hr/
1043
+ %h2 Well Sizes
1044
+ .row
1045
+ .col-lg-12
1046
+ .well.well-sm
1047
+ \.well-sm
1048
+ .well
1049
+ \.well
1050
+ .well.well-lg
1051
+ \.well-lg
1052
+ %hr/
1053
+ %hr/
1054
+ %script{src: "//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js", type: "text/javascript"}
1055
+ {{ 'bootstrap.min.js' | javascript_tag }}
1056
+ :javascript
1057
+ $(document).ready(function() {
1058
+ });