padrino-admin 0.11.2 → 0.11.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. data/lib/padrino-admin/bootstrap-less/accordion.less +6 -9
  2. data/lib/padrino-admin/bootstrap-less/alerts.less +46 -51
  3. data/lib/padrino-admin/bootstrap-less/badges.less +2 -7
  4. data/lib/padrino-admin/bootstrap-less/bootstrap.less +0 -1
  5. data/lib/padrino-admin/bootstrap-less/breadcrumbs.less +3 -3
  6. data/lib/padrino-admin/bootstrap-less/button-groups.less +37 -37
  7. data/lib/padrino-admin/bootstrap-less/buttons.less +52 -67
  8. data/lib/padrino-admin/bootstrap-less/carousel.less +24 -35
  9. data/lib/padrino-admin/bootstrap-less/close.less +14 -13
  10. data/lib/padrino-admin/bootstrap-less/code.less +4 -7
  11. data/lib/padrino-admin/bootstrap-less/component-animations.less +2 -11
  12. data/lib/padrino-admin/bootstrap-less/dropdowns.less +26 -82
  13. data/lib/padrino-admin/bootstrap-less/font-awesome-ie7.less +1895 -292
  14. data/lib/padrino-admin/bootstrap-less/font-awesome.less +26 -530
  15. data/lib/padrino-admin/bootstrap-less/font-awesome/bootstrap.less +84 -0
  16. data/lib/padrino-admin/bootstrap-less/font-awesome/core.less +129 -0
  17. data/lib/padrino-admin/bootstrap-less/font-awesome/extras.less +93 -0
  18. data/lib/padrino-admin/bootstrap-less/font-awesome/font-awesome-ie7.less +1953 -0
  19. data/lib/padrino-admin/bootstrap-less/font-awesome/font-awesome.less +33 -0
  20. data/lib/padrino-admin/bootstrap-less/font-awesome/icons.less +381 -0
  21. data/lib/padrino-admin/bootstrap-less/font-awesome/mixins.less +48 -0
  22. data/lib/padrino-admin/bootstrap-less/font-awesome/path.less +14 -0
  23. data/lib/padrino-admin/bootstrap-less/font-awesome/variables.less +735 -0
  24. data/lib/padrino-admin/bootstrap-less/forms.less +123 -227
  25. data/lib/padrino-admin/bootstrap-less/grid.less +174 -19
  26. data/lib/padrino-admin/bootstrap-less/jumbotron.less +4 -4
  27. data/lib/padrino-admin/bootstrap-less/labels.less +52 -28
  28. data/lib/padrino-admin/bootstrap-less/list-group.less +37 -44
  29. data/lib/padrino-admin/bootstrap-less/media.less +1 -1
  30. data/lib/padrino-admin/bootstrap-less/mixins.less +97 -120
  31. data/lib/padrino-admin/bootstrap-less/modals.less +5 -4
  32. data/lib/padrino-admin/bootstrap-less/navbar.less +148 -174
  33. data/lib/padrino-admin/bootstrap-less/navs.less +145 -164
  34. data/lib/padrino-admin/bootstrap-less/padrino-admin.less +2 -2
  35. data/lib/padrino-admin/bootstrap-less/pager.less +45 -33
  36. data/lib/padrino-admin/bootstrap-less/pagination.less +11 -23
  37. data/lib/padrino-admin/bootstrap-less/panels.less +11 -1
  38. data/lib/padrino-admin/bootstrap-less/popovers.less +6 -6
  39. data/lib/padrino-admin/bootstrap-less/print.less +13 -2
  40. data/lib/padrino-admin/bootstrap-less/progress-bars.less +3 -3
  41. data/lib/padrino-admin/bootstrap-less/responsive-utilities.less +92 -32
  42. data/lib/padrino-admin/bootstrap-less/scaffolding.less +9 -18
  43. data/lib/padrino-admin/bootstrap-less/tables.less +70 -67
  44. data/lib/padrino-admin/bootstrap-less/thumbnails.less +6 -6
  45. data/lib/padrino-admin/bootstrap-less/tooltip.less +25 -1
  46. data/lib/padrino-admin/bootstrap-less/type.less +39 -46
  47. data/lib/padrino-admin/bootstrap-less/variables.less +135 -63
  48. data/lib/padrino-admin/generators/admin_app.rb +9 -0
  49. data/lib/padrino-admin/generators/admin_page.rb +9 -0
  50. data/lib/padrino-admin/generators/orm.rb +1 -10
  51. data/lib/padrino-admin/generators/templates/account/activerecord.rb.tt +1 -1
  52. data/lib/padrino-admin/generators/templates/account/datamapper.rb.tt +1 -1
  53. data/lib/padrino-admin/generators/templates/account/minirecord.rb.tt +1 -1
  54. data/lib/padrino-admin/generators/templates/account/mongoid.rb.tt +1 -1
  55. data/lib/padrino-admin/generators/templates/account/mongomapper.rb.tt +1 -1
  56. data/lib/padrino-admin/generators/templates/account/sequel.rb.tt +1 -1
  57. data/lib/padrino-admin/generators/templates/assets/images/font/FontAwesome.otf +0 -0
  58. data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.eot +0 -0
  59. data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.svg +153 -38
  60. data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.ttf +0 -0
  61. data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.woff +0 -0
  62. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/affix.js +120 -0
  63. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/{bootstrap-alert.js → alert.js} +32 -35
  64. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap.min.js +1 -1
  65. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/{bootstrap-button.js → button.js} +37 -37
  66. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/carousel.js +210 -0
  67. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/collapse.js +156 -0
  68. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/dropdown.js +155 -0
  69. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/modal.js +243 -0
  70. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/popover.js +111 -0
  71. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/scrollspy.js +156 -0
  72. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/tab.js +133 -0
  73. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/tooltip.js +356 -0
  74. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/transition.js +47 -0
  75. data/lib/padrino-admin/generators/templates/assets/stylesheets/bootstrap.css +406 -452
  76. data/lib/padrino-admin/generators/templates/erb/app/layouts/application.erb.tt +3 -3
  77. data/lib/padrino-admin/generators/templates/erb/app/sessions/new.erb.tt +1 -1
  78. data/lib/padrino-admin/generators/templates/haml/app/layouts/application.haml.tt +3 -3
  79. data/lib/padrino-admin/generators/templates/haml/app/sessions/new.haml.tt +1 -1
  80. data/lib/padrino-admin/generators/templates/page/controller.rb.tt +1 -1
  81. data/lib/padrino-admin/generators/templates/slim/app/layouts/application.slim.tt +3 -3
  82. data/lib/padrino-admin/generators/templates/slim/app/sessions/new.slim.tt +1 -1
  83. data/lib/padrino-admin/helpers/view_helpers.rb +1 -1
  84. data/test/generators/test_admin_app_generator.rb +9 -0
  85. data/test/generators/test_admin_page_generator.rb +11 -0
  86. metadata +27 -23
  87. data/lib/padrino-admin/bootstrap-less/glyphicons.less +0 -200
  88. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-affix.js +0 -117
  89. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-carousel.js +0 -207
  90. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-collapse.js +0 -167
  91. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-dropdown.js +0 -165
  92. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-modal.js +0 -251
  93. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-popover.js +0 -114
  94. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-scrollspy.js +0 -162
  95. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-tab.js +0 -144
  96. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-tooltip.js +0 -361
  97. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-transition.js +0 -60
  98. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-typeahead.js +0 -335
