web-app-theme-rails 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +21 -0
- data/README.rdoc +86 -0
- data/lib/generators/web_app_theme.rb +105 -0
- data/lib/generators/web_app_theme/controller/controller_generator.rb +21 -0
- data/lib/generators/web_app_theme/controller/templates/view.html.erb +2 -0
- data/lib/generators/web_app_theme/controller/templates/view.html.haml +2 -0
- data/lib/generators/web_app_theme/layout/USAGE +36 -0
- data/lib/generators/web_app_theme/layout/layout_generator.rb +76 -0
- data/lib/generators/web_app_theme/layout/templates/config/locales/de_de.yml +15 -0
- data/lib/generators/web_app_theme/layout/templates/config/locales/pt_br.yml +12 -0
- data/lib/generators/web_app_theme/layout/templates/images/avatar.png +0 -0
- data/lib/generators/web_app_theme/layout/templates/images/icons/application_edit.png +0 -0
- data/lib/generators/web_app_theme/layout/templates/images/icons/cross.png +0 -0
- data/lib/generators/web_app_theme/layout/templates/images/icons/key.png +0 -0
- data/lib/generators/web_app_theme/layout/templates/images/icons/tick.png +0 -0
- data/lib/generators/web_app_theme/layout/templates/javascripts/jquery-1.3.min.js +19 -0
- data/lib/generators/web_app_theme/layout/templates/javascripts/jquery.localscroll.js +104 -0
- data/lib/generators/web_app_theme/layout/templates/javascripts/jquery.scrollTo.js +150 -0
- data/lib/generators/web_app_theme/layout/templates/stylesheets/base.css +397 -0
- data/lib/generators/web_app_theme/layout/templates/stylesheets/themes/amro/style.css +357 -0
- data/lib/generators/web_app_theme/layout/templates/stylesheets/themes/bec-green/style.css +290 -0
- data/lib/generators/web_app_theme/layout/templates/stylesheets/themes/bec/style.css +301 -0
- data/lib/generators/web_app_theme/layout/templates/stylesheets/themes/blue/style.css +280 -0
- data/lib/generators/web_app_theme/layout/templates/stylesheets/themes/default/style.css +274 -0
- data/lib/generators/web_app_theme/layout/templates/stylesheets/themes/djime-cerulean/style.css +298 -0
- data/lib/generators/web_app_theme/layout/templates/stylesheets/themes/drastic-dark/style.css +373 -0
- data/lib/generators/web_app_theme/layout/templates/stylesheets/themes/kathleene/style.css +272 -0
- data/lib/generators/web_app_theme/layout/templates/stylesheets/themes/olive/style.css +338 -0
- data/lib/generators/web_app_theme/layout/templates/stylesheets/themes/orange/style.css +263 -0
- data/lib/generators/web_app_theme/layout/templates/stylesheets/themes/reidb-greenish/style.css +301 -0
- data/lib/generators/web_app_theme/layout/templates/stylesheets/themes/warehouse/style.css +391 -0
- data/lib/generators/web_app_theme/layout/templates/view_layout_administration.html.erb +47 -0
- data/lib/generators/web_app_theme/layout/templates/view_layout_administration.html.haml +32 -0
- data/lib/generators/web_app_theme/layout/templates/view_layout_sign.html.erb +17 -0
- data/lib/generators/web_app_theme/layout/templates/view_layout_sign.html.haml +12 -0
- data/lib/generators/web_app_theme/layout/templates/web_app_theme_override.css +1 -0
- data/lib/generators/web_app_theme/mailer/mailer_generator.rb +20 -0
- data/lib/generators/web_app_theme/mailer/templates/view.text.erb +3 -0
- data/lib/generators/web_app_theme/mailer/templates/view.text.haml +3 -0
- data/lib/generators/web_app_theme/scaffold/scaffold_generator.rb +57 -0
- data/lib/generators/web_app_theme/scaffold/templates/rails/_form.html.erb +23 -0
- data/lib/generators/web_app_theme/scaffold/templates/rails/edit.html.erb +6 -0
- data/lib/generators/web_app_theme/scaffold/templates/rails/index.html.erb +27 -0
- data/lib/generators/web_app_theme/scaffold/templates/rails/new.html.erb +5 -0
- data/lib/generators/web_app_theme/scaffold/templates/rails/show.html.erb +12 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_edit.html.erb +19 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_edit.html.haml +13 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_form.html.erb +13 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_form.html.haml +11 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_new.html.erb +18 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_new.html.haml +12 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_show.html.erb +25 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_show.html.haml +18 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_sidebar.html.erb +13 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_sidebar.html.haml +10 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_signin.html.erb +36 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_signin.html.haml +22 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_signup.html.erb +52 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_signup.html.haml +32 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_tables.html.erb +54 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_tables.html.haml +36 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_text.html.erb +18 -0
- data/lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_text.html.haml +15 -0
- data/lib/web-app-theme-rails.rb +2 -0
- data/spec/spec_helper.rb +9 -0
- data/spec/web-app-theme-rails_spec.rb +7 -0
- metadata +145 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
.block
|
|
2
|
+
%h3 Simple Block
|
|
3
|
+
.content
|
|
4
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
|
5
|
+
|
|
6
|
+
.block
|
|
7
|
+
%h3 Links
|
|
8
|
+
%ul.navigation
|
|
9
|
+
<li><a href="#">Link 1</a></li>
|
|
10
|
+
<li><a href="#">Link 2</a></li>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<h1><%= options[:app_name] %></h1>
|
|
2
|
+
<div class="block" id="block-login">
|
|
3
|
+
<h2>Login Box</h2>
|
|
4
|
+
<div class="content login">
|
|
5
|
+
<div class="flash">
|
|
6
|
+
<%% flash.each do |type, message| -%>
|
|
7
|
+
<div class="message <%%= type %>">
|
|
8
|
+
<p><%%= message %></p>
|
|
9
|
+
</div>
|
|
10
|
+
<%% end -%>
|
|
11
|
+
</div>
|
|
12
|
+
<%% form_tag({:action => :create}, :class => 'form login') do -%>
|
|
13
|
+
<div class="group wat-cf">
|
|
14
|
+
<div class="left">
|
|
15
|
+
<label class="label right">Login</label>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="right">
|
|
18
|
+
<%%= text_field_tag :login, @login, :class => 'text_field' %>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="group wat-cf">
|
|
22
|
+
<div class="left">
|
|
23
|
+
<label class="label right">Password</label>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="right">
|
|
26
|
+
<%%= password_field_tag :password, nil, :class => 'text_field' %>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="group navform wat-cf">
|
|
30
|
+
<div class="right">
|
|
31
|
+
<input type="submit" class="button" value="Sign in" />
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
<%% end -%>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<h1><%= options[:app_name] %></h1>
|
|
2
|
+
.block#block-login
|
|
3
|
+
<h2>Login Box</h2>
|
|
4
|
+
.content.login
|
|
5
|
+
.flash
|
|
6
|
+
= flash.each do |type, message|
|
|
7
|
+
.message{:class => type.to_s}
|
|
8
|
+
%p= message
|
|
9
|
+
- form_tag({:action => :create}, :class => 'form login') do
|
|
10
|
+
.group.wat-cf
|
|
11
|
+
.left
|
|
12
|
+
<label class="label right">Login</label>
|
|
13
|
+
.right
|
|
14
|
+
= text_field_tag :login, @login, :class => 'text_field'
|
|
15
|
+
.group.wat-cf
|
|
16
|
+
.left
|
|
17
|
+
<label class="label right">Password</label>
|
|
18
|
+
.right
|
|
19
|
+
= password_field_tag :password, nil, :class => 'text_field'
|
|
20
|
+
.group.navform.wat-cf
|
|
21
|
+
.right
|
|
22
|
+
<input type="submit" class="button" value="Sign in" />
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<h1><%= options[:app_name] %></h1>
|
|
2
|
+
<div class="block" id="block-signup">
|
|
3
|
+
<h2>Sign up</h2>
|
|
4
|
+
<div class="content">
|
|
5
|
+
<div class="flash">
|
|
6
|
+
<%% flash.each do |type, message| -%>
|
|
7
|
+
<div class="message <%%= type %>">
|
|
8
|
+
<p><%%= message %></p>
|
|
9
|
+
</div>
|
|
10
|
+
<%% end -%>
|
|
11
|
+
</div>
|
|
12
|
+
<%% form_for :<%= resource_name %>, :url => <%= controller_routing_path %>_path, :html => { :class => 'form' } do |f| -%>
|
|
13
|
+
<div class="group wat-cf">
|
|
14
|
+
<div class="left">
|
|
15
|
+
<label class="label">Login</label>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="right">
|
|
18
|
+
<%%= f.text_field :login, :class => 'text_field' %>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="group wat-cf">
|
|
22
|
+
<div class="left">
|
|
23
|
+
<label class="label">Email</label>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="right">
|
|
26
|
+
<%%= f.text_field :email, :class => 'text_field' %>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="group wat-cf">
|
|
30
|
+
<div class="left">
|
|
31
|
+
<label class="label">Password</label>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="right">
|
|
34
|
+
<%%= f.password_field :password, :class => 'text_field' %>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<div class="group">
|
|
39
|
+
<div class="left wat-cf">
|
|
40
|
+
<label class="label">Password</label>
|
|
41
|
+
</div>
|
|
42
|
+
<div class="right">
|
|
43
|
+
<%%= f.password_field :password_confirmation, :class => 'text_field' %>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
<div class="group navform">
|
|
48
|
+
<input type="submit" class="button" value="Sign up" />
|
|
49
|
+
</div>
|
|
50
|
+
<%% end -%>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<h1><%= options[:app_name] %></h1>
|
|
2
|
+
.block#block-signup
|
|
3
|
+
<h2>Sign up</h2>
|
|
4
|
+
.content
|
|
5
|
+
.flash
|
|
6
|
+
- flash.each do |type, message|
|
|
7
|
+
.message{:class => type.to_s}
|
|
8
|
+
%p= message
|
|
9
|
+
- form_for :<%= resource_name %>, :url => <%= controller_routing_path %>_path, :html => { :class => 'form' } do |f|
|
|
10
|
+
.group.wat-cf
|
|
11
|
+
.left
|
|
12
|
+
<label class="label">Login</label>
|
|
13
|
+
.right
|
|
14
|
+
= f.text_field :login, :class => 'text_field'
|
|
15
|
+
.group.wat-cf
|
|
16
|
+
.left
|
|
17
|
+
<label class="label">Email</label>
|
|
18
|
+
.right
|
|
19
|
+
= f.text_field :email, :class => 'text_field'
|
|
20
|
+
.group.wat-cf
|
|
21
|
+
.left
|
|
22
|
+
<label class="label">Password</label>
|
|
23
|
+
.right
|
|
24
|
+
= f.password_field :password, :class => 'text_field'
|
|
25
|
+
.group
|
|
26
|
+
.left.wat-cf
|
|
27
|
+
<label class="label">Password</label>
|
|
28
|
+
.right
|
|
29
|
+
= f.password_field :password_confirmation, :class => 'text_field'
|
|
30
|
+
|
|
31
|
+
.group.navform
|
|
32
|
+
<input type="submit" class="button" value="Sign up" />
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<div class="block">
|
|
2
|
+
<div class="secondary-navigation">
|
|
3
|
+
<ul class="wat-cf">
|
|
4
|
+
<li class="first active"><%%= link_to "#{t("web-app-theme.list", :default => "List")}", <%= controller_routing_path %>_path %></li>
|
|
5
|
+
<li><%%= link_to "#{t("web-app-theme.new", :default => "New")}", new_<%= singular_controller_routing_path %>_path %></li>
|
|
6
|
+
</ul>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="content">
|
|
9
|
+
<h2 class="title"><%%= t("web-app-theme.all", :default => "All") %> <%= plural_model_name %></h2>
|
|
10
|
+
<div class="inner">
|
|
11
|
+
<table class="table">
|
|
12
|
+
<tr>
|
|
13
|
+
<th class="first">ID</th>
|
|
14
|
+
<% unless columns.empty? -%>
|
|
15
|
+
<th>
|
|
16
|
+
<%%= t("activerecord.attributes.<%= singular_controller_routing_path %>.<%= columns.first.name %>", :default => t("activerecord.labels.<%= columns.first.name %>", :default => "<%= columns.first.name.capitalize %>")) %>
|
|
17
|
+
</th>
|
|
18
|
+
<% end -%>
|
|
19
|
+
<th><%%= t("web-app-theme.created_at", :default => "Created at") %></th>
|
|
20
|
+
<th class="last"> </th>
|
|
21
|
+
</tr>
|
|
22
|
+
<%% @<%= plural_resource_name %>.each do |<%= resource_name %>| -%>
|
|
23
|
+
<tr class="<%%= cycle("odd", "even") %>">
|
|
24
|
+
<td>
|
|
25
|
+
<%%= <%= resource_name %>.id %>
|
|
26
|
+
</td>
|
|
27
|
+
<% unless columns.empty? -%>
|
|
28
|
+
<td>
|
|
29
|
+
<%%= link_to <%= resource_name %>.<%= columns.first.name %>, <%= singular_controller_routing_path %>_path(<%= resource_name %>) %>
|
|
30
|
+
</td>
|
|
31
|
+
<% end -%>
|
|
32
|
+
<td>
|
|
33
|
+
<%%= <%= resource_name %>.created_at %>
|
|
34
|
+
</td>
|
|
35
|
+
<td class="last">
|
|
36
|
+
<%%= link_to "#{t("web-app-theme.show", :default => "Show")}", <%= singular_controller_routing_path %>_path(<%= resource_name %>) %> |
|
|
37
|
+
<%%= link_to "#{t("web-app-theme.edit", :default => "Edit")}", edit_<%= singular_controller_routing_path %>_path(<%= resource_name %>) %> |
|
|
38
|
+
<%%= link_to "#{t("web-app-theme.delete", :default => "Delete")}", <%= singular_controller_routing_path %>_path(<%= resource_name %>), :method => :delete, :confirm => "#{t("web-app-theme.confirm", :default => "Are you sure?")}" %>
|
|
39
|
+
</td>
|
|
40
|
+
</tr>
|
|
41
|
+
<%% end -%>
|
|
42
|
+
</table>
|
|
43
|
+
<div class="actions-bar wat-cf">
|
|
44
|
+
<div class="actions">
|
|
45
|
+
</div>
|
|
46
|
+
<% if options[:will_paginate] %>
|
|
47
|
+
<%%= will_paginate @<%= plural_resource_name %> %>
|
|
48
|
+
<% end %>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
<%% content_for :sidebar, render(:partial => 'sidebar') -%>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.block
|
|
2
|
+
.secondary-navigation
|
|
3
|
+
%ul.wat-cf
|
|
4
|
+
%li.first.active= link_to "#{t("web-app-theme.list", :default => "List")}", <%= controller_routing_path %>_path
|
|
5
|
+
%li= link_to "#{t("web-app-theme.new", :default => "New")}", new_<%= singular_controller_routing_path %>_path
|
|
6
|
+
.content
|
|
7
|
+
%h2.title #{ t("web-app-theme.all", :default => "All") } <%= plural_model_name %>
|
|
8
|
+
.inner
|
|
9
|
+
%table.table
|
|
10
|
+
%tr
|
|
11
|
+
%th.first ID
|
|
12
|
+
<% unless columns.empty? -%>
|
|
13
|
+
%th= t("activerecord.attributes.<%= singular_controller_routing_path %>.<%= columns.first.name %>", :default => t("activerecord.labels.<%= columns.first.name %>", :default => "<%= columns.first.name.capitalize %>"))
|
|
14
|
+
<% end -%>
|
|
15
|
+
%th= t("web-app-theme.created_at", :default => "Created at")
|
|
16
|
+
%th.last
|
|
17
|
+
- @<%= plural_resource_name %>.each do |<%= resource_name %>|
|
|
18
|
+
%tr{:class => cycle("odd", "even")}
|
|
19
|
+
%td= <%= resource_name %>.id
|
|
20
|
+
<% unless columns.empty? -%>
|
|
21
|
+
%td= link_to <%= resource_name %>.<%= columns.first.name %>, <%= singular_controller_routing_path %>_path(<%= resource_name %>)
|
|
22
|
+
<% end -%>
|
|
23
|
+
%td= <%= resource_name %>.created_at
|
|
24
|
+
%td.last
|
|
25
|
+
= link_to t("web-app-theme.show", :default => "Show"), <%= singular_controller_routing_path %>_path(<%= resource_name %>)
|
|
26
|
+
|
|
|
27
|
+
= link_to t("web-app-theme.edit", :default => "Edit"), edit_<%= singular_controller_routing_path %>_path(<%= resource_name %>)
|
|
28
|
+
|
|
|
29
|
+
= link_to t("web-app-theme.delete", :default => "Delete"), <%= singular_controller_routing_path %>_path(<%= resource_name %>), :method => :delete, :confirm => "#{t("web-app-theme.confirm", :default => "Are you sure?")}"
|
|
30
|
+
.actions-bar.wat-cf
|
|
31
|
+
.actions
|
|
32
|
+
<% if options[:will_paginate] -%>
|
|
33
|
+
= will_paginate @<%= plural_resource_name %>
|
|
34
|
+
<% end -%>
|
|
35
|
+
|
|
36
|
+
- content_for :sidebar, render(:partial => 'sidebar')
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<div class="block" id="block-text">
|
|
2
|
+
<div class="content">
|
|
3
|
+
<h2 class="title"><%= resource_name.capitalize %></h2>
|
|
4
|
+
<div class="inner">
|
|
5
|
+
<p class="first">
|
|
6
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. <span class="hightlight">Excepteur sint occaecat cupidatat non proident</span>, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
7
|
+
</p>
|
|
8
|
+
<p> <span class="small">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore</span></p>
|
|
9
|
+
<p> <span class="gray">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore</span></p>
|
|
10
|
+
<hr />
|
|
11
|
+
<p>
|
|
12
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. <span class="hightlight">Excepteur sint occaecat cupidatat non proident</span>, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
13
|
+
</p>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
<%% content_for :sidebar, render(:partial => 'sidebar') -%>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.block#block-text
|
|
2
|
+
.content
|
|
3
|
+
<h2 class="title"><%= resource_name.capitalize %></h2>
|
|
4
|
+
.inner
|
|
5
|
+
<p class="first">
|
|
6
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. <span class="hightlight">Excepteur sint occaecat cupidatat non proident</span>, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
7
|
+
</p>
|
|
8
|
+
<p> <span class="small">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore</span></p>
|
|
9
|
+
<p> <span class="gray">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore</span></p>
|
|
10
|
+
<hr />
|
|
11
|
+
<p>
|
|
12
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. <span class="hightlight">Excepteur sint occaecat cupidatat non proident</span>, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
- content_for :sidebar, render(:partial => 'sidebar')
|
data/spec/spec_helper.rb
ADDED
metadata
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: web-app-theme-rails
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
prerelease: false
|
|
5
|
+
segments:
|
|
6
|
+
- 0
|
|
7
|
+
- 1
|
|
8
|
+
- 0
|
|
9
|
+
version: 0.1.0
|
|
10
|
+
platform: ruby
|
|
11
|
+
authors:
|
|
12
|
+
- Thomas Volkmar Worm
|
|
13
|
+
autorequire:
|
|
14
|
+
bindir: bin
|
|
15
|
+
cert_chain: []
|
|
16
|
+
|
|
17
|
+
date: 2010-08-14 00:00:00 +02:00
|
|
18
|
+
default_executable:
|
|
19
|
+
dependencies:
|
|
20
|
+
- !ruby/object:Gem::Dependency
|
|
21
|
+
name: rspec
|
|
22
|
+
prerelease: false
|
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
24
|
+
none: false
|
|
25
|
+
requirements:
|
|
26
|
+
- - ">="
|
|
27
|
+
- !ruby/object:Gem::Version
|
|
28
|
+
segments:
|
|
29
|
+
- 1
|
|
30
|
+
- 2
|
|
31
|
+
- 9
|
|
32
|
+
version: 1.2.9
|
|
33
|
+
type: :development
|
|
34
|
+
version_requirements: *id001
|
|
35
|
+
description: A template generator for Rails 3 providing the nice templates from WebAppTheme with support for ERB and Haml
|
|
36
|
+
email: tvw@s4r.de
|
|
37
|
+
executables: []
|
|
38
|
+
|
|
39
|
+
extensions: []
|
|
40
|
+
|
|
41
|
+
extra_rdoc_files:
|
|
42
|
+
- LICENSE
|
|
43
|
+
- README.rdoc
|
|
44
|
+
files:
|
|
45
|
+
- lib/generators/web_app_theme.rb
|
|
46
|
+
- lib/generators/web_app_theme/controller/controller_generator.rb
|
|
47
|
+
- lib/generators/web_app_theme/controller/templates/view.html.erb
|
|
48
|
+
- lib/generators/web_app_theme/controller/templates/view.html.haml
|
|
49
|
+
- lib/generators/web_app_theme/layout/USAGE
|
|
50
|
+
- lib/generators/web_app_theme/layout/layout_generator.rb
|
|
51
|
+
- lib/generators/web_app_theme/layout/templates/config/locales/de_de.yml
|
|
52
|
+
- lib/generators/web_app_theme/layout/templates/config/locales/pt_br.yml
|
|
53
|
+
- lib/generators/web_app_theme/layout/templates/images/avatar.png
|
|
54
|
+
- lib/generators/web_app_theme/layout/templates/images/icons/application_edit.png
|
|
55
|
+
- lib/generators/web_app_theme/layout/templates/images/icons/cross.png
|
|
56
|
+
- lib/generators/web_app_theme/layout/templates/images/icons/key.png
|
|
57
|
+
- lib/generators/web_app_theme/layout/templates/images/icons/tick.png
|
|
58
|
+
- lib/generators/web_app_theme/layout/templates/javascripts/jquery-1.3.min.js
|
|
59
|
+
- lib/generators/web_app_theme/layout/templates/javascripts/jquery.localscroll.js
|
|
60
|
+
- lib/generators/web_app_theme/layout/templates/javascripts/jquery.scrollTo.js
|
|
61
|
+
- lib/generators/web_app_theme/layout/templates/stylesheets/base.css
|
|
62
|
+
- lib/generators/web_app_theme/layout/templates/stylesheets/themes/amro/style.css
|
|
63
|
+
- lib/generators/web_app_theme/layout/templates/stylesheets/themes/bec-green/style.css
|
|
64
|
+
- lib/generators/web_app_theme/layout/templates/stylesheets/themes/bec/style.css
|
|
65
|
+
- lib/generators/web_app_theme/layout/templates/stylesheets/themes/blue/style.css
|
|
66
|
+
- lib/generators/web_app_theme/layout/templates/stylesheets/themes/default/style.css
|
|
67
|
+
- lib/generators/web_app_theme/layout/templates/stylesheets/themes/djime-cerulean/style.css
|
|
68
|
+
- lib/generators/web_app_theme/layout/templates/stylesheets/themes/drastic-dark/style.css
|
|
69
|
+
- lib/generators/web_app_theme/layout/templates/stylesheets/themes/kathleene/style.css
|
|
70
|
+
- lib/generators/web_app_theme/layout/templates/stylesheets/themes/olive/style.css
|
|
71
|
+
- lib/generators/web_app_theme/layout/templates/stylesheets/themes/orange/style.css
|
|
72
|
+
- lib/generators/web_app_theme/layout/templates/stylesheets/themes/reidb-greenish/style.css
|
|
73
|
+
- lib/generators/web_app_theme/layout/templates/stylesheets/themes/warehouse/style.css
|
|
74
|
+
- lib/generators/web_app_theme/layout/templates/view_layout_administration.html.erb
|
|
75
|
+
- lib/generators/web_app_theme/layout/templates/view_layout_administration.html.haml
|
|
76
|
+
- lib/generators/web_app_theme/layout/templates/view_layout_sign.html.erb
|
|
77
|
+
- lib/generators/web_app_theme/layout/templates/view_layout_sign.html.haml
|
|
78
|
+
- lib/generators/web_app_theme/layout/templates/web_app_theme_override.css
|
|
79
|
+
- lib/generators/web_app_theme/mailer/mailer_generator.rb
|
|
80
|
+
- lib/generators/web_app_theme/mailer/templates/view.text.erb
|
|
81
|
+
- lib/generators/web_app_theme/mailer/templates/view.text.haml
|
|
82
|
+
- lib/generators/web_app_theme/scaffold/scaffold_generator.rb
|
|
83
|
+
- lib/generators/web_app_theme/scaffold/templates/rails/_form.html.erb
|
|
84
|
+
- lib/generators/web_app_theme/scaffold/templates/rails/edit.html.erb
|
|
85
|
+
- lib/generators/web_app_theme/scaffold/templates/rails/index.html.erb
|
|
86
|
+
- lib/generators/web_app_theme/scaffold/templates/rails/new.html.erb
|
|
87
|
+
- lib/generators/web_app_theme/scaffold/templates/rails/show.html.erb
|
|
88
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_edit.html.erb
|
|
89
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_edit.html.haml
|
|
90
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_form.html.erb
|
|
91
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_form.html.haml
|
|
92
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_new.html.erb
|
|
93
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_new.html.haml
|
|
94
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_show.html.erb
|
|
95
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_show.html.haml
|
|
96
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_sidebar.html.erb
|
|
97
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_sidebar.html.haml
|
|
98
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_signin.html.erb
|
|
99
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_signin.html.haml
|
|
100
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_signup.html.erb
|
|
101
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_signup.html.haml
|
|
102
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_tables.html.erb
|
|
103
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_tables.html.haml
|
|
104
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_text.html.erb
|
|
105
|
+
- lib/generators/web_app_theme/scaffold/templates/web_app_theme/view_text.html.haml
|
|
106
|
+
- lib/web-app-theme-rails.rb
|
|
107
|
+
- LICENSE
|
|
108
|
+
- README.rdoc
|
|
109
|
+
- spec/spec_helper.rb
|
|
110
|
+
- spec/web-app-theme-rails_spec.rb
|
|
111
|
+
has_rdoc: true
|
|
112
|
+
homepage: http://github.com/tvw/web-app-theme-rails
|
|
113
|
+
licenses: []
|
|
114
|
+
|
|
115
|
+
post_install_message:
|
|
116
|
+
rdoc_options:
|
|
117
|
+
- --charset=UTF-8
|
|
118
|
+
require_paths:
|
|
119
|
+
- lib
|
|
120
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
121
|
+
none: false
|
|
122
|
+
requirements:
|
|
123
|
+
- - ">="
|
|
124
|
+
- !ruby/object:Gem::Version
|
|
125
|
+
segments:
|
|
126
|
+
- 0
|
|
127
|
+
version: "0"
|
|
128
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
|
+
none: false
|
|
130
|
+
requirements:
|
|
131
|
+
- - ">="
|
|
132
|
+
- !ruby/object:Gem::Version
|
|
133
|
+
segments:
|
|
134
|
+
- 0
|
|
135
|
+
version: "0"
|
|
136
|
+
requirements: []
|
|
137
|
+
|
|
138
|
+
rubyforge_project:
|
|
139
|
+
rubygems_version: 1.3.7
|
|
140
|
+
signing_key:
|
|
141
|
+
specification_version: 3
|
|
142
|
+
summary: web-app-theme rails3 generator
|
|
143
|
+
test_files:
|
|
144
|
+
- spec/spec_helper.rb
|
|
145
|
+
- spec/web-app-theme-rails_spec.rb
|