twitter-bootstrap-rails 2.2.8 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of twitter-bootstrap-rails might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/README.md +160 -228
- data/Rakefile +4 -6
- data/app/assets/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fontawesome-webfont.svg +279 -38
- data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.svg +229 -0
- data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/javascripts/twitter/bootstrap/affix.js +142 -0
- data/app/assets/javascripts/twitter/bootstrap/alert.js +92 -0
- data/app/assets/javascripts/twitter/bootstrap/button.js +110 -0
- data/app/assets/javascripts/twitter/bootstrap/carousel.js +223 -0
- data/app/assets/javascripts/twitter/bootstrap/collapse.js +170 -0
- data/app/assets/javascripts/twitter/bootstrap/dropdown.js +151 -0
- data/app/assets/javascripts/twitter/bootstrap/modal.js +280 -0
- data/app/assets/javascripts/twitter/bootstrap/popover.js +113 -0
- data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +170 -0
- data/app/assets/javascripts/twitter/bootstrap/tab.js +128 -0
- data/app/assets/javascripts/twitter/bootstrap/tooltip.js +457 -0
- data/app/assets/javascripts/twitter/bootstrap/transition.js +59 -0
- data/app/assets/javascripts/twitter/bootstrap.js +12 -13
- data/app/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +1 -890
- data/app/assets/stylesheets/twitter-bootstrap-static/fontawesome.css.erb +2026 -787
- data/app/assets/stylesheets/twitter-bootstrap-static/sprites.css.erb +1 -146
- data/app/helpers/bootstrap_flash_helper.rb +14 -7
- data/app/helpers/form_errors_helper.rb +22 -0
- data/app/helpers/glyph_helper.rb +8 -5
- data/app/helpers/modal_helper.rb +26 -22
- data/app/helpers/navbar_helper.rb +47 -32
- data/app/helpers/twitter_breadcrumbs_helper.rb +6 -2
- data/app/views/twitter-bootstrap/_breadcrumbs.html.erb +8 -8
- data/lib/generators/bootstrap/install/install_generator.rb +3 -2
- data/lib/generators/bootstrap/install/templates/bootstrap_and_overrides.less +13 -11
- data/lib/generators/bootstrap/install/templates/en.bootstrap.yml +5 -0
- data/lib/generators/bootstrap/layout/layout_generator.rb +1 -4
- data/lib/generators/bootstrap/layout/templates/layout.html.erb +27 -48
- data/lib/generators/bootstrap/layout/templates/layout.html.haml +19 -34
- data/lib/generators/bootstrap/layout/templates/layout.html.slim +13 -30
- data/lib/generators/bootstrap/partial/templates/_login.html.erb +2 -3
- data/lib/generators/bootstrap/themed/templates/_form.html.erb +30 -10
- data/lib/generators/bootstrap/themed/templates/_form.html.haml +10 -8
- data/lib/generators/bootstrap/themed/templates/_form.html.slim +11 -9
- data/lib/generators/bootstrap/themed/templates/edit.html.slim +1 -1
- data/lib/generators/bootstrap/themed/templates/index.html.erb +2 -2
- data/lib/generators/bootstrap/themed/templates/index.html.haml +2 -2
- data/lib/generators/bootstrap/themed/templates/index.html.slim +4 -5
- data/lib/generators/bootstrap/themed/templates/new.html.slim +1 -1
- data/lib/generators/bootstrap/themed/templates/show.html.erb +5 -7
- data/lib/generators/bootstrap/themed/templates/show.html.haml +4 -4
- data/lib/generators/bootstrap/themed/templates/show.html.slim +6 -7
- data/lib/generators/bootstrap/themed/templates/simple_form/_form.html.erb +5 -5
- data/lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml +3 -3
- data/lib/generators/bootstrap/themed/templates/simple_form/_form.html.slim +4 -4
- data/lib/generators/bootstrap/themed/themed_generator.rb +2 -2
- data/lib/twitter/bootstrap/rails/breadcrumbs.rb +69 -0
- data/lib/twitter/bootstrap/rails/engine.rb +17 -10
- data/lib/twitter/bootstrap/rails/version.rb +2 -2
- data/spec/lib/breadcrumbs_spec.rb +99 -0
- data/spec/lib/twitter_bootstrap_rails/badge_label_helper_spec.rb +12 -4
- data/spec/lib/twitter_bootstrap_rails/bootstrap_flash_helper_spec.rb +128 -0
- data/spec/lib/twitter_bootstrap_rails/form_errors_helper_spec.rb +148 -0
- data/spec/lib/twitter_bootstrap_rails/glyph_helper_spec.rb +24 -0
- data/spec/lib/twitter_bootstrap_rails/modal_helper_spec.rb +15 -15
- data/spec/lib/twitter_bootstrap_rails/navbar_helper_spec.rb +207 -173
- data/spec/lib/twitter_bootstrap_rails/uri_state_spec.rb +18 -16
- data/spec/spec_helper.rb +11 -1
- data/vendor/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +5796 -1
- data/vendor/static-source/bootstrap.less +0 -1
- data/vendor/static-source/fontawesome.less +0 -1
- data/vendor/static-source/sprites.less +1 -1
- data/vendor/toolkit/fontawesome/bordered-pulled.less +16 -0
- data/vendor/toolkit/fontawesome/core.less +8 -126
- data/vendor/toolkit/fontawesome/fixed-width.less +6 -0
- data/vendor/toolkit/fontawesome/font-awesome.less +9 -25
- data/vendor/toolkit/fontawesome/icons.less +549 -378
- data/vendor/toolkit/fontawesome/larger.less +13 -0
- data/vendor/toolkit/fontawesome/list.less +19 -0
- data/vendor/toolkit/fontawesome/mixins.less +16 -39
- data/vendor/toolkit/fontawesome/path.less +5 -5
- data/vendor/toolkit/fontawesome/rotated-flipped.less +20 -0
- data/vendor/toolkit/fontawesome/spinning.less +29 -0
- data/vendor/toolkit/fontawesome/stacked.less +20 -0
- data/vendor/toolkit/fontawesome/variables.less +557 -731
- data/vendor/toolkit/twitter/bootstrap/alerts.less +47 -58
- data/vendor/toolkit/twitter/bootstrap/badges.less +55 -0
- data/vendor/toolkit/twitter/bootstrap/bootstrap.less +26 -39
- data/vendor/toolkit/twitter/bootstrap/breadcrumbs.less +11 -9
- data/vendor/toolkit/twitter/bootstrap/button-groups.less +168 -152
- data/vendor/toolkit/twitter/bootstrap/buttons.less +101 -170
- data/vendor/toolkit/twitter/bootstrap/carousel.less +150 -65
- data/vendor/toolkit/twitter/bootstrap/close.less +20 -19
- data/vendor/toolkit/twitter/bootstrap/code.less +38 -30
- data/vendor/toolkit/twitter/bootstrap/component-animations.less +12 -3
- data/vendor/toolkit/twitter/bootstrap/dropdowns.less +115 -148
- data/vendor/toolkit/twitter/bootstrap/forms.less +401 -547
- data/vendor/toolkit/twitter/bootstrap/glyphicons.less +234 -0
- data/vendor/toolkit/twitter/bootstrap/grid.less +74 -11
- data/vendor/toolkit/twitter/bootstrap/input-groups.less +166 -0
- data/vendor/toolkit/twitter/bootstrap/jumbotron.less +48 -0
- data/vendor/toolkit/twitter/bootstrap/labels.less +64 -0
- data/vendor/toolkit/twitter/bootstrap/list-group.less +132 -0
- data/vendor/toolkit/twitter/bootstrap/media.less +8 -7
- data/vendor/toolkit/twitter/bootstrap/mixins/alerts.less +14 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/background-variant.less +8 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/border-radius.less +18 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/buttons.less +52 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/center-block.less +7 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/clearfix.less +22 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/forms.less +85 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/gradients.less +59 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/grid-framework.less +91 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/grid.less +122 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/hide-text.less +21 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/image.less +33 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/labels.less +12 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/list-group.less +29 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/nav-divider.less +10 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/nav-vertical-align.less +9 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/opacity.less +8 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/pagination.less +23 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/panels.less +24 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/progress-bar.less +10 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/reset-filter.less +8 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/resize.less +6 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/responsive-visibility.less +15 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/size.less +10 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/tab-focus.less +9 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/table-row.less +28 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/text-emphasis.less +8 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/text-overflow.less +8 -0
- data/vendor/toolkit/twitter/bootstrap/mixins/vendor-prefixes.less +224 -0
- data/vendor/toolkit/twitter/bootstrap/mixins.less +36 -699
- data/vendor/toolkit/twitter/bootstrap/modals.less +109 -54
- data/vendor/toolkit/twitter/bootstrap/navbar.less +542 -384
- data/vendor/toolkit/twitter/bootstrap/navs.less +192 -359
- data/vendor/toolkit/twitter/bootstrap/normalize.less +425 -0
- data/vendor/toolkit/twitter/bootstrap/pager.less +46 -34
- data/vendor/toolkit/twitter/bootstrap/pagination.less +70 -105
- data/vendor/toolkit/twitter/bootstrap/panels.less +248 -0
- data/vendor/toolkit/twitter/bootstrap/popovers.less +61 -61
- data/vendor/toolkit/twitter/bootstrap/print.less +101 -0
- data/vendor/toolkit/twitter/bootstrap/progress-bars.less +51 -73
- data/vendor/toolkit/twitter/bootstrap/responsive-embed.less +34 -0
- data/vendor/toolkit/twitter/bootstrap/responsive-utilities.less +177 -42
- data/vendor/toolkit/twitter/bootstrap/scaffolding.less +120 -23
- data/vendor/toolkit/twitter/bootstrap/tables.less +171 -182
- data/vendor/toolkit/twitter/bootstrap/theme.less +260 -0
- data/vendor/toolkit/twitter/bootstrap/thumbnails.less +26 -43
- data/vendor/toolkit/twitter/bootstrap/tooltip.less +49 -24
- data/vendor/toolkit/twitter/bootstrap/type.less +208 -147
- data/vendor/toolkit/twitter/bootstrap/utilities.less +33 -7
- data/vendor/toolkit/twitter/bootstrap/variables.less +761 -215
- data/vendor/toolkit/twitter/bootstrap/wells.less +7 -7
- metadata +156 -130
- data/app/assets/images/twitter/bootstrap/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/twitter/bootstrap/glyphicons-halflings.png +0 -0
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-affix.js +0 -117
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-alert.js +0 -99
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-button.js +0 -105
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-carousel.js +0 -207
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-collapse.js +0 -167
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-dropdown.js +0 -169
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-modal.js +0 -247
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-popover.js +0 -114
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-scrollspy.js +0 -162
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-tab.js +0 -144
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-tooltip.js +0 -361
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-transition.js +0 -60
- data/app/assets/javascripts/twitter/bootstrap/bootstrap-typeahead.js +0 -335
- data/lib/twitter/bootstrap/rails/twitter-bootstrap-breadcrumbs.rb +0 -42
- data/test/lib/breadcrumbs_test.rb +0 -75
- data/test/test_helper.rb +0 -11
- data/vendor/toolkit/fontawesome/bootstrap.less +0 -84
- data/vendor/toolkit/fontawesome/extras.less +0 -93
- data/vendor/toolkit/fontawesome/font-awesome-ie7.less +0 -1953
- data/vendor/toolkit/twitter/bootstrap/accordion.less +0 -34
- data/vendor/toolkit/twitter/bootstrap/hero-unit.less +0 -25
- data/vendor/toolkit/twitter/bootstrap/labels-badges.less +0 -84
- data/vendor/toolkit/twitter/bootstrap/layouts.less +0 -16
- data/vendor/toolkit/twitter/bootstrap/reset.less +0 -216
- data/vendor/toolkit/twitter/bootstrap/responsive-1200px-min.less +0 -28
- data/vendor/toolkit/twitter/bootstrap/responsive-767px-max.less +0 -193
- data/vendor/toolkit/twitter/bootstrap/responsive-768px-979px.less +0 -19
- data/vendor/toolkit/twitter/bootstrap/responsive-navbar.less +0 -189
- data/vendor/toolkit/twitter/bootstrap/responsive.less +0 -48
- data/vendor/toolkit/twitter/bootstrap/sprites.less +0 -197
data/README.md
CHANGED
@@ -1,19 +1,13 @@
|
|
1
|
-
# Twitter Bootstrap for Rails 3.
|
1
|
+
# Twitter Bootstrap for Rails 4, 3.x Asset Pipeline
|
2
2
|
Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites. It includes base CSS and HTML for typography, forms, buttons, tables, grids, navigation, and more.
|
3
3
|
|
4
|
-
twitter-bootstrap-rails project integrates Bootstrap CSS toolkit for Rails
|
4
|
+
twitter-bootstrap-rails project integrates Bootstrap CSS toolkit for Rails Asset Pipeline (Rails 4, 3.x versions are supported)
|
5
5
|
|
6
|
-
[![Gem Version](https://badge.fury.io/rb/twitter-bootstrap-rails.
|
7
|
-
[![
|
8
|
-
[![
|
9
|
-
[![
|
10
|
-
[![
|
11
|
-
|
12
|
-
[gem]: https://rubygems.org/gems/twitter-bootstrap-rails
|
13
|
-
[travis]: http://travis-ci.org/seyhunak/twitter-bootstrap-rails
|
14
|
-
[gemnasium]: https://gemnasium.com/seyhunak/twitter-bootstrap-rails
|
15
|
-
[codeclimate]: https://codeclimate.com/github/seyhunak/twitter-bootstrap-rails
|
16
|
-
[coveralls]: https://coveralls.io/r/seyhunak/twitter-bootstrap-rails
|
6
|
+
[![Gem Version](https://badge.fury.io/rb/twitter-bootstrap-rails.svg)](http://badge.fury.io/rb/twitter-bootstrap-rails)
|
7
|
+
[![Dependency Status](https://gemnasium.com/seyhunak/twitter-bootstrap-rails.svg?travis)](https://gemnasium.com/seyhunak/twitter-bootstrap-rails?travis)
|
8
|
+
[![Code Climate](https://codeclimate.com/github/seyhunak/twitter-bootstrap-rails/badges/gpa.svg)](https://codeclimate.com/github/seyhunak/twitter-bootstrap-rails?branch=master)
|
9
|
+
[![Coverage Status](https://coveralls.io/repos/seyhunak/twitter-bootstrap-rails/badge.png?branch=master)](https://coveralls.io/repos/seyhunak/twitter-bootstrap-rails/badge.png?branch=master)
|
10
|
+
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/seyhunak/twitter-bootstrap-rails/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
|
17
11
|
|
18
12
|
## Screencasts
|
19
13
|
#### Installing twitter-bootstrap-rails, generators, usage and more
|
@@ -22,29 +16,24 @@ twitter-bootstrap-rails project integrates Bootstrap CSS toolkit for Rails 3.1 A
|
|
22
16
|
Screencasts provided by <a href="http://railscasts.com">Railscasts</a> (Ryan Bates)
|
23
17
|
|
24
18
|
[Twitter Bootstrap Basics](http://railscasts.com/episodes/328-twitter-bootstrap-basics "Twitter Bootstrap Basics")
|
25
|
-
in this episode you will learn how to include
|
19
|
+
in this episode you will learn how to include Bootstrap into Rails application with the twitter-bootstrap-rails gem.
|
26
20
|
|
27
21
|
[More on Twitter Bootstrap](http://railscasts.com/episodes/329-more-on-twitter-bootstrap "More on Twitter Bootstrap")
|
28
|
-
in this episode continues on the
|
22
|
+
in this episode continues on the Bootstrap project showing how to display flash messages, add form validations with SimpleForm, customize layout with variables, and switch to using Sass.
|
29
23
|
(Note: This episode is pro episode)
|
30
24
|
|
31
|
-
|
32
|
-
## Example Application
|
33
|
-
An example application is available at [toadkicker/teststrap](https://github.com/toadkicker/teststrap). You can view it running on heroku [here.](http://teststrap.herokuapp.com/) Contributions welcome.
|
34
|
-
|
35
|
-
|
36
25
|
## Installing the Gem
|
37
26
|
|
38
|
-
The [Twitter Bootstrap Rails gem](http://rubygems.org/gems/twitter-bootstrap-rails) can provide the
|
27
|
+
The [Twitter Bootstrap Rails gem](http://rubygems.org/gems/twitter-bootstrap-rails) can provide the Bootstrap stylesheets in two ways.
|
39
28
|
|
40
|
-
The plain CSS way is how
|
29
|
+
The plain CSS way is how Bootstrap is provided on [the official website](http://twbs.github.io/bootstrap/).
|
41
30
|
|
42
|
-
The [Less](http://lesscss.org/) way provides more
|
31
|
+
The [Less](http://lesscss.org/) way provides more customization options, like changing theme colors, and provides useful Less mixins for your code, but requires the
|
43
32
|
Less gem and the Ruby Racer Javascript runtime (not available on Microsoft Windows).
|
44
33
|
|
45
34
|
### Installing the Less stylesheets
|
46
35
|
|
47
|
-
To use Less stylesheets, you'll need the [less-rails gem](http://rubygems.org/gems/less-rails), and one of [
|
36
|
+
To use Less stylesheets, you'll need the [less-rails gem](http://rubygems.org/gems/less-rails), and one of [JavaScript runtimes supported by CommonJS](https://github.com/cowboyd/commonjs.rb#supported-runtimes).
|
48
37
|
|
49
38
|
Include these lines in the Gemfile to install the gems from [RubyGems.org](http://rubygems.org):
|
50
39
|
|
@@ -68,6 +57,10 @@ Then run the bootstrap generator to add Bootstrap includes into your assets:
|
|
68
57
|
|
69
58
|
rails generate bootstrap:install less
|
70
59
|
|
60
|
+
If you need to skip coffeescript replacement into app generators, use:
|
61
|
+
|
62
|
+
rails generate bootstrap:install --no-coffeescript
|
63
|
+
|
71
64
|
### Installing the CSS stylesheets
|
72
65
|
|
73
66
|
If you don't need to customize the stylesheets using Less, the only gem you need is the `twitter-bootstrap-rails` gem:
|
@@ -82,31 +75,19 @@ After running `bundle install`, run the generator:
|
|
82
75
|
|
83
76
|
## Generating layouts and views
|
84
77
|
|
85
|
-
You can run following generators to get started with
|
78
|
+
You can run following generators to get started with Bootstrap quickly.
|
86
79
|
|
87
80
|
|
88
|
-
Layout (generates
|
81
|
+
Layout (generates Bootstrap compatible layout) - (Haml and Slim supported)
|
89
82
|
|
90
83
|
|
91
84
|
Usage:
|
92
85
|
|
93
86
|
|
94
|
-
rails g bootstrap:layout [LAYOUT_NAME]
|
95
|
-
|
96
|
-
|
97
|
-
Example of a fixed layout:
|
98
|
-
|
87
|
+
rails g bootstrap:layout [LAYOUT_NAME]
|
99
88
|
|
100
|
-
rails g bootstrap:layout application fixed
|
101
89
|
|
102
|
-
|
103
|
-
Example of a responsive layout:
|
104
|
-
|
105
|
-
|
106
|
-
rails g bootstrap:layout application fluid
|
107
|
-
|
108
|
-
|
109
|
-
Themed (generates Twitter Bootstrap compatible scaffold views.) - (Haml and Slim supported)
|
90
|
+
Themed (generates Bootstrap compatible scaffold views.) - (Haml and Slim supported)
|
110
91
|
|
111
92
|
|
112
93
|
Usage:
|
@@ -143,24 +124,56 @@ You have to require Bootstrap LESS (bootstrap_and_overrides.css.less) in your ap
|
|
143
124
|
To use individual components from bootstrap, your bootstrap_and_overrides.less could look like this:
|
144
125
|
|
145
126
|
```css
|
146
|
-
|
127
|
+
// Core variables and mixins
|
147
128
|
@import "twitter/bootstrap/variables.less";
|
148
129
|
@import "twitter/bootstrap/mixins.less";
|
130
|
+
|
131
|
+
// Reset and dependencies
|
132
|
+
@import "twitter/bootstrap/normalize.less";
|
133
|
+
@import "twitter/bootstrap/print.less";
|
134
|
+
//@import "twitter/bootstrap/glyphicons.less"; // Excludes glyphicons
|
135
|
+
|
136
|
+
// Core CSS
|
149
137
|
@import "twitter/bootstrap/scaffolding.less";
|
150
|
-
@import "twitter/bootstrap/grid.less";
|
151
|
-
@import "twitter/bootstrap/layouts.less";
|
152
138
|
@import "twitter/bootstrap/type.less";
|
139
|
+
@import "twitter/bootstrap/code.less";
|
140
|
+
@import "twitter/bootstrap/grid.less";
|
141
|
+
@import "twitter/bootstrap/tables.less";
|
153
142
|
@import "twitter/bootstrap/forms.less";
|
154
|
-
@import "twitter/bootstrap/wells.less";
|
155
|
-
@import "twitter/bootstrap/component-animations.less";
|
156
143
|
@import "twitter/bootstrap/buttons.less";
|
157
|
-
|
144
|
+
|
145
|
+
// Components
|
146
|
+
@import "twitter/bootstrap/component-animations.less";
|
147
|
+
@import "twitter/bootstrap/dropdowns.less";
|
148
|
+
@import "twitter/bootstrap/button-groups.less";
|
149
|
+
@import "twitter/bootstrap/input-groups.less";
|
158
150
|
@import "twitter/bootstrap/navs.less";
|
159
151
|
@import "twitter/bootstrap/navbar.less";
|
160
|
-
@import "twitter/bootstrap/
|
161
|
-
@import "twitter/bootstrap/
|
152
|
+
@import "twitter/bootstrap/breadcrumbs.less";
|
153
|
+
@import "twitter/bootstrap/pagination.less";
|
154
|
+
@import "twitter/bootstrap/pager.less";
|
155
|
+
@import "twitter/bootstrap/labels.less";
|
156
|
+
@import "twitter/bootstrap/badges.less";
|
157
|
+
@import "twitter/bootstrap/jumbotron.less";
|
158
|
+
@import "twitter/bootstrap/thumbnails.less";
|
159
|
+
@import "twitter/bootstrap/alerts.less";
|
160
|
+
@import "twitter/bootstrap/progress-bars.less";
|
161
|
+
@import "twitter/bootstrap/media.less";
|
162
|
+
@import "twitter/bootstrap/list-group.less";
|
163
|
+
@import "twitter/bootstrap/panels.less";
|
164
|
+
@import "twitter/bootstrap/responsive-embed.less";
|
165
|
+
@import "twitter/bootstrap/wells.less";
|
166
|
+
@import "twitter/bootstrap/close.less";
|
167
|
+
|
168
|
+
// Components w/ JavaScript
|
169
|
+
@import "twitter/bootstrap/modals.less";
|
170
|
+
@import "twitter/bootstrap/tooltip.less";
|
171
|
+
@import "twitter/bootstrap/popovers.less";
|
172
|
+
@import "twitter/bootstrap/carousel.less";
|
173
|
+
|
174
|
+
// Utility classes
|
162
175
|
@import "twitter/bootstrap/utilities.less";
|
163
|
-
@import "twitter/bootstrap/responsive";
|
176
|
+
@import "twitter/bootstrap/responsive-utilities.less";
|
164
177
|
```
|
165
178
|
|
166
179
|
If you'd like to alter Bootstrap's own variables, or define your LESS
|
@@ -168,7 +181,7 @@ styles inheriting Bootstrap's mixins, you can do so inside bootstrap_and_overrid
|
|
168
181
|
|
169
182
|
|
170
183
|
```css
|
171
|
-
@
|
184
|
+
@link-color: #ff0000;
|
172
185
|
```
|
173
186
|
|
174
187
|
### SASS
|
@@ -225,10 +238,10 @@ If you would like to restore the default Glyphicons, inside the _bootstrap_and_o
|
|
225
238
|
// @import "fontawesome/font-awesome";
|
226
239
|
|
227
240
|
// Glyphicons
|
228
|
-
@import "twitter/bootstrap/
|
241
|
+
@import "twitter/bootstrap/glyphicons.less";
|
229
242
|
```
|
230
243
|
|
231
|
-
## Using
|
244
|
+
## Using JavaScript
|
232
245
|
|
233
246
|
Require Bootstrap JS (bootstrap.js) in your application.js
|
234
247
|
|
@@ -236,7 +249,7 @@ Require Bootstrap JS (bootstrap.js) in your application.js
|
|
236
249
|
//= require twitter/bootstrap
|
237
250
|
|
238
251
|
$(function(){
|
239
|
-
/* Your
|
252
|
+
/* Your JavaScript goes here... */
|
240
253
|
});
|
241
254
|
```
|
242
255
|
|
@@ -245,18 +258,18 @@ If you want to customize what is loaded, your application.js would look somethin
|
|
245
258
|
```js
|
246
259
|
#= require jquery
|
247
260
|
#= require jquery_ujs
|
248
|
-
#= require twitter/bootstrap/
|
249
|
-
#= require twitter/bootstrap/
|
250
|
-
#= require twitter/bootstrap/
|
251
|
-
#= require twitter/bootstrap/
|
252
|
-
#= require twitter/bootstrap/
|
261
|
+
#= require twitter/bootstrap/transition
|
262
|
+
#= require twitter/bootstrap/alert
|
263
|
+
#= require twitter/bootstrap/modal
|
264
|
+
#= require twitter/bootstrap/button
|
265
|
+
#= require twitter/bootstrap/collapse
|
253
266
|
```
|
254
267
|
|
255
268
|
...and so on for each bootstrap js component.
|
256
269
|
|
257
|
-
## Using
|
270
|
+
## Using CoffeeScript (optionally)
|
258
271
|
|
259
|
-
Using
|
272
|
+
Using Bootstrap with the CoffeeScript is easy.
|
260
273
|
twitter-bootstrap-rails generates a "bootstrap.js.coffee" file for you
|
261
274
|
to /app/assets/javascripts/ folder.
|
262
275
|
|
@@ -270,22 +283,24 @@ jQuery ->
|
|
270
283
|
|
271
284
|
### Modal Helper
|
272
285
|
You can create modals easily using the following example. The header, body, and footer all accept content_tag or plain html.
|
273
|
-
The href of the button to launch the modal must
|
286
|
+
The href of the button to launch the modal must match the id of the modal dialog. It also accepts a block for the header, body, and footer. If you are getting a complaint about the modal_helper unable to merge a hash it is due to this.
|
274
287
|
|
275
288
|
````
|
276
|
-
<%= content_tag :a, "Modal", :
|
289
|
+
<%= content_tag :a, "Modal", href: "#modal", class: 'btn', data: {toggle: 'modal'} %>
|
290
|
+
|
291
|
+
<%= modal_dialog id: "modal",
|
292
|
+
header: { show_close: true, dismiss: 'modal', title: 'Modal header' },
|
293
|
+
body: { content: 'This is the body' },
|
294
|
+
footer: { content: content_tag(:button, 'Save', class: 'btn') } %>
|
277
295
|
|
278
|
-
<%= modal_dialog :id => "modal",
|
279
|
-
:header => { :show_close => true, :dismiss => 'modal', :title => 'Modal header' },
|
280
|
-
:body => 'This is the body',
|
281
|
-
:footer => content_tag(:button, 'Save', :class => 'btn') %>
|
282
296
|
````
|
283
297
|
|
284
298
|
### Navbar Helper
|
285
299
|
It should let you write things like:
|
286
300
|
|
287
301
|
````
|
288
|
-
|
302
|
+
|
303
|
+
<%= nav_bar fixed: :top, brand: "Fashionable Clicheizr 2.0", responsive: true do %>
|
289
304
|
<%= menu_group do %>
|
290
305
|
<%= menu_item "Home", root_path %>
|
291
306
|
<%= menu_divider %>
|
@@ -300,11 +315,11 @@ It should let you write things like:
|
|
300
315
|
<%= menu_item "About Us", about_us_path %>
|
301
316
|
<%= menu_item "Contact", contact_path %>
|
302
317
|
<% end %>
|
303
|
-
<%= menu_group :
|
318
|
+
<%= menu_group pull: :right do %>
|
304
319
|
<% if current_user %>
|
305
320
|
<%= menu_item "Log Out", log_out_path %>
|
306
321
|
<% else %>
|
307
|
-
<%= form_for @user, :
|
322
|
+
<%= form_for @user, url: session_path(:user), html => {class: "navbar-form pull-right"} do |f| -%>
|
308
323
|
<p><%= f.text_field :email %></p>
|
309
324
|
<p><%= f.password_field :password %></p>
|
310
325
|
<p><%= f.submit "Sign in" %></p>
|
@@ -312,6 +327,8 @@ It should let you write things like:
|
|
312
327
|
<% end %>
|
313
328
|
<% end %>
|
314
329
|
<% end %>
|
330
|
+
|
331
|
+
|
315
332
|
````
|
316
333
|
|
317
334
|
### Navbar scaffolding
|
@@ -319,15 +336,13 @@ It should let you write things like:
|
|
319
336
|
In your view file (most likely application.html.erb) to get a basic navbar set up you need to do this:
|
320
337
|
|
321
338
|
````
|
322
|
-
<%= nav_bar
|
339
|
+
<%= nav_bar %>
|
323
340
|
````
|
324
341
|
|
325
342
|
Which will render:
|
326
343
|
|
327
344
|
<div class="navbar">
|
328
|
-
<div class="
|
329
|
-
<div class="container">
|
330
|
-
</div>
|
345
|
+
<div class="container">
|
331
346
|
</div>
|
332
347
|
</div>
|
333
348
|
|
@@ -337,15 +352,13 @@ Which will render:
|
|
337
352
|
If you want the navbar to stick to the top of the screen, pass in the option like this:
|
338
353
|
|
339
354
|
````
|
340
|
-
<%= nav_bar :
|
355
|
+
<%= nav_bar fixed: :top %>
|
341
356
|
````
|
342
357
|
|
343
358
|
To render:
|
344
359
|
|
345
360
|
<div class="navbar navbar-fixed-top">
|
346
|
-
<div class="
|
347
|
-
<div class="container">
|
348
|
-
</div>
|
361
|
+
<div class="container">
|
349
362
|
</div>
|
350
363
|
</div>
|
351
364
|
|
@@ -354,15 +367,13 @@ To render:
|
|
354
367
|
If you want a full-width navbar that scrolls away with the page, pass in the option like this:
|
355
368
|
|
356
369
|
````
|
357
|
-
<%= nav_bar :
|
370
|
+
<%= nav_bar static: :top %>
|
358
371
|
````
|
359
372
|
|
360
373
|
To render:
|
361
374
|
|
362
375
|
<div class="navbar navbar-static-top">
|
363
|
-
<div class="
|
364
|
-
<div class="container">
|
365
|
-
</div>
|
376
|
+
<div class="container">
|
366
377
|
</div>
|
367
378
|
</div>
|
368
379
|
|
@@ -372,18 +383,16 @@ To render:
|
|
372
383
|
Add the name of your site on the left hand edge of the navbar. By default, it will link to root_url. Passing a brand_link option will set the url to whatever you want.
|
373
384
|
|
374
385
|
````
|
375
|
-
<%= nav_bar :
|
386
|
+
<%= nav_bar brand: "We're sooo web 2.0alizr", brand_link: account_dashboard_path %>
|
376
387
|
````
|
377
388
|
|
378
389
|
Which will render:
|
379
390
|
|
380
391
|
<div class="navbar">
|
381
|
-
<div class="
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
</a>
|
386
|
-
</div>
|
392
|
+
<div class="container">
|
393
|
+
<a class="navbar-brand" href="/accounts/dashboard">
|
394
|
+
We're sooo web 2.0alizr
|
395
|
+
</a>
|
387
396
|
</div>
|
388
397
|
</div>
|
389
398
|
|
@@ -393,24 +402,22 @@ Which will render:
|
|
393
402
|
If you want the responsive version of the navbar to work (One that shrinks down on mobile devices etc.), you need to pass this option:
|
394
403
|
|
395
404
|
````
|
396
|
-
<%= nav_bar :
|
405
|
+
<%= nav_bar responsive: true %>
|
397
406
|
````
|
398
407
|
Which renders the html quite differently:
|
399
408
|
|
400
409
|
|
401
410
|
<div class="navbar">
|
402
|
-
<div class="
|
403
|
-
|
404
|
-
|
405
|
-
<
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
<!-- menu items gets rendered here instead -->
|
413
|
-
</div>
|
411
|
+
<div class="container">
|
412
|
+
<!-- .navbar-toggle is used as the toggle for collapsed navbar content -->
|
413
|
+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
414
|
+
<span class="icon-bar"></span>
|
415
|
+
<span class="icon-bar"></span>
|
416
|
+
<span class="icon-bar"></span>
|
417
|
+
</button>
|
418
|
+
<!-- Everything in here gets hidden at 940px or less -->
|
419
|
+
<div class="navbar-collapse collapse">
|
420
|
+
<!-- menu items gets rendered here instead -->
|
414
421
|
</div>
|
415
422
|
</div>
|
416
423
|
</div>
|
@@ -431,8 +438,9 @@ menu_group only takes one argument - :pull - this moves the group left or right
|
|
431
438
|
menu_item generates a link wrapped in an li tag. It takes two arguments and an options hash. The first argument is the name (the text that will appear in the menu), and the path (which defaults to "#" if left blank). The rest of the options are passed straight through to the link_to helper, so that you can add classes, ids, methods or data tags etc.
|
432
439
|
|
433
440
|
````
|
434
|
-
|
435
|
-
|
441
|
+
|
442
|
+
<%= nav_bar fixed: :top, brand: "Ninety Ten" do %>
|
443
|
+
<%= menu_group do %>
|
436
444
|
<%= menu_item "Home", root_path %>
|
437
445
|
<%= menu_item "About Us", about_us_path %>
|
438
446
|
<%= menu_item "Contact", contact_path %>
|
@@ -440,9 +448,9 @@ menu_item generates a link wrapped in an li tag. It takes two arguments and an o
|
|
440
448
|
<% if current_user %>
|
441
449
|
<%= menu_item "Log Out", log_out_path %>
|
442
450
|
<% else %>
|
443
|
-
|
451
|
+
<%= menu_group pull: :right do %>
|
444
452
|
<%= menu_item "Sign Up", registration_path %>
|
445
|
-
|
453
|
+
<%= form_for @user, url: session_path(:user) do |f| -%>
|
446
454
|
<p><%= f.text_field :email %></p>
|
447
455
|
<p><%= f.password_field :password %></p>
|
448
456
|
<p><%= f.submit "Sign in" %></p>
|
@@ -450,6 +458,7 @@ menu_item generates a link wrapped in an li tag. It takes two arguments and an o
|
|
450
458
|
<% end %>
|
451
459
|
<% end %>
|
452
460
|
<% end %>
|
461
|
+
|
453
462
|
````
|
454
463
|
|
455
464
|
### Dropdown menus
|
@@ -470,6 +479,7 @@ For multi-level list options, where it makes logical sense to group menu items,
|
|
470
479
|
<%= menu_item "About Us", about_us_path %>
|
471
480
|
<%= menu_item "Contact", contact_path %>
|
472
481
|
<% end %>
|
482
|
+
|
473
483
|
````
|
474
484
|
|
475
485
|
### Dividers
|
@@ -477,7 +487,8 @@ For multi-level list options, where it makes logical sense to group menu items,
|
|
477
487
|
Dividers are just vertical bars that visually separate logically disparate groups of menu items
|
478
488
|
|
479
489
|
````
|
480
|
-
|
490
|
+
|
491
|
+
<%= nav_bar fixed: :bottom do %>
|
481
492
|
<%= menu_item "Home", root_path %>
|
482
493
|
<%= menu_item "About Us", about_us_path %>
|
483
494
|
<%= menu_item "Contact", contact_path %>
|
@@ -488,6 +499,7 @@ Dividers are just vertical bars that visually separate logically disparate group
|
|
488
499
|
<%= menu_item "Account Settings", edit_user_account_path(current_user, @account) %>
|
489
500
|
<%= menu_item "Log Out", log_out_path %>
|
490
501
|
<% end %>
|
502
|
+
|
491
503
|
````
|
492
504
|
|
493
505
|
### Forms in navbar
|
@@ -521,18 +533,19 @@ To change the size of the form fields, use .span2 (or however many span widths y
|
|
521
533
|
You can shift things to the left or the right across the nav bar. It's easiest to do this on grouped menu items:
|
522
534
|
|
523
535
|
````
|
524
|
-
<%= nav_bar :
|
536
|
+
<%= nav_bar fixed: :bottom do %>
|
525
537
|
<% menu_group do %>
|
526
538
|
<%= menu_item "Home", root_path %>
|
527
539
|
<%= menu_item "About Us", about_us_path %>
|
528
540
|
<%= menu_item "Contact", contact_path %>
|
529
541
|
<% end %>
|
530
|
-
<% menu_group :
|
542
|
+
<% menu_group pull: :right do %>
|
531
543
|
<%= menu_item "Edit Profile", edit_user_path(current_user) %>
|
532
544
|
<%= menu_item "Account Settings", edit_user_account_path(current_user, @account) %>
|
533
545
|
<%= menu_item "Log Out", log_out_path %>
|
534
546
|
<% end %>
|
535
547
|
<% end %>
|
548
|
+
|
536
549
|
````
|
537
550
|
|
538
551
|
### Text in the navbar
|
@@ -540,29 +553,44 @@ You can shift things to the left or the right across the nav bar. It's easiest t
|
|
540
553
|
If you want to put regular plain text in the navbar anywhere, you do it like this:
|
541
554
|
|
542
555
|
````
|
543
|
-
<%= nav_bar :
|
556
|
+
<%= nav_bar brand: "Apple" do %>
|
544
557
|
<%= menu_text "We make shiny things" %>
|
545
558
|
<%= menu_item "Home", root_path %>
|
546
559
|
<%= menu_item "About Us", about_us_path %>
|
547
560
|
<% end %>
|
561
|
+
|
548
562
|
````
|
549
563
|
It also takes the :pull option to drag it to the left or right.
|
550
564
|
|
551
565
|
|
552
566
|
### Flash helper
|
553
567
|
|
554
|
-
Add flash helper `<%= bootstrap_flash %>` to your layout (built-in with layout generator)
|
568
|
+
Add flash helper `<%= bootstrap_flash %>` to your layout (built-in with layout generator).
|
569
|
+
You can pass the attributes you want to add to the main div returned: `<%= bootstrap_flash(class: "extra-class", id: "your-id") %>`
|
570
|
+
|
555
571
|
|
556
572
|
### Breadcrumbs Helpers
|
557
573
|
|
558
|
-
*Notice* If your application is using [breadcrumbs-on-rails](https://github.com/weppos/breadcrumbs_on_rails) you will have a namespace collision with the add_breadcrumb method.
|
559
|
-
|
574
|
+
*Notice* If your application is using [breadcrumbs-on-rails](https://github.com/weppos/breadcrumbs_on_rails) you will have a namespace collision with the add_breadcrumb method. For this reason if breadcrumbs-on-rails is detected in `Gemfile` gem methods will be accessible using `boostrap` prefix, i.e. `render_bootstrap_breadcrumbs` and `add_bootstrap_breadcrumb`
|
575
|
+
|
576
|
+
Usually you do not need to use these breadcrumb gems since this gem provides the same functionality out of the box without the additional dependency.
|
577
|
+
|
578
|
+
However if there are some `breadcrumbs-on-rails` features you need to keep you can still use them and use this gem with the prefixes explained above.
|
560
579
|
|
561
580
|
Add breadcrumbs helper `<%= render_breadcrumbs %>` to your layout.
|
581
|
+
You can also specify a divider for it like this: `<%= render_breadcrumbs('>') %>` (default divider is `/`).
|
582
|
+
If you do not need dividers at all you can use `nil`: `<%= render_breadcrumbs(nil) %>`.
|
583
|
+
|
584
|
+
Full example:
|
585
|
+
```ruby
|
586
|
+
|
587
|
+
render_breadcrumbs(" / ", { class: '', item_class: '', divider_class: '', active_class: 'active' })
|
588
|
+
|
589
|
+
```
|
562
590
|
|
563
591
|
```ruby
|
564
592
|
class ApplicationController
|
565
|
-
add_breadcrumb :
|
593
|
+
add_breadcrumb :root # 'root_path' will be used as url
|
566
594
|
end
|
567
595
|
```
|
568
596
|
|
@@ -570,16 +598,15 @@ end
|
|
570
598
|
class ExamplesController < ApplicationController
|
571
599
|
add_breadcrumb :index, :examples_path
|
572
600
|
|
573
|
-
def
|
574
|
-
end
|
575
|
-
|
576
|
-
def show
|
601
|
+
def edit
|
577
602
|
@example = Example.find params[:id]
|
578
|
-
add_breadcrumb @example.name, example_path(@example)
|
579
|
-
|
603
|
+
add_breadcrumb @example # @example.to_s as name, example_path(@example) as url
|
604
|
+
add_breadcrumb :edit, edit_example_path(@example)
|
580
605
|
end
|
581
606
|
end
|
582
607
|
```
|
608
|
+
All symbolic names translated with I18n. See [I18n Internationalization Support](#i18n-internationalization-support)
|
609
|
+
section.
|
583
610
|
|
584
611
|
### Element utility helpers
|
585
612
|
|
@@ -590,141 +617,46 @@ Badge:
|
|
590
617
|
|
591
618
|
Label:
|
592
619
|
```erb
|
593
|
-
<%=
|
620
|
+
<%= tag_label('Gut!', :success) %> <span class="label label-success">Gut!</span>
|
594
621
|
```
|
595
622
|
|
596
623
|
Glyph:
|
597
624
|
```erb
|
598
625
|
<%= glyph(:pencil) %> <i class="icon-pencil"></i>
|
626
|
+
|
627
|
+
<%= glyph(:pencil, {tag: :span}) %> <span class="icon-pencil"></span>
|
599
628
|
```
|
600
629
|
|
601
|
-
###
|
602
|
-
The installer creates an
|
630
|
+
### I18n Internationalization Support
|
631
|
+
The installer creates an English translation file for you and copies it to config/locales/en.bootstrap.yml
|
603
632
|
|
604
633
|
|
605
634
|
NOTE: If you are using Devise in your project, you must have a devise locale file
|
606
635
|
for handling flash messages, even if those messages are blank. See https://github.com/plataformatec/devise/wiki/I18n
|
607
636
|
|
608
637
|
## Changelog
|
609
|
-
|
610
|
-
<li>Version 0.0.5 deprecated</li>
|
611
|
-
<li>Asset files updated to latest and removed version numbers</li>
|
612
|
-
<li>Implemented Less::Rails Railtie to use with LESS</li>
|
613
|
-
<li>Fixed railtie to only initialize Less when installed</li>
|
614
|
-
<li>New branch for the static version of Bootstrap (w/o Less) - check static branch</li>
|
615
|
-
<li>Added path to support heroku deploy</li>
|
616
|
-
<li>Rake precompile issue fixed</li>
|
617
|
-
<li>Updated asset files to 1.4.0</li>
|
618
|
-
<li>Updated dependency less-rails (now requires 2.1.0)</li>
|
619
|
-
<li>Added generators</li>
|
620
|
-
<li>Fixed generators</li>
|
621
|
-
<li>Fixed class name conflicts from (bootstrap.js.coffee)</li>
|
622
|
-
<li>Fixed jquery-rails gem version dependency</li>
|
623
|
-
<li>Updated asset files</li>
|
624
|
-
<li>Added new generators (install, layout and themed)</li>
|
625
|
-
<li>Compability to Rails 3.2</li>
|
626
|
-
<li>Transitioning to 2.0</li>
|
627
|
-
<li>Released gem v.2.0rc0</li>
|
628
|
-
<li>Added Haml and Slim support</li>
|
629
|
-
<li>Added Responsive layout support</li>
|
630
|
-
<li>Fixes and release 2.0.0</li>
|
631
|
-
<li>Updated to v2.0.1, versioned v2.0.1.0</li>
|
632
|
-
<li>Released gem v.2.0.3</li>
|
633
|
-
<li>Released gem v.2.0.4</li>
|
634
|
-
<li>Released gem v.2.0.5</li>
|
635
|
-
<li>Added SimpleForm support</li>
|
636
|
-
<li>Added FontAwesome support</li>
|
637
|
-
<li>Released gem v.2.0.6</li>
|
638
|
-
<li>Released gem v.2.0.7</li>
|
639
|
-
<li>Released gem v.2.0.8</li>
|
640
|
-
<li>Released gem v.2.0.9 (Bootstrap 2.0.4 and FontAwesome 2.0 support)</li>
|
641
|
-
<li>Released gem v.2.1.0 (JRuby support)</li>
|
642
|
-
<li>Released gem v.2.1.1 (minor fixes)</li>
|
643
|
-
<li>Flash block message helper added</li>
|
644
|
-
<li>Released gem v.2.1.2 (minor fixes and updated to Twitter Bootstrap 2.1.0)</li>
|
645
|
-
<li>Released gem v.2.1.3 (minor fixes and updated to Twitter Bootstrap 2.1.1)</li>
|
646
|
-
<li>Released gem v.2.1.4 (minor fixes)</li>
|
647
|
-
<li>Released gem v.2.1.5 (minor fixes, install generator detects javascript template engine, updated to Twitter Bootstrap 2.2.1)</li>
|
648
|
-
<li>Released gem v.2.1.6 (minor fixes)</li>
|
649
|
-
<li>Added static stylesheets support</li>
|
650
|
-
<li>Released gem v.2.1.8 and updated to Twitter Bootstrap 2.2.2</li>
|
651
|
-
<li>Released gem v.2.1.9</li>
|
652
|
-
<li>Released gem v.2.2.0 (Font Awesome 3)</li>
|
653
|
-
<li>Released gem v.2.2.1 (minor fixes and updates)</li>
|
654
|
-
<li>Released gem v.2.2.2 (Bootstrap 2.3.0)</li>
|
655
|
-
<li>Released gem v.2.2.3 (Minor fixes)</li>
|
656
|
-
<li>Released gem v.2.2.4 (Minor fixes)</li>
|
657
|
-
<li>Released gem v.2.2.5 (Bootstrap 2.3.1)</li>
|
658
|
-
<li>Released gem v.2.2.6</li>
|
659
|
-
<li>Released gem v.2.2.7 (Fixes)</li>
|
660
|
-
<li>Releases gem v.2.2.8</li>
|
661
|
-
</ul>
|
662
|
-
|
638
|
+
Please see CHANGELOG.md for more details
|
663
639
|
|
664
640
|
## Contributors & Patches & Forks
|
665
|
-
|
666
|
-
|
667
|
-
<li>Daniel Morris</li>
|
668
|
-
<li>Bradly Feeley</li>
|
669
|
-
<li>Guilherme Moreira</li>
|
670
|
-
<li>Alex Behar</li>
|
671
|
-
<li>Brandon Keene</li>
|
672
|
-
<li>Anthony Corcutt</li>
|
673
|
-
<li>Colin Warren</li>
|
674
|
-
<li>Giovanni Cappellotto</li>
|
675
|
-
<li>Masakuni Kato</li>
|
676
|
-
<li>Gudleik Rasch</li>
|
677
|
-
<li>Thomas Volkmar Worm</li>
|
678
|
-
<li>Thiago Almeida</li>
|
679
|
-
<li>Sébastien Grosjean</li>
|
680
|
-
<li>Nick DeSteffen</li>
|
681
|
-
<li>Christian Joudrey</li>
|
682
|
-
<li>Todd Baur</li>
|
683
|
-
<li>Leonid Shevtsov</li>
|
684
|
-
</ul>
|
641
|
+
Please see CONTRIBUTERS.md for contributors list
|
642
|
+
|
685
643
|
|
686
644
|
## About Me
|
687
|
-
|
645
|
+
CTO / Senior Developer / Programmer
|
646
|
+
@useful (Usefulideas) Istanbul / Turkey
|
647
|
+
|
688
648
|
|
689
649
|
### Contact me
|
690
650
|
Seyhun Akyürek - seyhunak [at] gmail com
|
691
651
|
|
692
|
-
### Follow me
|
693
|
-
<a href="http://zerply.com/seyhunak">
|
694
|
-
<img width="110" height="40" src="http://zerply.com/img/welcomesteps/zerply_logo.png" />
|
695
|
-
</a>
|
696
|
-
|
697
|
-
(Twitter, Facebook, Linkedin, Google+, Github)
|
698
|
-
|
699
|
-
http://zerply.com/seyhunak
|
700
|
-
|
701
|
-
### Endorse me
|
702
|
-
<a href="http://coderwall.com/seyhunak">
|
703
|
-
<img src="http://api.coderwall.com/seyhunak/endorsecount.png" />
|
704
|
-
</a>
|
705
|
-
|
706
|
-
### Klout me
|
707
|
-
<img src="https://addons.opera.com/media/extensions/55/14355/1.0.1-rev1/icons/icon_64x64.png"></img>
|
708
|
-
|
709
|
-
Please +K my influence in Ruby on Rails on @klout
|
710
|
-
|
711
|
-
http://klout.com/#/seyhunak
|
712
|
-
|
713
|
-
|
714
|
-
### Want to donate?
|
715
|
-
<img src="https://www.paypalobjects.com/en_US/i/logo/PayPal_mark_50x34.gif"></img>
|
716
|
-
|
717
|
-
[Want to donate for my efforts? Show your love](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=W8ZLWQBREFP4U
|
718
|
-
"Donate")
|
719
|
-
|
720
652
|
|
721
653
|
## Thanks
|
722
|
-
|
723
|
-
http://
|
654
|
+
Bootstrap and all twitter-bootstrap-rails contributors
|
655
|
+
http://twbs.github.io/bootstrap
|
724
656
|
|
725
657
|
|
726
658
|
## License
|
727
|
-
Copyright (c)
|
659
|
+
Copyright (c) 2014 Seyhun Akyürek
|
728
660
|
|
729
661
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
730
662
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|