@@ -17,14 +17,14 @@
17
17
  <div class=navbar-inner>
18
18
  <div class=container>
19
19
  <%%= link_to 'Padrino', url(:base_index), :class => 'navbar-brand', :title => 'Padrino Admin' %>
20
- <ul class="nav pull-right">
20
+ <ul class="nav navbar-nav pull-right">
21
21
  <li class=navbar-edit-account><%%= link_to tag_icon(:user), url(:<%= @model_plural %>, :edit, :id => current_account.id), :title => pat(:profile), :class => 'navbar-nav-link' %></li>
22
22
  <li class=navbar-logout>
23
23
  <%%= button_to(:logout, url(:sessions, :destroy), :method => :delete, :class => 'navbar-nav-form') { content_tag :button, tag_icon(:off), :type => :submit, :title => pat(:logout), :class => 'navbar-nav-form-link' } %>
24
24
  </li>
25
25
  </ul>
26
26
 
27
- <ul class="nav pull-left">
27
+ <ul class="nav navbar-nav pull-left">
28
28
  <%% project_modules.each do |project_module| %>
29
29
  <%% if request.path_info =~ /^#{project_module.path}/ %>
30
30
  <li class="navbar-module active">
@@ -59,6 +59,6 @@
59
59
  </div>
60
60
  </footer>
61
61
 
62
- <%%= javascript_include_tag 'jquery-1.9.0.min', (Padrino.env == :production ? 'bootstrap/bootstrap.min' : %w[bootstrap/bootstrap-affix bootstrap/bootstrap-alert bootstrap/bootstrap-button bootstrap/bootstrap-carousel bootstrap/bootstrap-collapse bootstrap/bootstrap-dropdown bootstrap/bootstrap-tooltip bootstrap/bootstrap-transition bootstrap/bootstrap-typeahead bootstrap/bootstrap-modal bootstrap/bootstrap-popover bootstrap/bootstrap-scrollspy bootstrap/bootstrap-tab]), :application %>
62
+ <%%= javascript_include_tag 'jquery-1.9.0.min', (Padrino.env == :production ? 'bootstrap/bootstrap.min' : %w[bootstrap/affix bootstrap/alert bootstrap/button bootstrap/carousel bootstrap/collapse bootstrap/dropdown bootstrap/tooltip bootstrap/transition bootstrap/modal bootstrap/popover bootstrap/scrollspy bootstrap/tab]), :application %>
63
63
  </body>
