thesilverspoon 0.0.25 → 0.0.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,8 +30,7 @@
30
30
  </ul>
31
31
 
32
32
  <% if !user_signed_in? %>
33
- <%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:class =>
34
- "pull-right navbar-form"}) do |f| %>
33
+ <%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:class =>"pull-right navbar-form"}) do |f| %>
35
34
  <%= f.email_field :email, :class=>"input-small", :placeholder=>"Email" %>
36
35
  <%= f.password_field :password, :class=>"input-small", :placeholder=>"Password" %>
37
36
  <%= f.submit "Sign In", :class=>"primary btn" %>
@@ -2,76 +2,75 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>BrandName</title>
5
- <%%= stylesheet_link_tag "application" %>
6
- <%%= javascript_include_tag "application" %>
7
- <%%= csrf_meta_tags %>
5
+ <%= stylesheet_link_tag "application" %>
6
+ <%= javascript_include_tag "application" %>
7
+ <%= csrf_meta_tags %>
8
8
  <script type="text/javascript">
9
9
  $(function() {
10
- $(".edit_link").click(function(){
11
- $.get("<%%=params[:controller]%>"+"/"+$(this).attr("id")+"/edit",function(data){
10
+ $(".edit_link").click(function() {
11
+ $.get("<%=params[:controller]%>" + "/" + $(this).attr("id") + "/edit", function(data) {
12
12
 
13
13
  $("#edit_form .modal-body").html(data);
14
- $("#edit_form").modal('toggle');
14
+ $("#edit_form").modal('toggle');
15
15
  });
16
- }) ;
16
+ });
17
17
  });
18
18
  </script>
19
- <%%= yield(:head) %>
19
+ <%= yield(:head) %>
20
20
  </head>
21
21
  <body>
22
22
  <div id="wrapper">
23
- <div class="topbar" style="z-index: 999999999">
24
- <div class="fill">
23
+ <div class="navbar navbar-fixed-top" style="z-index: 999999999">
24
+ <div class="navbar-inner" style="z-index: 999999999">
25
25
  <div class="container">
26
26
  <a class="brand" href="/">BrandName</a>
27
27
  <ul class="nav">
28
- <!--<li><a href="#about" style="color:white;">About</a></li>-->
28
+ <li><a href="#about" style="color:white;">About</a></li>
29
29
  <!--<li><a href="#contact" style="color:white;">Contact</a></li>-->
30
30
  </ul>
31
31
 
32
- <%% if !user_signed_in? %>
33
- <%%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:class =>
34
- "pull-right"}) do |f| %>
35
- <%%= f.email_field :email, :class=>"input-small", :placeholder=>"Email" %>
36
- <%%= f.password_field :password, :class=>"input-small", :placeholder=>"Password" %>
37
- <%%= f.submit "Sign In", :class=>"primary btn" %>
38
- <%% end %>
39
- <%% else %>
40
- <div class="pull-right" style="margin-top: 10px;color:white;">
41
- <%%= current_user.username %>
32
+ <% if !user_signed_in? %>
33
+ <%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:class =>"pull-right navbar-form"}) do |f| %>
34
+ <%= f.email_field :email, :class=>"input-small", :placeholder=>"Email" %>
35
+ <%= f.password_field :password, :class=>"input-small", :placeholder=>"Password" %>
36
+ <%= f.submit "Sign In", :class=>"primary btn" %>
37
+ <% end %>
38
+ <% else %>
39
+ <div class="pull-right" style="margin-top: 10px;color:white;">
40
+ <%= current_user.email %>
42
41
  <span class="nav_link">
43
- | <%%= link_to "Sign out", destroy_user_session_path, :method => :delete, :style=>"color:white;" %>
42
+ | <%= link_to "Sign out", destroy_user_session_path, :method => :delete, :style=>"color:white;" %>
44
43
  </span>
45
- </div>
46
- <%% end %>
44
+ </div>
45
+ <% end %>
47
46
  </div>
