caseadilla 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17beffa319a984ab669509c525fa49932dfc0310
4
- data.tar.gz: 31fec1b2cb96e5ac2abbeb5635a10f44810d1c44
3
+ metadata.gz: c48623f5e7e79c4b923b12eb91e1095c3851f3af
4
+ data.tar.gz: fb1c957602e8e67f40e6e7d90a341883e8e5e3bd
5
5
  SHA512:
6
- metadata.gz: 2e3d7913a667bafbc958a2ea177a4b0fd4819d0c71c11ee16b56bcd09f11898ec4613cb6b52678f2932c11de6a93c585578e4a660e47446ff021103919ba6e9f
7
- data.tar.gz: be4243a436feed4311df03f84c1bdd5ccdbb2f9ac64c7cba213a05111514e29e1cc1c8de88df7e25812e3acf8e8c530dbb29982ae95a5243b4baad5ae9277805
6
+ metadata.gz: 7ea31aa4da299bf4fdbeb44ddee077b0b510f3dca717e1d9cda39b357c0987a5611f6519c819b25142d2863920bd59795e6411b1cbd807185feadf84ba885c32
7
+ data.tar.gz: 7f7c79861c19cba634f9adefa3f8e1f1793b672ce0c448820501808b4a2b972f79d79f3787cae847d44bc6b85bf473b5cef2d770c17be05207e1cc7d741bb5b9
@@ -33,6 +33,7 @@ div.navbar.navbar-static-top.navbar-default.caseadilla-nav button.navbar-toggle
33
33
  div.navbar.navbar-static-top.navbar-default.caseadilla-nav > div.navbar-offcanvas.offcanvas.navbar-inverse {
34
34
  background-color: #222;
35
35
  border-color: #080808;
36
+ max-width: 160px;
36
37
  li.divider {
37
38
  border-bottom: 1px solid #333;
38
39
  width: 100%;
@@ -1,12 +1,10 @@
1
1
  <br />
2
2
  <br />
3
- <div class="container">
4
- <div class="jumbotron" style="text-align: center;">
5
- <h1>Welcome to Caseadilla</h1>
6
- <br />
7
- <p>You&rsquo;re ready to begin scaffolding and customizing!</p>
8
- <p><small style="font-size: 0.7em;">To remove this screen, set <code>caseadilla_config_dashboard_url</code></small></p>
9
- <br />
10
- <p><a href="https://github.com/zeiv/caseadilla/blob/master/README.rdoc" class="btn btn-primary btn-large">View README on GitHub</a></p>
11
- </div>
12
- </div>
3
+ <div class="jumbotron" style="text-align: center;">
4
+ <h1>Welcome to Caseadilla</h1>
5
+ <br />
6
+ <p>You&rsquo;re ready to begin scaffolding and customizing!</p>
7
+ <p><small style="font-size: 0.7em;">To remove this screen, set <code>caseadilla_config_dashboard_url</code></small></p>
8
+ <br />
9
+ <p><a href="https://github.com/zeiv/caseadilla/blob/master/README.rdoc" class="btn btn-primary btn-large">View README on GitHub</a></p>
10
+ </div>
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
  <div class="row">
5
- <div class="col-md-6">
5
+ <div class="col-sm-6">
6
6
  <%= caseadilla_text_field f, f.object, :title %>
7
7
  </div>
8
- <div class="col-md-6">
8
+ <div class="col-sm-6">
9
9
 
10
10
  </div>
11
11
  </div>
@@ -3,19 +3,19 @@
3
3
  <%= form_for @caseadilla_user, url: caseadilla_users_path do |form| %>
4
4
 
5
5
  <div class="row">
6
- <div class="col-md-6">
6
+ <div class="col-sm-6">
7
7
  <%= caseadilla_text_field form, @caseadilla_user, :first_name %>
8
8
  </div>
9
- <div class="col-md-6">
9
+ <div class="col-sm-6">
10
10
  <%= caseadilla_text_field form, @caseadilla_user, :last_name %>
11
11
  </div>
12
12
  </div>
13
13
 
14
14
  <div class="row">
15
- <div class="col-md-6">
15
+ <div class="col-sm-6">
16
16
  <%= caseadilla_text_field form, @caseadilla_user, :email %>
17
17
  </div>
18
- <div class="col-md-6">
18
+ <div class="col-sm-6">
19
19
  <%= caseadilla_time_zone_select form, @caseadilla_user, :time_zone, ActiveSupport::TimeZone.us_zones %>
20
20
  </div>
21
21
  </div>
@@ -23,13 +23,13 @@
23
23
  <!-- TODO: User roles -->
24
24
 
25
25
  <div class="row">
26
- <div class="col-md-6">
26
+ <div class="col-sm-6">
27
27
  <%= caseadilla_password_field form, @caseadilla_user, :password, {:caseadilla_label => "Password"} %>
28
28
  </div>
29
- <div class="col-md-6">
29
+ <div class="col-sm-6">
30
30
  <%= caseadilla_password_field form, @caseadilla_user, :password_confirmation, {:caseadilla_label => "Repeat password"} %>
31
31
  </div>
32
- <div class="col-md-12 password-checkbox">
32
+ <div class="col-sm-12 password-checkbox">
33
33
  <div class="checkbox">
34
34
  <label>
35
35
  <%= check_box_tag :generate_random_password, "1", false, {:id => 'generate-random-password-checkbox'} %> Generate random password
@@ -3,25 +3,25 @@
3
3
  <%= simple_form_for @caseadilla_user, as: resource_name, url: caseadilla_user_path(@caseadilla_user), html:{ method: :put } do |f| %>
4
4
 
5
5
  <div class="row">
6
- <div class="col-md-6">
6
+ <div class="col-sm-6">
7
7
  <%= caseadilla_text_field f, f.object, :first_name, {value: @caseadilla_user.first_name, caseadilla_label: "First name"} %>
8
8
  </div>
9
- <div class="col-md-6">
9
+ <div class="col-sm-6">
10
10
  <%= caseadilla_text_field f, f.object, :last_name, {value: @caseadilla_user.last_name, caseadilla_label: "Last name"} %>
11
11
  </div>
12
12
  </div>
13
13
 
14
14
  <div class="row">
15
- <div class="col-md-6">
15
+ <div class="col-sm-6">
16
16
  <%= caseadilla_text_field f, f.object, :email, {value: @caseadilla_user.email} %>
17
17
  </div>
18
- <div class="col-md-6">
18
+ <div class="col-sm-6">
19
19
  <%= caseadilla_time_zone_select f, f.object, :time_zone, ActiveSupport::TimeZone.us_zones, {selected: @caseadilla_user.time_zone} %>
20
20
  </div>
21
21
  </div>
22
22
 
23
23
  <div class="row">
24
- <div class="col-md-6">
24
+ <div class="col-sm-6">
25
25
  <%= caseadilla_collection_select f, f.object, :role_id, Role.all, :id, :title, {selected: @caseadilla_user.role_id} %>
26
26
  </div>
27
27
  </div>
@@ -31,7 +31,7 @@
31
31
  <body>
32
32
  <div class="navbar navbar-static-top navbar-default caseadilla-nav" role="navigation">
33
33
  <% if current_user != nil %>
34
- <div class="container hidden-sm hidden-xs">
34
+ <div class="container hidden-xs">
35
35
  <div id="user-info">
36
36
  <ul>
37
37
  <li>Hello <%= link_to current_user.first_name, caseadilla_user_path(current_user) %></li>
@@ -60,15 +60,17 @@
60
60
  </button>
61
61
  </div>
62
62
 
63
- <div class="container hidden-sm hidden-xs">
63
+ <div class="container hidden-xs">
64
64
  <ul class="nav navbar-nav">
65
65
  <%= render :partial => '/caseadilla/layouts/tab_navigation' %>
66
66
  </ul>
67
67
  </div>
68
68
 
69
69
  <div class='navbar-offcanvas offcanvas navbar-inverse'>
70
- <div class="container hidden-md hidden-lg">
70
+ <div class="container hidden-sm hidden-md hidden-lg">
71
71
  <ul class="nav navbar-nav">
72
+ <li><%= link_to 'Home', caseadilla_root_path %></li>
73
+ <li class="divider"></li>
72
74
  <%= render :partial => '/caseadilla/layouts/tab_navigation' %>
73
75
  <li class="divider"></li>
74
76
  <% if current_user != nil %>
@@ -1,3 +1,3 @@
1
1
  module Caseadilla
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -2,10 +2,10 @@
2
2
  <% attribute_itr = 0 %>
3
3
  <% while attribute_itr < attributes.count %>
4
4
  <div class="row">
5
- <div class="col-md-6">
5
+ <div class="col-sm-6">
6
6
  <%%= caseadilla_<%= field_type(attributes[attribute_itr].type).to_s %> f, f.object, :<%= attributes[attribute_itr].name %><%= ", {:readonly => true}" if @read_only %> %>
7
7
  </div><% attribute_itr += 1 %>
8
- <div class="col-md-6">
8
+ <div class="col-sm-6">
9
9
  <% if attribute_itr < attributes.count %><%%= caseadilla_<%= field_type(attributes[attribute_itr].type).to_s %> f, f.object, :<%= attributes[attribute_itr].name %><%= ", {:readonly => true}" if @read_only %> %><% end %>
10
10
  </div><% attribute_itr += 1 %>
11
11
  </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caseadilla
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xavier Bick