64
64
  </html>
@@ -39,6 +39,6 @@
39
39
  </div>
40
40
  <div class="login-footer modal-footer"><%%= submit_tag(pat('login.sign_in'), :class => "btn btn-primary pull-right") %></div>
41
41
  <%% end %>
42
- <%%= javascript_include_tag 'jquery-1.9.0.min', (Padrino.env == :production ? 'bootstrap/bootstrap.min' : %w[bootstrap/bootstrap-affix bootstrap/bootstrap-alert bootstrap/bootstrap-button bootstrap/bootstrap-carousel bootstrap/bootstrap-collapse bootstrap/bootstrap-dropdown bootstrap/bootstrap-tooltip bootstrap/bootstrap-transition bootstrap/bootstrap-typeahead bootstrap/bootstrap-modal bootstrap/bootstrap-popover bootstrap/bootstrap-scrollspy bootstrap/bootstrap-tab]), :application %>
42
+ <%%= javascript_include_tag 'jquery-1.9.0.min', (Padrino.env == :production ? 'bootstrap/bootstrap.min' : %w[bootstrap/affix bootstrap/alert bootstrap/button bootstrap/carousel bootstrap/collapse bootstrap/dropdown bootstrap/tooltip bootstrap/transition bootstrap/modal bootstrap/popover bootstrap/scrollspy bootstrap/tab]), :application %>
43
43
  </body>
44
44
  </html>
@@ -17,13 +17,13 @@
17
17
  .navbar-inner
18
18
  .container
19
19
  =link_to 'Padrino', url(:base_index), :class => 'navbar-brand', :title => 'Padrino Admin'
20
- %ul.nav.pull-right
20
+ %ul.nav.navbar-nav.pull-right
21
21
  %li.navbar-edit-account=link_to tag_icon(:user), url(:accounts, :edit, :id => current_account.id), :title => pat(:profile), :class => 'navbar-nav-link'
22
22
  %li.navbar-logout
23
23
  =button_to :logout, url(:sessions, :destroy), :method => :delete, :class => 'navbar-nav-form' do
24
24
  =content_tag :button, tag_icon(:off), :type => :submit, :title => pat(:logout), :class => 'navbar-nav-form-link'
25
25
 
26
- %ul.nav.pull-left
26
+ %ul.nav.navbar-nav.pull-left
27
27
  - project_modules.each do |project_module|
28
28
  %li{:class => "navbar-module #{('active' if request.path_info =~ /^#{project_module.path}/)}"}
29
29
  =link_to project_module.human_name, project_module.path('/admin')
@@ -46,4 +46,4 @@
46
46
  %li= link_to tag_icon(:github, 'code'), 'https://github.com/padrino/padrino-framework', :target => :_blank, :class => 'footer-links-link'
47
47
  %li= link_to tag_icon(:twitter, 'twitter'), 'http://twitter.com/padrinorb', :target => :_blank, :class => 'footer-links-link'
48
48
 
49
- =javascript_include_tag 'jquery-1.9.0.min', (Padrino.env == :production ? 'bootstrap/bootstrap.min' : %w[bootstrap/bootstrap-affix bootstrap/bootstrap-alert bootstrap/bootstrap-button bootstrap/bootstrap-carousel bootstrap/bootstrap-collapse bootstrap/bootstrap-dropdown bootstrap/bootstrap-tooltip bootstrap/bootstrap-transition bootstrap/bootstrap-typeahead bootstrap/bootstrap-modal bootstrap/bootstrap-popover bootstrap/bootstrap-scrollspy bootstrap/bootstrap-tab]), :application
49
+ =javascript_include_tag 'jquery-1.9.0.min', (Padrino.env == :production ? 'bootstrap/bootstrap.min' : %w[bootstrap/affix bootstrap/alert bootstrap/button bootstrap/carousel bootstrap/collapse bootstrap/dropdown bootstrap/tooltip bootstrap/transition bootstrap/modal bootstrap/popover bootstrap/scrollspy bootstrap/tab]), :application
@@ -32,4 +32,4 @@
32
32
  .login-footer.modal-footer
33
33
  =submit_tag(pat('login.sign_in'), :class => 'btn btn-primary pull-right')
34
34
 
35
- =javascript_include_tag 'jquery-1.9.0.min', (Padrino.env == :production ? 'bootstrap/bootstrap.min' : %w[bootstrap/bootstrap-affix bootstrap/bootstrap-alert bootstrap/bootstrap-button bootstrap/bootstrap-carousel bootstrap/bootstrap-collapse bootstrap/bootstrap-dropdown bootstrap/bootstrap-tooltip bootstrap/bootstrap-transition bootstrap/bootstrap-typeahead bootstrap/bootstrap-modal bootstrap/bootstrap-popover bootstrap/bootstrap-scrollspy bootstrap/bootstrap-tab]), :application
35
+ =javascript_include_tag 'jquery-1.9.0.min', (Padrino.env == :production ? 'bootstrap/bootstrap.min' : %w[bootstrap/affix bootstrap/alert bootstrap/button bootstrap/carousel bootstrap/collapse bootstrap/dropdown bootstrap/tooltip bootstrap/transition bootstrap/modal bootstrap/popover bootstrap/scrollspy bootstrap/tab]), :application
@@ -76,7 +76,7 @@
76
76
  flash[:error] = pat(:destroy_many_error, :model => '<%= @orm.name_singular %>')
