twitter_bootstrap_builder 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. data/.gitignore +18 -18
  2. data/Gemfile +4 -4
  3. data/LICENSE +21 -21
  4. data/README.md +29 -29
  5. data/Rakefile +2 -2
  6. data/app/views/kaminari/twitter_bootstrap/_first_page.html.haml +15 -15
  7. data/app/views/kaminari/twitter_bootstrap/_gap.html.haml +8 -8
  8. data/app/views/kaminari/twitter_bootstrap/_last_page.html.haml +12 -12
  9. data/app/views/kaminari/twitter_bootstrap/_next_page.html.haml +13 -13
  10. data/app/views/kaminari/twitter_bootstrap/_page.html.haml +15 -15
  11. data/app/views/kaminari/twitter_bootstrap/_paginator.html.haml +20 -20
  12. data/app/views/kaminari/twitter_bootstrap/_prev_page.html.haml +13 -13
  13. data/lib/twitter_bootstrap_builder.rb +26 -26
  14. data/lib/twitter_bootstrap_builder/builders/base.rb +19 -19
  15. data/lib/twitter_bootstrap_builder/builders/drop_down_builder.rb +19 -19
  16. data/lib/twitter_bootstrap_builder/builders/drop_down_button_builder.rb +10 -10
  17. data/lib/twitter_bootstrap_builder/builders/drop_down_link_builder.rb +10 -10
  18. data/lib/twitter_bootstrap_builder/builders/fieldset_builder.rb +116 -116
  19. data/lib/twitter_bootstrap_builder/builders/form_builder.rb +10 -10
  20. data/lib/twitter_bootstrap_builder/builders/link_button_builder.rb +14 -14
  21. data/lib/twitter_bootstrap_builder/builders/nav_bar_builder.rb +24 -24
  22. data/lib/twitter_bootstrap_builder/builders/nav_container_builder.rb +38 -38
  23. data/lib/twitter_bootstrap_builder/builders/nav_list_builder.rb +37 -37
  24. data/lib/twitter_bootstrap_builder/builders/submit_button_builder.rb +14 -14
  25. data/lib/twitter_bootstrap_builder/builders/tab_builder.rb +22 -22
  26. data/lib/twitter_bootstrap_builder/builders/table_builder.rb +77 -77
  27. data/lib/twitter_bootstrap_builder/engine.rb +16 -16
  28. data/lib/twitter_bootstrap_builder/extensions/twitter_bootstrap_markup.rb +6 -6
  29. data/lib/twitter_bootstrap_builder/helpers/buttons_helper.rb +50 -50
  30. data/lib/twitter_bootstrap_builder/helpers/commons_helper.rb +148 -114
  31. data/lib/twitter_bootstrap_builder/helpers/dropdowns_helper.rb +32 -32
  32. data/lib/twitter_bootstrap_builder/version.rb +3 -3
  33. data/twitter_bootstrap_builder.gemspec +20 -20
  34. data/vendor/assets/javascripts/bootstrap.js +1737 -1737
  35. data/vendor/assets/javascripts/twitter_bootstrap_builder.js +27 -27
  36. data/vendor/assets/stylesheets/bootstrap.css +4914 -4914
  37. data/vendor/assets/stylesheets/twitter_bootstrap_builder.css +57 -33
  38. metadata +17 -7
@@ -1,33 +1,57 @@
1
- body {
2
- padding-top: 50px;
3
- }
4
-
5
- .control-group .display {
6
- padding: 4px;
7
- display: inline-block;
8
- border: 1px solid #eeeeee;
9
- border-radius: 5px;
10
- min-width: 150px;
11
- min-height: 18px;
12
- }
13
-
14
- .field_with_errors {
15
- display: inline-block;
16
- margin: 0;
17
- padding: 0;
18
- }
19
-
20
- .field_with_errors input[type=text],
21
- .field_with_errors input[type=email],
22
- .field_with_errors input[type=url],
23
- .field_with_errors input[type=password],
24
- .field_with_errors textarea,
25
- .field_with_errors select
26
- {
27
- border: 1px solid #b94a48;
28
- background-color: #f2dede;
29
- }
30
-
31
- .tab-content {
32
- overflow: visible;
33
- }
1
+ body {
2
+ padding-top: 50px;
3
+ }
4
+
5
+ .control-group .display {
6
+ padding: 4px;
7
+ display: inline-block;
8
+ border: 1px solid #eeeeee;
9
+ border-radius: 5px;
10
+ min-width: 150px;
11
+ min-height: 18px;
12
+ }
13
+
14
+ .field_with_errors {
15
+ display: inline-block;
16
+ margin: 0;
17
+ padding: 0;
18
+ }
19
+
20
+ .field_with_errors input[type=text],
21
+ .field_with_errors input[type=email],
22
+ .field_with_errors input[type=url],
23
+ .field_with_errors input[type=password],
24
+ .field_with_errors textarea,
25
+ .field_with_errors select
26
+ {
27
+ border: 1px solid #b94a48;
28
+ background-color: #f2dede;
29
+ }
30
+
31
+ .tab-content {
32
+ overflow: visible;
33
+ }
34
+
35
+ .color-default {
36
+ background-color: #999999;
37
+ }
38
+
39
+ .color-info {
40
+ background-color: #3a87ad;
41
+ }
42
+
43
+ .color-success {
44
+ background-color: #468847;
45
+ }
46
+
47
+ .color-warning {
48
+ background-color: #f89406;
49
+ }
50
+
51
+ .color-important {
52
+ background-color: #b94a48;
53
+ }
54
+
55
+ .color-inverse {
56
+ background-color: #333333;
57
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter_bootstrap_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-11 00:00:00.000000000 Z
12
+ date: 2012-12-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: twitter_bootstrap_markup
16
- requirement: &28585728 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *28585728
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: kaminari
27
- requirement: &28585464 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,7 +37,12 @@ dependencies:
32
37
  version: '0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *28585464
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  description: Set of helpers to extend Rails for implement Twitter Bootstrap markup
37
47
  email:
38
48
  - gabynaiman@gmail.com
@@ -99,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
109
  version: '0'
100
110
  requirements: []
101
111
  rubyforge_project:
102
- rubygems_version: 1.8.16
112
+ rubygems_version: 1.8.24
103
113
  signing_key:
104
114
  specification_version: 3
105
115
  summary: Set of helpers to extend Rails for implement Twitter Bootstrap markup