activoate 0.5.0 → 0.6.8
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/images/{activo-2 → activo}/arrow.png +0 -0
- data/app/assets/images/{activo-2 → activo}/avatar.png +0 -0
- data/app/assets/images/{activo-2 → activo}/bgd.jpg +0 -0
- data/app/assets/images/{activo-2 → activo}/boxbar-background.png +0 -0
- data/app/assets/images/{activo-2 → activo}/breadcrumb.png +0 -0
- data/app/assets/images/{activo-2 → activo}/button-background-active.png +0 -0
- data/app/assets/images/{activo-2 → activo}/button-background.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/24/about-this-folder.txt +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/24/anchor-hover.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/24/anchor.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/24/cross-hover.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/24/cross.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/24/download-hover.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/24/download.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/24/edit-hover.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/24/edit.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/24/export-hover.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/24/export.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/24/show-hover.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/24/show.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/about-this-folder.txt +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/add.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/application_edit.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/calendar-hover.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/calendar.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/cross.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/delete.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/download.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/edit.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/key.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/pdf.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/search.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/see-less.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/see-more.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/send-mail.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/show.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/tick.png +0 -0
- data/app/assets/images/{activo-2 → activo}/icons/upload.png +0 -0
- data/app/assets/images/{activo-2 → activo}/logo.png +0 -0
- data/app/assets/images/{activo-2 → activo}/messages/error.png +0 -0
- data/app/assets/images/{activo-2 → activo}/messages/notice.png +0 -0
- data/app/assets/images/{activo-2 → activo}/messages/warning.png +0 -0
- data/app/assets/images/{activo-2 → activo}/search-button.png +0 -0
- data/app/assets/images/{activo-2 → activo}/session/about-this-folder.txt +0 -0
- data/app/assets/images/{activo-2 → activo}/session/account.png +0 -0
- data/app/assets/images/{activo-2 → activo}/session/config.png +0 -0
- data/app/assets/images/{activo-2 → activo}/session/home.png +0 -0
- data/app/assets/images/{activo-2 → activo}/session/logout.png +0 -0
- data/app/assets/images/{activo-2 → activo}/tipsy/tipsy.gif +0 -0
- data/app/assets/images/{activo-2 → activo}/uniform/bg-input-focus.png +0 -0
- data/app/assets/images/{activo-2 → activo}/uniform/bg-input.png +0 -0
- data/app/assets/images/{activo-2 → activo}/uniform/sprite.png +0 -0
- data/app/assets/javascripts/{activo-2/activo-2.js → activo/activo.js} +0 -0
- data/app/assets/javascripts/{activo-2 → activo}/jquery.localscroll.js +0 -0
- data/app/assets/javascripts/{activo-2 → activo}/jquery.scrollTo.js +0 -0
- data/app/assets/javascripts/{activo-2 → activo}/jquery.tipsy.js +0 -0
- data/app/assets/javascripts/{activo-2 → activo}/jquery.uniform.min.js +0 -0
- data/app/assets/javascripts/activo.js.coffee +16 -0
- data/app/assets/stylesheets/{activo-2 → activo}/attrtastic_changes.sass +0 -0
- data/app/assets/stylesheets/{activo-2 → activo}/base.css +34 -14
- data/app/assets/stylesheets/{activo-2 → activo}/fonts/museo700-regular-webfont.eot +0 -0
- data/app/assets/stylesheets/{activo-2 → activo}/fonts/museo700-regular-webfont.svg +0 -0
- data/app/assets/stylesheets/{activo-2 → activo}/fonts/museo700-regular-webfont.ttf +0 -0
- data/app/assets/stylesheets/{activo-2 → activo}/fonts/museo700-regular-webfont.woff +0 -0
- data/app/assets/stylesheets/{activo-2 → activo}/fonts/museosans_500-webfont.eot +0 -0
- data/app/assets/stylesheets/{activo-2 → activo}/fonts/museosans_500-webfont.svg +0 -0
- data/app/assets/stylesheets/{activo-2 → activo}/fonts/museosans_500-webfont.ttf +0 -0
- data/app/assets/stylesheets/{activo-2 → activo}/fonts/museosans_500-webfont.woff +0 -0
- data/app/assets/stylesheets/{activo-2 → activo}/fonts/museosans_500_italic-webfont.eot +0 -0
- data/app/assets/stylesheets/{activo-2 → activo}/fonts/museosans_500_italic-webfont.svg +0 -0
- data/app/assets/stylesheets/{activo-2 → activo}/fonts/museosans_500_italic-webfont.ttf +0 -0
- data/app/assets/stylesheets/{activo-2 → activo}/fonts/museosans_500_italic-webfont.woff +0 -0
- data/app/assets/stylesheets/{activo-2 → activo}/fonts.sass +0 -0
- data/app/assets/stylesheets/{activo-2 → activo}/formtastic_changes.sass +0 -0
- data/app/assets/stylesheets/{activo-2 → activo}/libs/jquery.tipsy.css +1 -1
- data/app/assets/stylesheets/{activo-2 → activo}/libs/uniform.default.css +4 -4
- data/app/assets/stylesheets/{activo-2 → activo}/mixins.sass +0 -0
- data/app/assets/stylesheets/{activo-2 → activo}/style.sass +15 -19
- data/app/assets/stylesheets/{activo-2.css → activo.css} +3 -3
- data/app/helpers/activo_helper.rb +38 -6
- data/lib/activoate/engine.rb +38 -0
- data/lib/activoate/version.rb +1 -1
- data/lib/generators/activoate/{activated/activated_generator.rb → activoated/activoated_generator.rb} +7 -5
- data/lib/generators/activoate/activoated/templates/view_edit.html.erb +15 -0
- data/lib/generators/activoate/activoated/templates/view_form.html.erb +13 -0
- data/lib/generators/activoate/activoated/templates/view_form_formtastic.html.erb +12 -0
- data/lib/generators/activoate/activoated/templates/view_new.html.erb +16 -0
- data/lib/generators/activoate/activoated/templates/view_show.html.erb +26 -0
- data/lib/generators/activoate/activoated/templates/view_show_attrtastic.html.erb +27 -0
- data/lib/generators/activoate/{activated → activoated}/templates/view_sidebar.html.erb +0 -0
- data/lib/generators/activoate/{activated → activoated}/templates/view_signin.html.erb +0 -0
- data/lib/generators/activoate/{activated → activoated}/templates/view_signup.html.erb +0 -0
- data/lib/generators/activoate/activoated/templates/view_tables.html.erb +61 -0
- data/lib/generators/activoate/{activated → activoated}/templates/view_text.html.erb +0 -0
- data/lib/generators/activoate/install/install_generator.rb +4 -3
- data/lib/generators/activoate/install/templates/layout_admin.html.erb +9 -6
- metadata +94 -97
- data/app/assets/images/activo-2/.DS_Store +0 -0
- data/app/assets/javascripts/activo-2.js +0 -10
- data/app/assets/stylesheets/activo-2/.DS_Store +0 -0
- data/app/assets/stylesheets/activo-2/fonts/.DS_Store +0 -0
- data/lib/generators/activoate/activated/templates/view_edit.html.erb +0 -17
- data/lib/generators/activoate/activated/templates/view_form.html.erb +0 -16
- data/lib/generators/activoate/activated/templates/view_form_formtastic.html.erb +0 -18
- data/lib/generators/activoate/activated/templates/view_new.html.erb +0 -16
- data/lib/generators/activoate/activated/templates/view_show.html.erb +0 -26
- data/lib/generators/activoate/activated/templates/view_show_attrtastic.html.erb +0 -27
- data/lib/generators/activoate/activated/templates/view_tables.html.erb +0 -56
@@ -0,0 +1,15 @@
|
|
1
|
+
<div class="block">
|
2
|
+
<%%= secondary_navigation do |nav| %>
|
3
|
+
<%% nav.item t("activoated.list", :default => "List"), <%= controller_routing_path %>_path %>
|
4
|
+
<%% nav.item t("activoated.new", :default => "New"), new_<%= singular_controller_routing_path %>_path %>
|
5
|
+
<%% nav.item t("activoated.edit", :default => "Edit"), edit_<%= singular_controller_routing_path %>_path, :active => true %>
|
6
|
+
<%% end %>
|
7
|
+
<div class="content">
|
8
|
+
<h2 class="title"><%%= t("activoated.edit", :default => "Edit") %> <%= model_name %></h2>
|
9
|
+
<div class="inner">
|
10
|
+
<%%= render :partial => "form", :locals => { :url => <%= singular_controller_routing_path %>_path(@<%= resource_name %>) } %>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<%% content_for :sidebar, render(:partial => 'sidebar') -%>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<%%= form_for @<%= model_name.underscore %>, :url => url, :html => { :class => :form } do |f| -%>
|
2
|
+
<% columns.each do |column| %>
|
3
|
+
<div class="group">
|
4
|
+
<%%= f.label :<%= column.name %>, t("activerecord.attributes.<%= model_name.underscore %>.<%= column.name %>", :default => "<%= column.name.humanize %>"), :class => :label %>
|
5
|
+
<%%= f.<%= column.field_type %> :<%= column.name %>, :class => '<%= column.field_type %>' %>
|
6
|
+
<span class="description">Ex: a simple text</span>
|
7
|
+
</div>
|
8
|
+
<%- end -%>
|
9
|
+
<div class="group navform wat-cf">
|
10
|
+
<%%= submit_button t("activoated.save", :default => "Save"), 'tick' %>
|
11
|
+
<%%= cancel_button <%= controller_routing_path %>_path %>
|
12
|
+
</div>
|
13
|
+
<%% end -%>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<%%= semantic_form_for @<%= model_name.underscore %>, :url => url do |f| %>
|
2
|
+
<%%= f.inputs do %>
|
3
|
+
<% columns.each do |column| %>
|
4
|
+
<%%= f.input :<%= column.name %> %>
|
5
|
+
<%- end %>
|
6
|
+
<%% end %>
|
7
|
+
|
8
|
+
<div class="group navform wat-cf">
|
9
|
+
<%%= submit_button t("activoated.save", :default => "Save"), 'tick' %>
|
10
|
+
<%%= cancel_button <%= controller_routing_path %>_path %>
|
11
|
+
</div>
|
12
|
+
<%% end %>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<div class="block">
|
2
|
+
<div class="secondary-navigation">
|
3
|
+
<ul class="wat-cf">
|
4
|
+
<li class="first"><%%= link_to "#{t("activoated.list", :default => "List")}", <%= controller_routing_path %>_path %></li>
|
5
|
+
<li class="active"><%%= link_to "#{t("activoated.new", :default => "New")}", new_<%= singular_controller_routing_path %>_path %></li>
|
6
|
+
</ul>
|
7
|
+
</div>
|
8
|
+
<div class="content">
|
9
|
+
<h2 class="title"><%%= t("activoated.new", :default => "New")%> <%= model_name %></h2>
|
10
|
+
<div class="inner">
|
11
|
+
<%%= render :partial => "form", :locals => { :url => <%= controller_routing_path %>_path } %>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
<%% content_for :sidebar, render(:partial => 'sidebar') -%>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<div class="block">
|
2
|
+
<div class="secondary-navigation">
|
3
|
+
<ul class="wat-cf">
|
4
|
+
<li class="first"><%%= link_to "#{t("activoated.list", :default => "List")}", <%= controller_routing_path %>_path %></li>
|
5
|
+
<li><%%= link_to "#{t("activoated.new", :default => "New")}", new_<%= singular_controller_routing_path %>_path %></li>
|
6
|
+
<li class="active"><%%= link_to "#{t("activoated.show", :default => "Show")}", <%= singular_controller_routing_path %>_path %></li>
|
7
|
+
</ul>
|
8
|
+
</div>
|
9
|
+
<div class="content">
|
10
|
+
<h2 class="title"><%%= t("activoated.show", :default => "Show")%> <%= model_name %></h2>
|
11
|
+
<div class="inner">
|
12
|
+
<% columns.each do |column| %>
|
13
|
+
<p>
|
14
|
+
<b><%%= t("activerecord.attributes.<%= singular_controller_routing_path %>.<%= column.name %>", :default => t("activerecord.labels.<%= column.name %>", :default => "<%= column.name.humanize %>")) %>:</b>
|
15
|
+
<%%= @<%= resource_name %>.<%= column.name %> %>
|
16
|
+
</p>
|
17
|
+
<%- end -%>
|
18
|
+
<div class="wat-cf">
|
19
|
+
<%%= edit_button edit_<%= singular_controller_routing_path %>_path(@<%= resource_name %>) %>
|
20
|
+
<%%= delete_button <%= singular_controller_routing_path %>_path(@<%= resource_name %>) %>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
|
26
|
+
<%% content_for :sidebar, render(:partial => 'sidebar') -%>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<div class="block">
|
2
|
+
<div class="secondary-navigation">
|
3
|
+
<ul class="wat-cf">
|
4
|
+
<li class="first"><%%= link_to "#{t("activoated.list", :default => "List")}", <%= controller_routing_path %>_path %></li>
|
5
|
+
<li><%%= link_to "#{t("activoated.new", :default => "New")}", new_<%= singular_controller_routing_path %>_path %></li>
|
6
|
+
<li class="active"><%%= link_to "#{t("activoated.show", :default => "Show")}", <%= singular_controller_routing_path %>_path %></li>
|
7
|
+
</ul>
|
8
|
+
</div>
|
9
|
+
<div class="content">
|
10
|
+
<h2 class="title"><%%= t("activoated.show", :default => "Show")%> <%= model_name %></h2>
|
11
|
+
<div class="inner">
|
12
|
+
<%%= semantic_attributes_for @user do |attr| %>
|
13
|
+
<%%= attr.attributes do %>
|
14
|
+
<% columns.each do |column| %>
|
15
|
+
<%%= attr.attribute :<%= column.name %> %>
|
16
|
+
<%- end %>
|
17
|
+
<%% end %>
|
18
|
+
<%% end %>
|
19
|
+
<div class="wat-cf">
|
20
|
+
<%%= edit_button edit_<%= singular_controller_routing_path %>_path(@<%= resource_name %>) %>
|
21
|
+
<%%= delete_button <%= singular_controller_routing_path %>_path(@<%= resource_name %>) %>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<%% content_for :sidebar, render(:partial => 'sidebar') -%>
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,61 @@
|
|
1
|
+
<div class="block">
|
2
|
+
<%%= secondary_navigation do |nav| %>
|
3
|
+
<%% nav.item t("activoated.list", :default => "List"), <%= controller_routing_path %>_path, :active => true %>
|
4
|
+
<%% nav.item t("activoated.new", :default => "New"), new_<%= singular_controller_routing_path %>_path %>
|
5
|
+
<%% end %>
|
6
|
+
<div class="content">
|
7
|
+
<% if options.mass_destroy %>
|
8
|
+
<%%= controls do |c| %>
|
9
|
+
<%% c.item delete_button(users_path(@user), true) %>
|
10
|
+
<%% end %>
|
11
|
+
<%- end -%>
|
12
|
+
<h2 class="title"><%%= t("activoated.all", :default => "All") %> <%= plural_model_name %></h2>
|
13
|
+
<div class="inner">
|
14
|
+
<table class="table">
|
15
|
+
<tr>
|
16
|
+
<% if options.mass_destroy %>
|
17
|
+
<th class="first"><input type="checkbox" id="destroy-toggle" name="destroy-toggle" value="1" /></th>
|
18
|
+
<th>ID</th>
|
19
|
+
<% else %>
|
20
|
+
<th class="first">ID</th>
|
21
|
+
<%- end -%>
|
22
|
+
<% unless columns.empty? -%>
|
23
|
+
<th><%%= t("activerecord.attributes.<%= singular_controller_routing_path %>.<%= columns.first.name %>", :default => t("activerecord.labels.<%= columns.first.name %>", :default => "<%= columns.first.name.capitalize %>")) %></th>
|
24
|
+
<% end -%>
|
25
|
+
<th><%%= t("activoated.created_at", :default => "Created at") %></th>
|
26
|
+
<th class="last"> </th>
|
27
|
+
</tr>
|
28
|
+
<%% @<%= plural_resource_name %>.each do |<%= resource_name %>| -%>
|
29
|
+
<tr class="<%%= cycle("odd", "even") %>">
|
30
|
+
<% if options.mass_destroy %>
|
31
|
+
<td class="first"><input type="checkbox" id="destroy-<%= resource_name %>-<%%= <%= resource_name %>.id %>" name="destroy[]" value="<%%= <%= resource_name %>.id %>" /></td>
|
32
|
+
<td><%%= <%= resource_name %>.id %></td>
|
33
|
+
<% else %>
|
34
|
+
<td><%%= <%= resource_name %>.id %></td>
|
35
|
+
<%- end -%>
|
36
|
+
<% unless columns.empty? -%>
|
37
|
+
<td><%%= link_to <%= resource_name %>.<%= columns.first.name %>, <%= singular_controller_routing_path %>_path(<%= resource_name %>) %></td>
|
38
|
+
<% end -%>
|
39
|
+
<td><%%= <%= resource_name %>.created_at %></td>
|
40
|
+
<td class="last">
|
41
|
+
<%%= link_to "#{t("activoated.show", :default => "Show")}", <%= singular_controller_routing_path %>_path(<%= resource_name %>) %>
|
42
|
+
|
|
43
|
+
<%%= link_to "#{t("activoated.edit", :default => "Edit")}", edit_<%= singular_controller_routing_path %>_path(<%= resource_name %>) %>
|
44
|
+
|
|
45
|
+
<%%= link_to "#{t("activoated.delete", :default => "Delete")}", <%= singular_controller_routing_path %>_path(<%= resource_name %>), :method => :delete, :confirm => "#{t("activoated.confirm", :default => "Are you sure?")}" %>
|
46
|
+
</td>
|
47
|
+
</tr>
|
48
|
+
<%% end -%>
|
49
|
+
</table>
|
50
|
+
<div class="actions-bar wat-cf">
|
51
|
+
<div class="actions">
|
52
|
+
</div>
|
53
|
+
<% if options.will_paginate %>
|
54
|
+
<%%= will_paginate @<%= plural_resource_name %> %>
|
55
|
+
<% end %>
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
|
61
|
+
<%% content_for :sidebar, render(:partial => 'sidebar') -%>
|
File without changes
|
@@ -5,9 +5,10 @@ module Activoate
|
|
5
5
|
|
6
6
|
argument :layout_name, :type => :string, :default => 'activo'
|
7
7
|
|
8
|
-
class_option :app_name,
|
9
|
-
class_option :engine,
|
10
|
-
class_option :
|
8
|
+
class_option :app_name, :type => :string, :default => 'Web App', :desc => 'Specify the application name'
|
9
|
+
class_option :engine, :type => :string, :default => Activoate::Engine.config.engine, :desc => 'Specify the template engine'
|
10
|
+
class_option :formtastic, :type => :string, :default => Activoate::Engine.config.formtastic, :desc => 'Specify the template engine'
|
11
|
+
class_option :layout_type, :type => :string, :default => 'admin', :desc => 'Layout type, admin or sign'
|
11
12
|
|
12
13
|
def copy_layout
|
13
14
|
return if options.no_layout
|
@@ -2,8 +2,11 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title><%= options.app_name %></title>
|
5
|
-
<%%= stylesheet_link_tag "activo
|
6
|
-
|
5
|
+
<%%= stylesheet_link_tag "activo" %>
|
6
|
+
<% if options.formtastic == true %>
|
7
|
+
<%%= stylesheet_link_tag "formtastic" %>
|
8
|
+
<%- end -%>
|
9
|
+
<%%= javascript_include_tag "activo" %>
|
7
10
|
<%%= csrf_meta_tag %>
|
8
11
|
</head>
|
9
12
|
<body>
|
@@ -14,10 +17,10 @@
|
|
14
17
|
</a>
|
15
18
|
<div id="user-navigation">
|
16
19
|
<ul class="wat-cf">
|
17
|
-
<li><%%= link_to image_tag("activo
|
18
|
-
<li><%%= link_to image_tag("activo
|
19
|
-
<li><%%= link_to image_tag("activo
|
20
|
-
<li><%%= link_to image_tag("activo
|
20
|
+
<li><%%= link_to image_tag("activo/session/home.png", :alt => "Home", :title => "Home"), "#" %></li>
|
21
|
+
<li><%%= link_to image_tag("activo/session/account.png", :alt => "Profile", :title => "Profile"), "#" %></li>
|
22
|
+
<li><%%= link_to image_tag("activo/session/config.png", :alt => "Settings", :title => "Settings"), "#" %></li>
|
23
|
+
<li><%%= link_to image_tag("activo/session/logout.png", :alt => "Logout", :title => "Logout"), "#" %></li>
|
21
24
|
</ul>
|
22
25
|
</div>
|
23
26
|
<div id="main-navigation">
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activoate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-12-13 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70202012783000 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 3.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70202012783000
|
25
25
|
description: Helps to use Activo 2 theme on Rails 3 applications and provides handy
|
26
26
|
helpers and generators to use with formtastic/attrtastic
|
27
27
|
email:
|
@@ -38,91 +38,88 @@ files:
|
|
38
38
|
- app/.DS_Store
|
39
39
|
- app/assets/.DS_Store
|
40
40
|
- app/assets/images/.DS_Store
|
41
|
-
- app/assets/images/activo
|
42
|
-
- app/assets/images/activo
|
43
|
-
- app/assets/images/activo
|
44
|
-
- app/assets/images/activo-
|
45
|
-
- app/assets/images/activo
|
46
|
-
- app/assets/images/activo-
|
47
|
-
- app/assets/images/activo
|
48
|
-
- app/assets/images/activo
|
49
|
-
- app/assets/images/activo
|
50
|
-
- app/assets/images/activo
|
51
|
-
- app/assets/images/activo
|
52
|
-
- app/assets/images/activo
|
53
|
-
- app/assets/images/activo
|
54
|
-
- app/assets/images/activo
|
55
|
-
- app/assets/images/activo
|
56
|
-
- app/assets/images/activo
|
57
|
-
- app/assets/images/activo
|
58
|
-
- app/assets/images/activo
|
59
|
-
- app/assets/images/activo
|
60
|
-
- app/assets/images/activo
|
61
|
-
- app/assets/images/activo
|
62
|
-
- app/assets/images/activo
|
63
|
-
- app/assets/images/activo
|
64
|
-
- app/assets/images/activo
|
65
|
-
- app/assets/images/activo
|
66
|
-
- app/assets/images/activo
|
67
|
-
- app/assets/images/activo
|
68
|
-
- app/assets/images/activo
|
69
|
-
- app/assets/images/activo
|
70
|
-
- app/assets/images/activo
|
71
|
-
- app/assets/images/activo
|
72
|
-
- app/assets/images/activo
|
73
|
-
- app/assets/images/activo
|
74
|
-
- app/assets/images/activo
|
75
|
-
- app/assets/images/activo
|
76
|
-
- app/assets/images/activo
|
77
|
-
- app/assets/images/activo
|
78
|
-
- app/assets/images/activo
|
79
|
-
- app/assets/images/activo
|
80
|
-
- app/assets/images/activo
|
81
|
-
- app/assets/images/activo
|
82
|
-
- app/assets/images/activo
|
83
|
-
- app/assets/images/activo-
|
84
|
-
- app/assets/images/activo
|
85
|
-
- app/assets/images/activo
|
86
|
-
- app/assets/images/activo
|
87
|
-
- app/assets/images/activo
|
88
|
-
- app/assets/images/activo
|
89
|
-
- app/assets/images/activo
|
90
|
-
- app/assets/images/activo
|
91
|
-
- app/assets/images/activo
|
92
|
-
- app/assets/images/activo
|
93
|
-
- app/assets/images/activo-2/uniform/sprite.png
|
41
|
+
- app/assets/images/activo/arrow.png
|
42
|
+
- app/assets/images/activo/avatar.png
|
43
|
+
- app/assets/images/activo/bgd.jpg
|
44
|
+
- app/assets/images/activo/boxbar-background.png
|
45
|
+
- app/assets/images/activo/breadcrumb.png
|
46
|
+
- app/assets/images/activo/button-background-active.png
|
47
|
+
- app/assets/images/activo/button-background.png
|
48
|
+
- app/assets/images/activo/icons/24/about-this-folder.txt
|
49
|
+
- app/assets/images/activo/icons/24/anchor-hover.png
|
50
|
+
- app/assets/images/activo/icons/24/anchor.png
|
51
|
+
- app/assets/images/activo/icons/24/cross-hover.png
|
52
|
+
- app/assets/images/activo/icons/24/cross.png
|
53
|
+
- app/assets/images/activo/icons/24/download-hover.png
|
54
|
+
- app/assets/images/activo/icons/24/download.png
|
55
|
+
- app/assets/images/activo/icons/24/edit-hover.png
|
56
|
+
- app/assets/images/activo/icons/24/edit.png
|
57
|
+
- app/assets/images/activo/icons/24/export-hover.png
|
58
|
+
- app/assets/images/activo/icons/24/export.png
|
59
|
+
- app/assets/images/activo/icons/24/show-hover.png
|
60
|
+
- app/assets/images/activo/icons/24/show.png
|
61
|
+
- app/assets/images/activo/icons/about-this-folder.txt
|
62
|
+
- app/assets/images/activo/icons/add.png
|
63
|
+
- app/assets/images/activo/icons/application_edit.png
|
64
|
+
- app/assets/images/activo/icons/calendar-hover.png
|
65
|
+
- app/assets/images/activo/icons/calendar.png
|
66
|
+
- app/assets/images/activo/icons/cross.png
|
67
|
+
- app/assets/images/activo/icons/delete.png
|
68
|
+
- app/assets/images/activo/icons/download.png
|
69
|
+
- app/assets/images/activo/icons/edit.png
|
70
|
+
- app/assets/images/activo/icons/key.png
|
71
|
+
- app/assets/images/activo/icons/pdf.png
|
72
|
+
- app/assets/images/activo/icons/search.png
|
73
|
+
- app/assets/images/activo/icons/see-less.png
|
74
|
+
- app/assets/images/activo/icons/see-more.png
|
75
|
+
- app/assets/images/activo/icons/send-mail.png
|
76
|
+
- app/assets/images/activo/icons/show.png
|
77
|
+
- app/assets/images/activo/icons/tick.png
|
78
|
+
- app/assets/images/activo/icons/upload.png
|
79
|
+
- app/assets/images/activo/logo.png
|
80
|
+
- app/assets/images/activo/messages/error.png
|
81
|
+
- app/assets/images/activo/messages/notice.png
|
82
|
+
- app/assets/images/activo/messages/warning.png
|
83
|
+
- app/assets/images/activo/search-button.png
|
84
|
+
- app/assets/images/activo/session/about-this-folder.txt
|
85
|
+
- app/assets/images/activo/session/account.png
|
86
|
+
- app/assets/images/activo/session/config.png
|
87
|
+
- app/assets/images/activo/session/home.png
|
88
|
+
- app/assets/images/activo/session/logout.png
|
89
|
+
- app/assets/images/activo/tipsy/tipsy.gif
|
90
|
+
- app/assets/images/activo/uniform/bg-input-focus.png
|
91
|
+
- app/assets/images/activo/uniform/bg-input.png
|
92
|
+
- app/assets/images/activo/uniform/sprite.png
|
94
93
|
- app/assets/javascripts/.DS_Store
|
95
|
-
- app/assets/javascripts/activo
|
96
|
-
- app/assets/javascripts/activo
|
97
|
-
- app/assets/javascripts/activo
|
98
|
-
- app/assets/javascripts/activo
|
99
|
-
- app/assets/javascripts/activo
|
100
|
-
- app/assets/javascripts/activo
|
94
|
+
- app/assets/javascripts/activo.js.coffee
|
95
|
+
- app/assets/javascripts/activo/activo.js
|
96
|
+
- app/assets/javascripts/activo/jquery.localscroll.js
|
97
|
+
- app/assets/javascripts/activo/jquery.scrollTo.js
|
98
|
+
- app/assets/javascripts/activo/jquery.tipsy.js
|
99
|
+
- app/assets/javascripts/activo/jquery.uniform.min.js
|
101
100
|
- app/assets/javascripts/users.js.coffee
|
102
101
|
- app/assets/stylesheets/.DS_Store
|
103
|
-
- app/assets/stylesheets/activo
|
104
|
-
- app/assets/stylesheets/activo
|
105
|
-
- app/assets/stylesheets/activo
|
106
|
-
- app/assets/stylesheets/activo
|
107
|
-
- app/assets/stylesheets/activo
|
108
|
-
- app/assets/stylesheets/activo
|
109
|
-
- app/assets/stylesheets/activo
|
110
|
-
- app/assets/stylesheets/activo
|
111
|
-
- app/assets/stylesheets/activo
|
112
|
-
- app/assets/stylesheets/activo
|
113
|
-
- app/assets/stylesheets/activo
|
114
|
-
- app/assets/stylesheets/activo
|
115
|
-
- app/assets/stylesheets/activo
|
116
|
-
- app/assets/stylesheets/activo
|
117
|
-
- app/assets/stylesheets/activo
|
118
|
-
- app/assets/stylesheets/activo
|
119
|
-
- app/assets/stylesheets/activo
|
120
|
-
- app/assets/stylesheets/activo
|
121
|
-
- app/assets/stylesheets/activo
|
122
|
-
- app/assets/stylesheets/activo
|
123
|
-
- app/assets/stylesheets/activo
|
124
|
-
- app/assets/stylesheets/activo-2/mixins.sass
|
125
|
-
- app/assets/stylesheets/activo-2/style.sass
|
102
|
+
- app/assets/stylesheets/activo.css
|
103
|
+
- app/assets/stylesheets/activo/attrtastic_changes.sass
|
104
|
+
- app/assets/stylesheets/activo/base.css
|
105
|
+
- app/assets/stylesheets/activo/fonts.sass
|
106
|
+
- app/assets/stylesheets/activo/fonts/museo700-regular-webfont.eot
|
107
|
+
- app/assets/stylesheets/activo/fonts/museo700-regular-webfont.svg
|
108
|
+
- app/assets/stylesheets/activo/fonts/museo700-regular-webfont.ttf
|
109
|
+
- app/assets/stylesheets/activo/fonts/museo700-regular-webfont.woff
|
110
|
+
- app/assets/stylesheets/activo/fonts/museosans_500-webfont.eot
|
111
|
+
- app/assets/stylesheets/activo/fonts/museosans_500-webfont.svg
|
112
|
+
- app/assets/stylesheets/activo/fonts/museosans_500-webfont.ttf
|
113
|
+
- app/assets/stylesheets/activo/fonts/museosans_500-webfont.woff
|
114
|
+
- app/assets/stylesheets/activo/fonts/museosans_500_italic-webfont.eot
|
115
|
+
- app/assets/stylesheets/activo/fonts/museosans_500_italic-webfont.svg
|
116
|
+
- app/assets/stylesheets/activo/fonts/museosans_500_italic-webfont.ttf
|
117
|
+
- app/assets/stylesheets/activo/fonts/museosans_500_italic-webfont.woff
|
118
|
+
- app/assets/stylesheets/activo/formtastic_changes.sass
|
119
|
+
- app/assets/stylesheets/activo/libs/jquery.tipsy.css
|
120
|
+
- app/assets/stylesheets/activo/libs/uniform.default.css
|
121
|
+
- app/assets/stylesheets/activo/mixins.sass
|
122
|
+
- app/assets/stylesheets/activo/style.sass
|
126
123
|
- app/assets/stylesheets/application.css
|
127
124
|
- app/assets/stylesheets/scaffolds.css.scss
|
128
125
|
- app/assets/stylesheets/users.css.scss
|
@@ -131,18 +128,18 @@ files:
|
|
131
128
|
- lib/activoate.rb
|
132
129
|
- lib/activoate/engine.rb
|
133
130
|
- lib/activoate/version.rb
|
134
|
-
- lib/generators/activoate/
|
135
|
-
- lib/generators/activoate/
|
136
|
-
- lib/generators/activoate/
|
137
|
-
- lib/generators/activoate/
|
138
|
-
- lib/generators/activoate/
|
139
|
-
- lib/generators/activoate/
|
140
|
-
- lib/generators/activoate/
|
141
|
-
- lib/generators/activoate/
|
142
|
-
- lib/generators/activoate/
|
143
|
-
- lib/generators/activoate/
|
144
|
-
- lib/generators/activoate/
|
145
|
-
- lib/generators/activoate/
|
131
|
+
- lib/generators/activoate/activoated/activoated_generator.rb
|
132
|
+
- lib/generators/activoate/activoated/templates/view_edit.html.erb
|
133
|
+
- lib/generators/activoate/activoated/templates/view_form.html.erb
|
134
|
+
- lib/generators/activoate/activoated/templates/view_form_formtastic.html.erb
|
135
|
+
- lib/generators/activoate/activoated/templates/view_new.html.erb
|
136
|
+
- lib/generators/activoate/activoated/templates/view_show.html.erb
|
137
|
+
- lib/generators/activoate/activoated/templates/view_show_attrtastic.html.erb
|
138
|
+
- lib/generators/activoate/activoated/templates/view_sidebar.html.erb
|
139
|
+
- lib/generators/activoate/activoated/templates/view_signin.html.erb
|
140
|
+
- lib/generators/activoate/activoated/templates/view_signup.html.erb
|
141
|
+
- lib/generators/activoate/activoated/templates/view_tables.html.erb
|
142
|
+
- lib/generators/activoate/activoated/templates/view_text.html.erb
|
146
143
|
- lib/generators/activoate/install/install_generator.rb
|
147
144
|
- lib/generators/activoate/install/templates/layout_admin.html.erb
|
148
145
|
- lib/templates/web_app_theme/theme/layout_admin.html.erb
|
Binary file
|
@@ -1,10 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into including all the files listed below.
|
2
|
-
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
|
3
|
-
// be included in the compiled file accessible from http://example.com/assets/activo-2.js
|
4
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
5
|
-
// the compiled file.
|
6
|
-
//
|
7
|
-
//= require jquery
|
8
|
-
//= require jquery-ui
|
9
|
-
//= require jquery_ujs
|
10
|
-
//= require_tree ./activo-2
|
Binary file
|
Binary file
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<div class="block">
|
2
|
-
<div class="secondary-navigation">
|
3
|
-
<ul class="wat-cf">
|
4
|
-
<li class="first"><%%= 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
|
-
<li class="active"><%%= link_to "#{t("web-app-theme.edit", :default => "Edit")}", edit_<%= singular_controller_routing_path %>_path %></li>
|
7
|
-
</ul>
|
8
|
-
</div>
|
9
|
-
<div class="content">
|
10
|
-
<h2 class="title"><%%= t("web-app-theme.edit", :default => "Edit") %> <%= model_name %></h2>
|
11
|
-
<div class="inner">
|
12
|
-
<%%= render :partial => "form" %>
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
</div>
|
16
|
-
|
17
|
-
<%% content_for :sidebar, render(:partial => 'sidebar') -%>
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<%%= form_for @<%= model_name.underscore %>, :url => <%= singular_controller_routing_path %>_path(@<%= resource_name %>), :html => { :class => :form } do |f| -%>
|
2
|
-
<% columns.each do |column| %>
|
3
|
-
<div class="group">
|
4
|
-
<%%= f.label :<%= column.name %>, t("activerecord.attributes.<%= model_name.underscore %>.<%= column.name %>", :default => "<%= column.name.humanize %>"), :class => :label %>
|
5
|
-
<%%= f.<%= column.field_type %> :<%= column.name %>, :class => '<%= column.field_type %>' %>
|
6
|
-
<span class="description">Ex: a simple text</span>
|
7
|
-
</div>
|
8
|
-
<%- end -%>
|
9
|
-
<div class="group navform wat-cf">
|
10
|
-
<button class="button" type="submit">
|
11
|
-
<%%= image_tag("web-app-theme/icons/tick.png", :alt => "#{t("web-app-theme.save", :default => "Save")}") %> <%%= t("web-app-theme.save", :default => "Save") %>
|
12
|
-
</button>
|
13
|
-
<span class="text_button_padding"><%%= t("web-app-theme.or", :default => "or") %></span>
|
14
|
-
<%%= link_to t("web-app-theme.cancel", :default => "Cancel"), <%= controller_routing_path %>_path, :class => "text_button_padding link_button" %>
|
15
|
-
</div>
|
16
|
-
<%% end -%>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<%%= semantic_form_for @<%= model_name.underscore %> do |f| %>
|
2
|
-
<%%= f.inputs do %>
|
3
|
-
<% columns.each do |column| %>
|
4
|
-
<%%= f.input :<%= column.name %> %>
|
5
|
-
<%- end %>
|
6
|
-
<%% end %>
|
7
|
-
|
8
|
-
<div class="group navform wat-cf">
|
9
|
-
<button class="button" type="submit">
|
10
|
-
<%%= image_tag("activo-2/icons/tick.png", :alt => "#{t("web-app-theme.save", :default => "Save")}") %>
|
11
|
-
<%%= t("web-app-theme.save", :default => "Save") %>
|
12
|
-
</button>
|
13
|
-
<span class="text_button_padding">
|
14
|
-
<%%= t("web-app-theme.or", :default => "or") %>
|
15
|
-
</span>
|
16
|
-
<%%= link_to t("web-app-theme.cancel", :default => "Cancel"), users_path, :class => "text_button_padding link_button" %>
|
17
|
-
</div>
|
18
|
-
<%% end %>
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<div class="block">
|
2
|
-
<div class="secondary-navigation">
|
3
|
-
<ul class="wat-cf">
|
4
|
-
<li class="first"><%%= link_to "#{t("web-app-theme.list", :default => "List")}", <%= controller_routing_path %>_path %></li>
|
5
|
-
<li class="active"><%%= 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.new", :default => "New")%> <%= model_name %></h2>
|
10
|
-
<div class="inner">
|
11
|
-
<%%= render :partial => "form" %>
|
12
|
-
</div>
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
|
16
|
-
<%% content_for :sidebar, render(:partial => 'sidebar') -%>
|
@@ -1,26 +0,0 @@
|
|
1
|
-
<div class="block">
|
2
|
-
<div class="secondary-navigation">
|
3
|
-
<ul class="wat-cf">
|
4
|
-
<li class="first"><%%= 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
|
-
<li class="active"><%%= link_to "#{t("web-app-theme.show", :default => "Show")}", <%= singular_controller_routing_path %>_path %></li>
|
7
|
-
</ul>
|
8
|
-
</div>
|
9
|
-
<div class="content">
|
10
|
-
<h2 class="title"><%%= t("web-app-theme.show", :default => "Show")%> <%= model_name %></h2>
|
11
|
-
<div class="inner">
|
12
|
-
<% columns.each do |column| %>
|
13
|
-
<p>
|
14
|
-
<b><%%= t("activerecord.attributes.<%= singular_controller_routing_path %>.<%= column.name %>", :default => t("activerecord.labels.<%= column.name %>", :default => "<%= column.name.humanize %>")) %>:</b>
|
15
|
-
<%%= @<%= resource_name %>.<%= column.name %> %>
|
16
|
-
</p>
|
17
|
-
<%- end -%>
|
18
|
-
<div class="wat-cf">
|
19
|
-
<%%= link_to image_tag("web-app-theme/icons/application_edit.png", :alt => "#{t("web-app-theme.edit", :default=> "Edit")}") + " " + t("web-app-theme.edit", :default=> "Edit"), edit_<%= singular_controller_routing_path %>_path(@<%= resource_name %>), :class => "button" %>
|
20
|
-
<%%= link_to image_tag("web-app-theme/icons/cross.png", :alt => "#{t("web-app-theme.delete", :default=> "Delete")}") + " " + t("web-app-theme.delete", :default => "Delete"), <%= singular_controller_routing_path %>_path(@<%= resource_name %>), :method => "delete", :class => "button", :confirm => "#{t("web-app-theme.confirm", :default => "Are you sure?")}" %>
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
</div>
|
25
|
-
|
26
|
-
<%% content_for :sidebar, render(:partial => 'sidebar') -%>
|