77
77
  redirect(url(:<%= @orm.name_plural %>, :index))
78
78
  end
79
- ids = <%= @orm.parse_many_ids_on_params %>
79
+ ids = params[:<%= @orm.name_singular %>_ids].split(',').map(&:strip)
80
80
  <%= @orm.name_plural %> = <%= @orm.find_by_ids("ids") %>
81
81
  <% if @orm.name_singular == @admin_model %>
82
82
  if <%= @orm.name_plural %>.include? current_account
@@ -18,12 +18,12 @@ html lang='en'
18
18
  div class='container'
19
19
  = link_to 'Padrino', url(:base_index), :class => 'navbar-brand', :title => 'Padrino Admin'
20
20
 
21
- ul class='nav pull-right'
21
+ ul class='nav navbar-nav pull-right'
22
22
  li class='navbar-edit-account' = link_to tag_icon(:user), url(:<%= @model_plural %>, :edit, :id => current_account.id), :title => pat(:profile), :class => 'navbar-nav-link'
23
23
  li class='navbar-logout' = button_to(pat(:logout), url(:sessions, :destroy), :method => :delete, :class => 'navbar-nav-form') do
24
24
  = content_tag :button, tag_icon(:off), :type => :submit, :title => pat(:logout), :class => 'navbar-nav-form-link'
25
25
 
26
- ul class='nav pull-left'
26
+ ul class='nav navbar-nav pull-left'
27
27
  - project_modules.each do |project_module|
28
28
  li class=("navbar-module #{'active' if request.path_info =~ /^#{project_module.path}/}")
29
29
  = link_to project_module.human_name, project_module.path('/admin')
@@ -45,4 +45,4 @@ html lang='en'
45
45
  li = link_to tag_icon(:github, 'code'), 'https://github.com/padrino/padrino-framework', :target => :_blank, :class => 'footer-links-link'
46
46
  li = link_to tag_icon(:twitter, 'twitter'), 'http://twitter.com/padrinorb', :target => :_blank, :class => 'footer-links-link'
47
47
 
48
- =javascript_include_tag 'jquery-1.9.0.min', (Padrino.env == :production ? 'bootstrap/bootstrap.min' : %w[bootstrap/bootstrap-affix bootstrap/bootstrap-alert bootstrap/bootstrap-button bootstrap/bootstrap-carousel bootstrap/bootstrap-collapse bootstrap/bootstrap-dropdown bootstrap/bootstrap-tooltip bootstrap/bootstrap-transition bootstrap/bootstrap-typeahead bootstrap/bootstrap-modal bootstrap/bootstrap-popover bootstrap/bootstrap-scrollspy bootstrap/bootstrap-tab]), :application
48
+ =javascript_include_tag 'jquery-1.9.0.min', (Padrino.env == :production ? 'bootstrap/bootstrap.min' : %w[bootstrap/affix bootstrap/alert bootstrap/button bootstrap/carousel bootstrap/collapse bootstrap/dropdown bootstrap/tooltip bootstrap/transition bootstrap/modal bootstrap/popover bootstrap/scrollspy bootstrap/tab]), :application
@@ -32,4 +32,4 @@ html lang="en" xmlns="http://www.w3.org/1999/xhtml"
32
32
 
33
33
  div class="login-footer modal-footer"
34
34
  = submit_tag(pat('login.sign_in'), :class => 'btn btn-primary pull-right')
35
- = javascript_include_tag 'jquery-1.9.0.min', (Padrino.env == :production ? 'bootstrap/bootstrap.min' : %w[bootstrap/bootstrap-affix bootstrap/bootstrap-alert bootstrap/bootstrap-button bootstrap/bootstrap-carousel bootstrap/bootstrap-collapse bootstrap/bootstrap-dropdown bootstrap/bootstrap-tooltip bootstrap/bootstrap-transition bootstrap/bootstrap-typeahead bootstrap/bootstrap-modal bootstrap/bootstrap-popover bootstrap/bootstrap-scrollspy bootstrap/bootstrap-tab]), :application
35
+ = javascript_include_tag 'jquery-1.9.0.min', (Padrino.env == :production ? 'bootstrap/bootstrap.min' : %w[bootstrap/affix bootstrap/alert bootstrap/button bootstrap/carousel bootstrap/collapse bootstrap/dropdown bootstrap/tooltip bootstrap/transition bootstrap/modal bootstrap/popover bootstrap/scrollspy bootstrap/tab]), :application
@@ -66,7 +66,7 @@ module Padrino
66
66
  # mat(:account, :email)