48
47
  </div>
49
48
  </div>
50
49
  <div class="container">
51
50
 
52
51
  <div class="page-header" style="height:100px"></div>
53
- <div style="position:absolute;margin-top: -60px;" class="span16">
54
- <h2> <%%= yield(:page_header) %></h2>
52
+ <div style="position:absolute;margin-top: -60px;" class="span12">
53
+ <h2> <%= yield(:page_header) %></h2>
55
54
  </div>
56
55
  </div>
57
56
  <div class="container">
58
57
 
59
58
  <div class="content">
60
- <%%= js extend_gritter :position => :bottom_right %>
61
- <%%= js add_gritter(flash[:notice], :image => :success, :title => "Notice", :sticky => false, :time => 2000) %>
62
- <%%= js add_gritter(flash[:alert], :image => :warning, :title => "Alert!", :sticky => false, :time => 2000) %>
63
- <%%= yield %>
59
+ <%= js extend_gritter :position => :bottom_right %>
60
+ <%= js add_gritter(flash[:notice], :image => :success, :title => "Notice", :sticky => false, :time => 2000) %>
61
+ <%= js add_gritter(flash[:alert], :image => :warning, :title => "Alert!", :sticky => false, :time => 2000) %>
62
+ <%= yield %>
64
63
  </div>
65
64
 
66
- <%% if request.fullpath=="/" %>
65
+ <% if request.fullpath=="/" %>
67
66
 
68
-
69
67
 
70
- <%% end %>
68
+
69
+ <% end %>
71
70
  </div>
72
71
  </div>
73
72
 
74
- <%%= javascript_include_tag "/assets/exclusions/jquery.pageslide" %>
73
+ <%= javascript_include_tag "/assets/exclusions/jquery.pageslide" %>
75
74
 
76
75
 
77
76
  </body>
@@ -1,3 +1,3 @@
1
1
  module Thesilverspoon
2
- VERSION = "0.0.25"
2
+ VERSION = "0.0.26"
3
3
  end
@@ -1,3 +1,3 @@
1
1
  module Thesilverspoon
2
- VERSION = "0.0.24"
2
+ VERSION = "0.0.25"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thesilverspoon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
4
+ version: 0.0.26
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-02-11 00:00:00.000000000Z
12
+ date: 2012-02-12 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bootstrapped
16
- requirement: &78283780 !ruby/object:Gem::Requirement
16
+ requirement: &85801180 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *78283780
24
+ version_requirements: *85801180
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: gritter
27
- requirement: &78282930 !ruby/object:Gem::Requirement
27
+ requirement: &85800290 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *78282930
35
+ version_requirements: *85800290
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: spreadsheet
38
- requirement: &78282300 !ruby/object:Gem::Requirement
38
+ requirement: &85799600 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *78282300
46
+ version_requirements: *85799600
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: carrierwave
49
- requirement: &78281630 !ruby/object:Gem::Requirement
49
+ requirement: &85798920 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *78281630
57
+ version_requirements: *85798920
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: devise
60
- requirement: &78280770 !ruby/object:Gem::Requirement
60
+ requirement: &85797960 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *78280770
68
+ version_requirements: *85797960
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: cancan
71
- requirement: &78276660 !ruby/object:Gem::Requirement
71
+ requirement: &85794320 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *78276660
79
+ version_requirements: *85794320
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: nifty-generators
82
- requirement: &78276160 !ruby/object:Gem::Requirement
82
+ requirement: &85793790 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,7 +87,7 @@ dependencies:
87
87
  version: '0'
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *78276160
90
+ version_requirements: *85793790
91
91
  description: This gem preps a new Rails app with some of the best Rails gems and Jquery
92
92
  sweetness available( Twitter-Bootstrap, Devise, CanCan, Rails Admin, Spreadsheet,
93
93
  ) Not only does it takes care of the installation of these gems, it also extends