67
67
  #
68
68
  def model_attribute_translate(model, attribute)
69
- t("models.\#{model}.attributes.\#{attribute}", :default => attribute.to_s.humanize)
69
+ t("models.#{model}.attributes.#{attribute}", :default => attribute.to_s.humanize)
70
70
  end
71
71
  alias :t_attr :model_attribute_translate
72
72
  alias :mat :t_attr
@@ -53,6 +53,15 @@ describe "AdminAppGenerator" do
53
53
  assert_match_in_file 'role.project_module :accounts, \'/accounts\'', "#{@apptmp}/sample_project/admin/app.rb"
54
54
  end
55
55
 
56
+ # users can override certain templates from a generators/templates folder in the destination_root
57
+ it "should use custom generator templates from the project root, if they exist" do
58
+ capture_io { generate(:project, 'sample_project', "--root=#{@apptmp}", '-d=activerecord') }
59
+ custom_template_path = "#{@apptmp}/sample_project/generators/templates/slim/app/layouts/"
60
+ `mkdir -p #{custom_template_path} && echo "h1 = 'Hello, custom generator' " > #{custom_template_path}application.slim.tt`
61
+ capture_io { generate(:admin_app, "--root=#{@apptmp}/sample_project") }
62
+ assert_match_in_file(/Hello, custom generator/, "#{@apptmp}/sample_project/admin/views/layouts/application.slim")
63
+ end
64
+
56
65
  it "should generate the admin app under a different folder" do
57
66
  # TODO FIXME Implement option --admin_root or something. See https://github.com/padrino/padrino-framework/issues/854#issuecomment-14749356
58
67
  skip
@@ -46,6 +46,17 @@ describe "AdminPageGenerator" do
46
46
  assert_match_in_file "elsif Padrino.env == :development && params[:bypass]", "#{@apptmp}/sample_project/admin/controllers/sessions.rb"
47
47
  end
48
48
 
49
+ # users can override certain templates from a generators/templates folder in the destination_root
50
+ it "should use custom generator templates from the project root, if they exist" do
51
+ capture_io { generate(:project, 'sample_project', "--root=#{@apptmp}", '-d=datamapper','-e=haml') }
52
+ custom_template_path = "#{@apptmp}/sample_project/generators/templates/haml/page/"
53
+ `mkdir -p #{custom_template_path} && echo "%h1= 'Hello, custom generator' " > #{custom_template_path}index.haml.tt`
54
+ capture_io { generate(:admin_app, "--root=#{@apptmp}/sample_project") }
55
+ capture_io { generate(:model, 'person', "name:string", "age:integer", "email:string", "--root=#{@apptmp}/sample_project") }
56
+ capture_io { generate(:admin_page, 'person', "--root=#{@apptmp}/sample_project") }
57
+ assert_match_in_file(/Hello, custom generator/, "#{@apptmp}/sample_project/admin/views/people/index.haml")
58
+ end
59
+
49
60
  describe "renderers" do
50
61
  it 'should correctly generate a new page with haml' do
51
62
  capture_io { generate(:project, 'sample_project', "--root=#{@apptmp}", '-d=datamapper','-e=haml') }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.2
4
+ version: 0.11.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-05-21 00:00:00.000000000 Z
15
+ date: 2013-07-29 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: padrino-core
@@ -21,7 +21,7 @@ dependencies:
21
21
  requirements:
22
22
  - - '='
23
23
  - !ruby/object:Gem::Version
24
- version: 0.11.2
24
+ version: 0.11.3
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  requirements:
30
30
  - - '='
31
31
  - !ruby/object:Gem::Version
32
- version: 0.11.2
32
+ version: 0.11.3
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: padrino-helpers
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -37,7 +37,7 @@ dependencies:
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.11.2
40
+ version: 0.11.3
41
41
  type: :runtime
42
42
  prerelease: false
43
43
  version_requirements: !ruby/object:Gem::Requirement
@@ -45,7 +45,7 @@ dependencies:
45
45
  requirements:
46
46
  - - '='
47
47
  - !ruby/object:Gem::Version
48
- version: 0.11.2
48
+ version: 0.11.3
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: therubyracer
51
51
  requirement: !ruby/object:Gem::Requirement
@@ -107,8 +107,16 @@ files:
107
107
  - lib/padrino-admin/bootstrap-less/dropdowns.less
108
108
  - lib/padrino-admin/bootstrap-less/font-awesome-ie7.less
109
109
  - lib/padrino-admin/bootstrap-less/font-awesome.less
110
+ - lib/padrino-admin/bootstrap-less/font-awesome/bootstrap.less
111
+ - lib/padrino-admin/bootstrap-less/font-awesome/core.less
112
+ - lib/padrino-admin/bootstrap-less/font-awesome/extras.less
113
+ - lib/padrino-admin/bootstrap-less/font-awesome/font-awesome-ie7.less
114
+ - lib/padrino-admin/bootstrap-less/font-awesome/font-awesome.less
115
+ - lib/padrino-admin/bootstrap-less/font-awesome/icons.less
116
+ - lib/padrino-admin/bootstrap-less/font-awesome/mixins.less
117
+ - lib/padrino-admin/bootstrap-less/font-awesome/path.less
118
+ - lib/padrino-admin/bootstrap-less/font-awesome/variables.less
110
119
  - lib/padrino-admin/bootstrap-less/forms.less
111
- - lib/padrino-admin/bootstrap-less/glyphicons.less
112
120
  - lib/padrino-admin/bootstrap-less/grid.less
113
121
  - lib/padrino-admin/bootstrap-less/jumbotron.less
114
122
  - lib/padrino-admin/bootstrap-less/labels.less
@@ -159,20 +167,19 @@ files:
159
167
  - lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.woff
160
168
  - lib/padrino-admin/generators/templates/assets/images/logo.png
161
169
  - lib/padrino-admin/generators/templates/assets/javascripts/application.js
162
- - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-affix.js
163
- - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-alert.js
164
- - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-button.js
165
- - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-carousel.js
166
- - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-collapse.js
167
- - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-dropdown.js
168
- - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-modal.js
169
- - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-popover.js
170
- - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-scrollspy.js
171
- - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-tab.js
172
- - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-tooltip.js
173
- - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-transition.js
174
- - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-typeahead.js
170
+ - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/affix.js
171
+ - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/alert.js
175
172
  - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap.min.js
173
+ - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/button.js
174
+ - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/carousel.js
175
+ - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/collapse.js
176
+ - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/dropdown.js
177
+ - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/modal.js
178
+ - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/popover.js
179
+ - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/scrollspy.js
180
+ - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/tab.js
181
+ - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/tooltip.js
182
+ - lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/transition.js
176
183
  - lib/padrino-admin/generators/templates/assets/javascripts/jquery-1.9.0.min.js
177
184
  - lib/padrino-admin/generators/templates/assets/stylesheets/application.css
178
185
  - lib/padrino-admin/generators/templates/assets/stylesheets/bootstrap.css
@@ -276,9 +283,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
276
283
  - - ! '>='
277
284
  - !ruby/object:Gem::Version
278
285
  version: '0'
279
- segments:
280
- - 0
281
- hash: -3212063610916847106
282
286
  required_rubygems_version: !ruby/object:Gem::Requirement
283
287
  none: false
284
288
  requirements:
@@ -1,200 +0,0 @@
1
- //
2
- // Glyphicons
3
- // -----------------------------------------------------------------------------
4
-
5
- // About
6
- //
7
- // Glyphicons font-based icons require you to include all relevant font files,
8
- // found in the Bootstrap repo under /fonts/. Files are referenced relative to
9
- // the compiled CSS.
10
- //
11
- // Basic usage
12
- //
13
- // Since icons are fonts, they can be placed anywhere text is placed. To use,
14
- // create an inline element with the appropriate classes, like so:
15
- //
16
- // <a href="#"><span class="glyphicon glyphicon-star"></span> Star</a>
17
- //
18
- // Use them in links, buttons, headings, and more.
19
-
20
-
21
- // Import the fonts
22
- @font-face {
23
- font-family: 'Glyphicons Halflings';
24
- src: url('@{glyphicons-font-path}/glyphiconshalflings-regular.eot');
25
- src: url('@{glyphicons-font-path}/glyphiconshalflings-regular.eot?#iefix') format('embedded-opentype'),
26
- url('@{glyphicons-font-path}/glyphiconshalflings-regular.woff') format('woff'),
27
- url('@{glyphicons-font-path}/glyphiconshalflings-regular.ttf') format('truetype'),
28
- url('@{glyphicons-font-path}/glyphiconshalflings-regular.svg#glyphicons_halflingsregular') format('svg');
29
- font-style: normal;
30
- font-weight: normal;
31
- }
32
-
33
- // Catchall baseclass
34
- .glyphicon:before {
35
- font-family: 'Glyphicons Halflings';
36
- font-style: normal;
37
- line-height: 1;
38
- }
39
-
40
- // Individual icons
41
- .glyphicon-glass:before { content: "\e001"; }
42
- .glyphicon-music:before { content: "\e002"; }
43
- .glyphicon-search:before { content: "\e003"; }
44
- .glyphicon-envelope:before { content: "\2709"; }
45
- .glyphicon-heart:before { content: "\e005"; }
46
- .glyphicon-star:before { content: "\e006"; }
47
- .glyphicon-star-empty:before { content: "\e007"; }
48
- .glyphicon-user:before { content: "\e008"; }
49
- .glyphicon-film:before { content: "\e009"; }
50
- .glyphicon-th-large:before { content: "\e010"; }
51
- .glyphicon-th:before { content: "\e011"; }
52
- .glyphicon-th-list:before { content: "\e012"; }
53
- .glyphicon-ok:before { content: "\e013"; }
54
- .glyphicon-remove:before { content: "\e014"; }
55
- .glyphicon-zoom-in:before { content: "\e015"; }
56
- .glyphicon-zoom-out:before { content: "\e016"; }
57
- .glyphicon-off:before { content: "\e017"; }
58
- .glyphicon-signal:before { content: "\e018"; }
59
- .glyphicon-cog:before { content: "\e019"; }
60
- .glyphicon-trash:before { content: "\e020"; }
61
- .glyphicon-home:before { content: "\e021"; }
62
- .glyphicon-file:before { content: "\e022"; }
63
- .glyphicon-time:before { content: "\e023"; }
64
- .glyphicon-road:before { content: "\e024"; }
65
- .glyphicon-download-alt:before { content: "\e025"; }
66
- .glyphicon-download:before { content: "\e026"; }
67
- .glyphicon-upload:before { content: "\e027"; }
68
- .glyphicon-inbox:before { content: "\e028"; }
69
- .glyphicon-play-circle:before { content: "\e029"; }
70
- .glyphicon-repeat:before { content: "\e030"; }
71
- .glyphicon-refresh:before { content: "\e031"; }
72
- .glyphicon-list-alt:before { content: "\e032"; }
73
- .glyphicon-lock:before { content: "\e033"; }
74
- .glyphicon-flag:before { content: "\e034"; }
75
- .glyphicon-headphones:before { content: "\e035"; }
76
- .glyphicon-volume-off:before { content: "\e036"; }
77
- .glyphicon-volume-down:before { content: "\e037"; }
78
- .glyphicon-volume-up:before { content: "\e038"; }
79
- .glyphicon-qrcode:before { content: "\e039"; }
80
- .glyphicon-barcode:before { content: "\e040"; }
81
- .glyphicon-tag:before { content: "\e041"; }
82
- .glyphicon-tags:before { content: "\e042"; }
83
- .glyphicon-book:before { content: "\e043"; }
84
- .glyphicon-bookmark:before { content: "\e044"; }
85
- .glyphicon-print:before { content: "\e045"; }
86
- .glyphicon-camera:before { content: "\e046"; }
87
- .glyphicon-font:before { content: "\e047"; }
88
- .glyphicon-bold:before { content: "\e048"; }
89
- .glyphicon-italic:before { content: "\e049"; }
90
- .glyphicon-text-height:before { content: "\e050"; }
91
- .glyphicon-text-width:before { content: "\e051"; }
92
- .glyphicon-align-left:before { content: "\e052"; }
93
- .glyphicon-align-center:before { content: "\e053"; }
94
- .glyphicon-align-right:before { content: "\e054"; }
95
- .glyphicon-align-justify:before { content: "\e055"; }
96
- .glyphicon-list:before { content: "\e056"; }
97
- .glyphicon-indent-left:before { content: "\e057"; }
98
- .glyphicon-indent-right:before { content: "\e058"; }
99
- .glyphicon-facetime-video:before { content: "\e059"; }
100
- .glyphicon-picture:before { content: "\e060"; }
101
- .glyphicon-pencil:before { content: "\270f"; }
102
- .glyphicon-map-marker:before { content: "\e062"; }
103
- .glyphicon-adjust:before { content: "\e063"; }
104
- .glyphicon-tint:before { content: "\e064"; }
105
- .glyphicon-edit:before { content: "\e065"; }
106
- .glyphicon-share:before { content: "\e066"; }
107
- .glyphicon-check:before { content: "\e067"; }
108
- .glyphicon-move:before { content: "\e068"; }
109
- .glyphicon-step-backward:before { content: "\e069"; }
110
- .glyphicon-fast-backward:before { content: "\e070"; }
111
- .glyphicon-backward:before { content: "\e071"; }
112
- .glyphicon-play:before { content: "\e072"; }
113
- .glyphicon-pause:before { content: "\e073"; }
114
- .glyphicon-stop:before { content: "\e074"; }
115
- .glyphicon-forward:before { content: "\e075"; }
116
- .glyphicon-fast-forward:before { content: "\e076"; }
117
- .glyphicon-step-forward:before { content: "\e077"; }
118
- .glyphicon-eject:before { content: "\e078"; }
119
- .glyphicon-chevron-left:before { content: "\e079"; }
120
- .glyphicon-chevron-right:before { content: "\e080"; }
121
- .glyphicon-plus-sign:before { content: "\e081"; }
122
- .glyphicon-minus-sign:before { content: "\e082"; }
123
- .glyphicon-remove-sign:before { content: "\e083"; }
124
- .glyphicon-ok-sign:before { content: "\e084"; }
125
- .glyphicon-question-sign:before { content: "\e085"; }
126
- .glyphicon-info-sign:before { content: "\e086"; }
127
- .glyphicon-screenshot:before { content: "\e087"; }
128
- .glyphicon-remove-circle:before { content: "\e088"; }
129
- .glyphicon-ok-circle:before { content: "\e089"; }
130
- .glyphicon-ban-circle:before { content: "\e090"; }
131
- .glyphicon-arrow-left:before { content: "\e091"; }
132
- .glyphicon-arrow-right:before { content: "\e092"; }
133
- .glyphicon-arrow-up:before { content: "\e093"; }
134
- .glyphicon-arrow-down:before { content: "\e094"; }
135
- .glyphicon-share-alt:before { content: "\e095"; }
136
- .glyphicon-resize-full:before { content: "\e096"; }
137
- .glyphicon-resize-small:before { content: "\e097"; }
138
- .glyphicon-plus:before { content: "\002b"; }
139
- .glyphicon-minus:before { content: "\2212"; }
140
- .glyphicon-asterisk:before { content: "\002a"; }
141
- .glyphicon-exclamation-sign:before { content: "\e101"; }
142
- .glyphicon-gift:before { content: "\e102"; }
143
- .glyphicon-leaf:before { content: "\e103"; }
144
- .glyphicon-fire:before { content: "\e104"; }
145
- .glyphicon-eye-open:before { content: "\e105"; }
146
- .glyphicon-eye-close:before { content: "\e106"; }
147
- .glyphicon-warning-sign:before { content: "\e107"; }
148
- .glyphicon-plane:before { content: "\e108"; }
149
- .glyphicon-calendar:before { content: "\e109"; }
150
- .glyphicon-random:before { content: "\e110"; }
151
- .glyphicon-comment:before { content: "\e111"; }
152
- .glyphicon-magnet:before { content: "\e112"; }
153
- .glyphicon-chevron-up:before { content: "\e113"; }
154
- .glyphicon-chevron-down:before { content: "\e114"; }
155
- .glyphicon-retweet:before { content: "\e115"; }
156
- .glyphicon-shopping-cart:before { content: "\e116"; }
157
- .glyphicon-folder-close:before { content: "\e117"; }
158
- .glyphicon-folder-open:before { content: "\e118"; }
159
- .glyphicon-resize-vertical:before { content: "\e119"; }
160
- .glyphicon-resize-horizontal:before { content: "\e120"; }
161
- .glyphicon-hdd:before { content: "\e121"; }
162
- .glyphicon-bullhorn:before { content: "\e122"; }
163
- .glyphicon-bell:before { content: "\e123"; }
164
- .glyphicon-certificate:before { content: "\e124"; }
165
- .glyphicon-thumbs-up:before { content: "\e125"; }
166
- .glyphicon-thumbs-down:before { content: "\e126"; }
167
- .glyphicon-hand-right:before { content: "\e127"; }
168
- .glyphicon-hand-left:before { content: "\e128"; }
169
- .glyphicon-hand-up:before { content: "\e129"; }
170
- .glyphicon-hand-down:before { content: "\e130"; }
171
- .glyphicon-circle-arrow-right:before { content: "\e131"; }
172
- .glyphicon-circle-arrow-left:before { content: "\e132"; }
173
- .glyphicon-circle-arrow-up:before { content: "\e133"; }
174
- .glyphicon-circle-arrow-down:before { content: "\e134"; }
175
- .glyphicon-globe:before { content: "\e135"; }
176
- .glyphicon-wrench:before { content: "\e136"; }
177
- .glyphicon-tasks:before { content: "\e137"; }
178
- .glyphicon-filter:before { content: "\e138"; }
179
- .glyphicon-briefcase:before { content: "\e139"; }
180
- .glyphicon-fullscreen:before { content: "\e140"; }
181
- .glyphicon-dashboard:before { content: "\e141"; }
182
- .glyphicon-paperclip:before { content: "\e142"; }
183
- .glyphicon-heart-empty:before { content: "\e143"; }
184
- .glyphicon-link:before { content: "\e144"; }
185
- .glyphicon-phone:before { content: "\e145"; }
186
- .glyphicon-pushpin:before { content: "\e146"; }
187
- .glyphicon-euro:before { content: "\20ac"; }
188
- .glyphicon-usd:before { content: "\e148"; }
189
- .glyphicon-gbp:before { content: "\e149"; }
190
- .glyphicon-sort:before { content: "\e150"; }
191
- .glyphicon-sort-by-alphabet:before { content: "\e151"; }
192
- .glyphicon-sort-by-alphabet-alt:before { content: "\e152"; }
193
- .glyphicon-sort-by-order:before { content: "\e153"; }
194
- .glyphicon-sort-by-order-alt:before { content: "\e154"; }
195
- .glyphicon-sort-by-attributes:before { content: "\e155"; }
196
- .glyphicon-sort-by-attributes-alt:before { content: "\e156"; }
197
- .glyphicon-unchecked:before { content: "\e157"; }
198
- .glyphicon-expand:before { content: "\e158"; }
199
- .glyphicon-collapse:before { content: "\e159"; }
200
- .glyphicon-collapse-top:before { content: "\e160"; }