adminpanel 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/Gemfile +3 -3
- data/adminpanel.gemspec +1 -2
- data/app/assets/javascripts/adminpanel/bootstrap-wysihtml5-3.min.js +261 -0
- data/app/assets/javascripts/adminpanel/bootstrap-wysihtml5-advanced.js +553 -0
- data/app/assets/javascripts/adminpanel/bootstrap-wysihtml5.js +511 -0
- data/app/assets/javascripts/adminpanel/wysiwyg.js +5 -0
- data/app/assets/stylesheets/adminpanel/bootstrap-wysihtml5.css +102 -0
- data/app/assets/stylesheets/application-admin.css +0 -1
- data/app/controllers/adminpanel/analytics_controller.rb +2 -1
- data/app/controllers/adminpanel/application_controller.rb +2 -1
- data/app/controllers/adminpanel/sections_controller.rb +1 -1
- data/app/controllers/adminpanel/sessions_controller.rb +2 -2
- data/app/controllers/concerns/adminpanel/rest_actions.rb +4 -5
- data/app/helpers/adminpanel/{custom_form_builder.rb → adminpanel_form_builder.rb} +14 -38
- data/app/helpers/adminpanel/application_helper.rb +2 -2
- data/app/helpers/adminpanel/router_helper.rb +10 -1
- data/app/models/adminpanel/analytic.rb +1 -1
- data/app/models/adminpanel/gallery.rb +1 -1
- data/app/models/adminpanel/section.rb +27 -6
- data/app/models/adminpanel/user.rb +1 -0
- data/app/models/concerns/adminpanel/base.rb +4 -1
- data/app/views/adminpanel/categories/_category_form.html.erb +1 -1
- data/app/views/adminpanel/sections/edit.html.erb +1 -1
- data/app/views/shared/_form_fields.html.erb +88 -85
- data/app/views/shared/_remote_form_fields.html.erb +1 -1
- data/app/views/shared/edit.html.erb +1 -1
- data/app/views/shared/new.html.erb +6 -5
- data/app/views/shared/show.html.erb +7 -7
- data/config/locales/en.yml +12 -8
- data/config/locales/es.yml +13 -9
- data/config/routes.rb +18 -14
- data/lib/adminpanel.rb +1 -1
- data/lib/adminpanel/version.rb +1 -1
- data/lib/generators/adminpanel/initialize/templates/category_template.rb +2 -1
- data/lib/tasks/adminpanel/adminpanel.rake +1 -1
- data/spec/features/shared_pages_spec.rb +1 -1
- metadata +77 -72
@@ -1,4 +1,4 @@
|
|
1
|
-
<%=
|
1
|
+
<%= adminpanel_form_for(resource, :url => {:action => :create, :model => params[:model], :model_name => params[:model_name], :belongs_request => params[:belongs_request] }, :remote => true, :html => {:class => "form-horizontal", :id => "new_resource"}) do |f| -%>
|
2
2
|
<div class="row-fluid">
|
3
3
|
<div class="modal-body">
|
4
4
|
<%= render 'shared/error_messages', :object => resource %>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
</div>
|
16
16
|
<div class = "widget-body">
|
17
17
|
<div class = "widget-forms clearfix">
|
18
|
-
<%=
|
18
|
+
<%= adminpanel_form_for(resource, :html => {:class => "form-horizontal", :id => "edit_resource"}) do |f| -%>
|
19
19
|
<%= render 'shared/error_messages', :object => resource %>
|
20
20
|
<%= render 'shared/form_fields', :f => f %>
|
21
21
|
</div>
|
@@ -16,10 +16,11 @@
|
|
16
16
|
<div class = "widget-body">
|
17
17
|
<div class = "widget-forms clearfix">
|
18
18
|
<%=
|
19
|
-
|
20
|
-
resource,
|
21
|
-
|
22
|
-
:
|
19
|
+
adminpanel_form_for(
|
20
|
+
resource,
|
21
|
+
:html => {
|
22
|
+
:class => 'form-horizontal',
|
23
|
+
:id => 'new_resource'
|
23
24
|
}
|
24
25
|
) do |f| -%>
|
25
26
|
<%= render 'shared/error_messages', :object => resource %>
|
@@ -28,7 +29,7 @@
|
|
28
29
|
</div>
|
29
30
|
<div class = "widget-footer">
|
30
31
|
<%=
|
31
|
-
f.submit t(
|
32
|
+
f.submit t('action.add') + " " + @model.display_name,
|
32
33
|
data: {:disable_with => t("action.submitting")},
|
33
34
|
:id =>"new-#{@model.name.demodulize}-button"
|
34
35
|
%>
|
@@ -25,14 +25,14 @@
|
|
25
25
|
<h6><%= properties["label"] %></h6>
|
26
26
|
</div>
|
27
27
|
<div class="span8">
|
28
|
-
<% if properties[
|
28
|
+
<% if properties['type'] == 'wysiwyg_field' %>
|
29
29
|
<%= resource.send(attribute).html_safe -%>
|
30
|
-
<% elsif properties[
|
31
|
-
<%= parent_object_name(resource, properties[
|
30
|
+
<% elsif properties['type'] == 'belongs_to' %>
|
31
|
+
<%= parent_object_name(resource, properties['model']) %>
|
32
32
|
|
33
|
-
<% elsif properties[
|
33
|
+
<% elsif properties['type'] == 'has_many' %>
|
34
34
|
<ul>
|
35
|
-
<% resource.send("#{pluralize_model(properties[
|
35
|
+
<% resource.send("#{pluralize_model(properties['model'])}").each do |member| %>
|
36
36
|
<li class="priority-low"><%= member.name %></li>
|
37
37
|
<% end %>
|
38
38
|
</ul>
|
@@ -57,8 +57,8 @@
|
|
57
57
|
<% if @model.has_images? %>
|
58
58
|
<div class="widget widget-padding span6">
|
59
59
|
<div class="widget-header">
|
60
|
-
<%= content_tag(:i, nil, :class => @model.icon) %>
|
61
|
-
<h5><%= I18n.t(
|
60
|
+
<%= content_tag(:i, nil, :class => "fa fa-#{@model.icon}") %>
|
61
|
+
<h5><%= I18n.t('gallery.container') %>: <%= @model.display_name.humanize %>
|
62
62
|
<%= render 'shared/edit_icon_button', resource: resource, resource_name: @model.display_name %>
|
63
63
|
</h5>
|
64
64
|
</div>
|
data/config/locales/en.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
en:
|
2
2
|
model:
|
3
|
-
|
3
|
+
Analytic: "Google Analytics"
|
4
4
|
Gallery: "Gallery"
|
5
5
|
Categories: "Categories"
|
6
6
|
attributes:
|
@@ -20,7 +20,7 @@ en:
|
|
20
20
|
username: "Nombre de usuario"
|
21
21
|
errors:
|
22
22
|
one: "%{model} can't be saved, 1 error"
|
23
|
-
other: "%{model} can't be saved
|
23
|
+
other: "%{model} can't be saved due %{count} errors"
|
24
24
|
activerecord:
|
25
25
|
errors:
|
26
26
|
messages:
|
@@ -34,14 +34,12 @@ en:
|
|
34
34
|
too_short: "too short, minimum is 6 characters"
|
35
35
|
time:
|
36
36
|
formats:
|
37
|
-
|
38
|
-
long: "%d/%m/%Y %l:%M:%S %p"
|
39
|
-
short: "%d de %B de %Y"
|
37
|
+
short: "%B %d, of %Y"
|
40
38
|
estimate: "%Y-%m-%d"
|
41
39
|
Add Image: "Add Image"
|
42
|
-
|
43
|
-
|
44
|
-
Panel title: "Panel Administrativo
|
40
|
+
wysiwyg:
|
41
|
+
description: "Write descrition here..."
|
42
|
+
Panel title: "Panel Administrativo"
|
45
43
|
actions: "Actions"
|
46
44
|
action:
|
47
45
|
add: "Add"
|
@@ -87,3 +85,9 @@ en:
|
|
87
85
|
add : "Add %{model}"
|
88
86
|
choose: "Chooose related %{model}"
|
89
87
|
no description: "Don't have a description yet"
|
88
|
+
routes:
|
89
|
+
new: 'new'
|
90
|
+
edit: 'edit'
|
91
|
+
show: 'show'
|
92
|
+
signout: 'signout'
|
93
|
+
signin: 'signin'
|
data/config/locales/es.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
es:
|
2
2
|
model:
|
3
|
-
|
3
|
+
Analytic: 'Google Analítico'
|
4
4
|
Gallery: "Galería de Inicio"
|
5
5
|
Categories: "Categorías"
|
6
6
|
attributes:
|
@@ -34,12 +34,11 @@ es:
|
|
34
34
|
too_short: "es muy corta, mínimo 6 caracteres"
|
35
35
|
time:
|
36
36
|
formats:
|
37
|
-
graphic: "%Y-%m-%d %H:%M:%S"
|
38
|
-
long: "%d/%m/%Y %l:%M:%S %p"
|
39
37
|
short: "%d de %B de %Y"
|
40
38
|
estimate: "%Y-%m-%d"
|
41
39
|
Add Image: "Agregar Imagen"
|
42
|
-
|
40
|
+
wysiwyg:
|
41
|
+
description: "Escriba la descripción aquí"
|
43
42
|
Panel title: "Panel Administrativo"
|
44
43
|
actions: "Acciones"
|
45
44
|
action:
|
@@ -62,10 +61,10 @@ es:
|
|
62
61
|
signin_success: "Bienvenido!"
|
63
62
|
not_authorized: 'No tienes permisos para acceder'
|
64
63
|
gallery:
|
65
|
-
|
66
|
-
new:
|
67
|
-
success:
|
68
|
-
deleted:
|
64
|
+
container: 'Imágenes'
|
65
|
+
new: 'Agregar Imagen'
|
66
|
+
success: 'La imagen ha sido guardada'
|
67
|
+
deleted: 'La imagen ha sido eliminada'
|
69
68
|
moved : "Se ha actualizado la posición de la galería"
|
70
69
|
not-moved: "No se pudo mover la Imagen"
|
71
70
|
image: "Imagen"
|
@@ -85,5 +84,10 @@ es:
|
|
85
84
|
email: "Correo electrónico"
|
86
85
|
other:
|
87
86
|
add : "Agregar %{model}"
|
88
|
-
choose: "Selecciona las relaciones con %{model}"
|
89
87
|
no description: "No tiene descripción aún"
|
88
|
+
routes:
|
89
|
+
new: 'nuevo'
|
90
|
+
edit: 'editar'
|
91
|
+
show: 'ver'
|
92
|
+
signout: 'cerrar-sesion'
|
93
|
+
signin: 'iniciar-sesion'
|
data/config/routes.rb
CHANGED
@@ -6,35 +6,39 @@ Adminpanel::Engine.routes.draw do
|
|
6
6
|
case resource
|
7
7
|
when :sections
|
8
8
|
# sections cannot be created or destroyed
|
9
|
-
resources :sections, resources_parameters(resource).merge(
|
9
|
+
resources :sections, resources_parameters(resource).merge(
|
10
|
+
{ except: [:new, :create, :destroy] }.merge(rest_path_names)
|
11
|
+
)
|
10
12
|
when :galleries
|
11
13
|
# galleries gallery is different from normal resources galleries
|
12
|
-
resources :galleries, resources_parameters(resource) do
|
14
|
+
resources :galleries, resources_parameters(resource).merge(rest_path_names) do
|
13
15
|
member do
|
14
|
-
put :move_better, :
|
15
|
-
put :move_worst, :
|
16
|
+
put :move_better, as: 'move_to_better', path: 'subir-prioridad'
|
17
|
+
put :move_worst, as: 'move_to_worst', path: 'bajar-prioridad'
|
16
18
|
end
|
17
19
|
end
|
18
20
|
when :analytics
|
19
|
-
resources :analytics, resources_parameters(resource).merge(
|
21
|
+
resources :analytics, resources_parameters(resource).merge(
|
22
|
+
{ only: [:index] }.merge(rest_path_names)
|
23
|
+
)
|
20
24
|
else
|
21
|
-
if !
|
25
|
+
if !get_gallery_children(resource).nil?
|
22
26
|
# make the resources gallery routes
|
23
|
-
resources
|
27
|
+
resources get_gallery_children(resource).to_sym, only: [:index] do
|
24
28
|
member do
|
25
|
-
put :move_better, :
|
26
|
-
put :move_worst, :
|
29
|
+
put :move_better, as: 'move_to_better', path: 'subir-prioridad'
|
30
|
+
put :move_worst, as: 'move_to_worst', path: 'bajar-prioridad'
|
27
31
|
end
|
28
32
|
end
|
29
33
|
end
|
30
34
|
|
31
35
|
# normal resource
|
32
|
-
resources resource, resources_parameters(resource)
|
36
|
+
resources resource, resources_parameters(resource).merge(rest_path_names)
|
33
37
|
end
|
34
38
|
end
|
35
39
|
|
36
|
-
root :
|
37
|
-
resources :sessions, :
|
38
|
-
delete '/signout', :
|
39
|
-
get '/signin', :
|
40
|
+
root to: "#{Adminpanel.displayable_resources.first}#index"
|
41
|
+
resources :sessions, only: [:new, :create, :destroy]
|
42
|
+
delete '/signout', to: 'sessions#destroy', as: 'signout', path: I18n.t('routes.signout')
|
43
|
+
get '/signin', to: 'sessions#new', as: 'signin', path: I18n.t('routes.signin')
|
40
44
|
end
|
data/lib/adminpanel.rb
CHANGED
data/lib/adminpanel/version.rb
CHANGED
@@ -122,7 +122,7 @@ describe 'Shared pages' do
|
|
122
122
|
it { page.should have_selector('div', :text => product.name) }
|
123
123
|
it { page.should have_selector('div', :text => product.price) }
|
124
124
|
it { page.should have_selector('div', :text => product.description) }
|
125
|
-
it { should have_content("#{I18n.t("
|
125
|
+
it { should have_content("#{I18n.t("gallery.container")}: #{Adminpanel::Product.display_name}")}
|
126
126
|
it { should have_link('i', adminpanel.edit_product_path(product)) }
|
127
127
|
end
|
128
128
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adminpanel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jose Ramon Camacho
|
@@ -9,46 +9,46 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-05-
|
12
|
+
date: 2014-05-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: 4.0.0
|
21
|
-
- - <=
|
21
|
+
- - "<="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 4.1.
|
23
|
+
version: 4.1.1
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
|
-
- -
|
28
|
+
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: 4.0.0
|
31
|
-
- - <=
|
31
|
+
- - "<="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 4.1.
|
33
|
+
version: 4.1.1
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: carrierwave
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.10.0
|
41
|
-
- - <=
|
41
|
+
- - "<="
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 1.0.0
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
46
|
version_requirements: !ruby/object:Gem::Requirement
|
47
47
|
requirements:
|
48
|
-
- -
|
48
|
+
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
50
|
version: 0.10.0
|
51
|
-
- - <=
|
51
|
+
- - "<="
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: 1.0.0
|
54
54
|
- !ruby/object:Gem::Dependency
|
@@ -69,274 +69,274 @@ dependencies:
|
|
69
69
|
name: jquery-rails
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- -
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: 3.1.0
|
75
|
-
- - <=
|
75
|
+
- - "<="
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: 4.0.0
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
|
-
- -
|
82
|
+
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: 3.1.0
|
85
|
-
- - <=
|
85
|
+
- - "<="
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: 4.0.0
|
88
88
|
- !ruby/object:Gem::Dependency
|
89
89
|
name: turbolinks
|
90
90
|
requirement: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
|
-
- -
|
92
|
+
- - ">="
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: 2.2.2
|
95
|
-
- - <=
|
95
|
+
- - "<="
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: 3.0.0
|
98
98
|
type: :runtime
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- -
|
102
|
+
- - ">="
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: 2.2.2
|
105
|
-
- - <=
|
105
|
+
- - "<="
|
106
106
|
- !ruby/object:Gem::Version
|
107
107
|
version: 3.0.0
|
108
108
|
- !ruby/object:Gem::Dependency
|
109
109
|
name: bcrypt
|
110
110
|
requirement: !ruby/object:Gem::Requirement
|
111
111
|
requirements:
|
112
|
-
- -
|
112
|
+
- - ">="
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: 3.1.7
|
115
|
-
- - <=
|
115
|
+
- - "<="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: 4.0.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 3.1.7
|
125
|
-
- - <=
|
125
|
+
- - "<="
|
126
126
|
- !ruby/object:Gem::Version
|
127
127
|
version: 4.0.0
|
128
128
|
- !ruby/object:Gem::Dependency
|
129
129
|
name: rails-i18n
|
130
130
|
requirement: !ruby/object:Gem::Requirement
|
131
131
|
requirements:
|
132
|
-
- -
|
132
|
+
- - ">="
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: 4.0.2
|
135
|
-
- - <=
|
135
|
+
- - "<="
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: 4.1.0
|
138
138
|
type: :runtime
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
|
-
- -
|
142
|
+
- - ">="
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: 4.0.2
|
145
|
-
- - <=
|
145
|
+
- - "<="
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: 4.1.0
|
148
148
|
- !ruby/object:Gem::Dependency
|
149
149
|
name: inherited_resources
|
150
150
|
requirement: !ruby/object:Gem::Requirement
|
151
151
|
requirements:
|
152
|
-
- -
|
152
|
+
- - ">="
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: 1.4.1
|
155
|
-
- - <=
|
155
|
+
- - "<="
|
156
156
|
- !ruby/object:Gem::Version
|
157
157
|
version: 2.0.0
|
158
158
|
type: :runtime
|
159
159
|
prerelease: false
|
160
160
|
version_requirements: !ruby/object:Gem::Requirement
|
161
161
|
requirements:
|
162
|
-
- -
|
162
|
+
- - ">="
|
163
163
|
- !ruby/object:Gem::Version
|
164
164
|
version: 1.4.1
|
165
|
-
- - <=
|
165
|
+
- - "<="
|
166
166
|
- !ruby/object:Gem::Version
|
167
167
|
version: 2.0.0
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: cancancan
|
170
170
|
requirement: !ruby/object:Gem::Requirement
|
171
171
|
requirements:
|
172
|
-
- -
|
172
|
+
- - ">="
|
173
173
|
- !ruby/object:Gem::Version
|
174
174
|
version: '1.7'
|
175
|
-
- - <=
|
175
|
+
- - "<="
|
176
176
|
- !ruby/object:Gem::Version
|
177
177
|
version: 2.0.0
|
178
178
|
type: :runtime
|
179
179
|
prerelease: false
|
180
180
|
version_requirements: !ruby/object:Gem::Requirement
|
181
181
|
requirements:
|
182
|
-
- -
|
182
|
+
- - ">="
|
183
183
|
- !ruby/object:Gem::Version
|
184
184
|
version: '1.7'
|
185
|
-
- - <=
|
185
|
+
- - "<="
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: 2.0.0
|
188
188
|
- !ruby/object:Gem::Dependency
|
189
189
|
name: google-api-client
|
190
190
|
requirement: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- -
|
192
|
+
- - ">="
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: 0.7.1
|
195
|
-
- - <=
|
195
|
+
- - "<="
|
196
196
|
- !ruby/object:Gem::Version
|
197
197
|
version: 1.0.0
|
198
198
|
type: :runtime
|
199
199
|
prerelease: false
|
200
200
|
version_requirements: !ruby/object:Gem::Requirement
|
201
201
|
requirements:
|
202
|
-
- -
|
202
|
+
- - ">="
|
203
203
|
- !ruby/object:Gem::Version
|
204
204
|
version: 0.7.1
|
205
|
-
- - <=
|
205
|
+
- - "<="
|
206
206
|
- !ruby/object:Gem::Version
|
207
207
|
version: 1.0.0
|
208
208
|
- !ruby/object:Gem::Dependency
|
209
209
|
name: faker
|
210
210
|
requirement: !ruby/object:Gem::Requirement
|
211
211
|
requirements:
|
212
|
-
- -
|
212
|
+
- - ">="
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: 1.3.0
|
215
|
-
- - <=
|
215
|
+
- - "<="
|
216
216
|
- !ruby/object:Gem::Version
|
217
217
|
version: 2.0.0
|
218
218
|
type: :runtime
|
219
219
|
prerelease: false
|
220
220
|
version_requirements: !ruby/object:Gem::Requirement
|
221
221
|
requirements:
|
222
|
-
- -
|
222
|
+
- - ">="
|
223
223
|
- !ruby/object:Gem::Version
|
224
224
|
version: 1.3.0
|
225
|
-
- - <=
|
225
|
+
- - "<="
|
226
226
|
- !ruby/object:Gem::Version
|
227
227
|
version: 2.0.0
|
228
228
|
- !ruby/object:Gem::Dependency
|
229
229
|
name: sass-rails
|
230
230
|
requirement: !ruby/object:Gem::Requirement
|
231
231
|
requirements:
|
232
|
-
- -
|
232
|
+
- - ">="
|
233
233
|
- !ruby/object:Gem::Version
|
234
234
|
version: 4.0.3
|
235
|
-
- - <=
|
235
|
+
- - "<="
|
236
236
|
- !ruby/object:Gem::Version
|
237
237
|
version: 4.1.0
|
238
238
|
type: :runtime
|
239
239
|
prerelease: false
|
240
240
|
version_requirements: !ruby/object:Gem::Requirement
|
241
241
|
requirements:
|
242
|
-
- -
|
242
|
+
- - ">="
|
243
243
|
- !ruby/object:Gem::Version
|
244
244
|
version: 4.0.3
|
245
|
-
- - <=
|
245
|
+
- - "<="
|
246
246
|
- !ruby/object:Gem::Version
|
247
247
|
version: 4.1.0
|
248
248
|
- !ruby/object:Gem::Dependency
|
249
249
|
name: font-awesome-rails
|
250
250
|
requirement: !ruby/object:Gem::Requirement
|
251
251
|
requirements:
|
252
|
-
- -
|
252
|
+
- - ">="
|
253
253
|
- !ruby/object:Gem::Version
|
254
254
|
version: 4.0.3.1
|
255
|
-
- - <=
|
255
|
+
- - "<="
|
256
256
|
- !ruby/object:Gem::Version
|
257
257
|
version: 4.1.0
|
258
258
|
type: :runtime
|
259
259
|
prerelease: false
|
260
260
|
version_requirements: !ruby/object:Gem::Requirement
|
261
261
|
requirements:
|
262
|
-
- -
|
262
|
+
- - ">="
|
263
263
|
- !ruby/object:Gem::Version
|
264
264
|
version: 4.0.3.1
|
265
|
-
- - <=
|
265
|
+
- - "<="
|
266
266
|
- !ruby/object:Gem::Version
|
267
267
|
version: 4.1.0
|
268
268
|
- !ruby/object:Gem::Dependency
|
269
269
|
name: sqlite3
|
270
270
|
requirement: !ruby/object:Gem::Requirement
|
271
271
|
requirements:
|
272
|
-
- - ~>
|
272
|
+
- - "~>"
|
273
273
|
- !ruby/object:Gem::Version
|
274
274
|
version: '0'
|
275
275
|
type: :development
|
276
276
|
prerelease: false
|
277
277
|
version_requirements: !ruby/object:Gem::Requirement
|
278
278
|
requirements:
|
279
|
-
- - ~>
|
279
|
+
- - "~>"
|
280
280
|
- !ruby/object:Gem::Version
|
281
281
|
version: '0'
|
282
282
|
- !ruby/object:Gem::Dependency
|
283
283
|
name: factory_girl_rails
|
284
284
|
requirement: !ruby/object:Gem::Requirement
|
285
285
|
requirements:
|
286
|
-
- -
|
286
|
+
- - ">="
|
287
287
|
- !ruby/object:Gem::Version
|
288
288
|
version: 4.4.1
|
289
|
-
- - <=
|
289
|
+
- - "<="
|
290
290
|
- !ruby/object:Gem::Version
|
291
291
|
version: 5.0.0
|
292
292
|
type: :development
|
293
293
|
prerelease: false
|
294
294
|
version_requirements: !ruby/object:Gem::Requirement
|
295
295
|
requirements:
|
296
|
-
- -
|
296
|
+
- - ">="
|
297
297
|
- !ruby/object:Gem::Version
|
298
298
|
version: 4.4.1
|
299
|
-
- - <=
|
299
|
+
- - "<="
|
300
300
|
- !ruby/object:Gem::Version
|
301
301
|
version: 5.0.0
|
302
302
|
- !ruby/object:Gem::Dependency
|
303
303
|
name: rspec
|
304
304
|
requirement: !ruby/object:Gem::Requirement
|
305
305
|
requirements:
|
306
|
-
- -
|
306
|
+
- - ">="
|
307
307
|
- !ruby/object:Gem::Version
|
308
308
|
version: 2.14.1
|
309
|
-
- - <=
|
309
|
+
- - "<="
|
310
310
|
- !ruby/object:Gem::Version
|
311
311
|
version: 3.0.0
|
312
312
|
type: :development
|
313
313
|
prerelease: false
|
314
314
|
version_requirements: !ruby/object:Gem::Requirement
|
315
315
|
requirements:
|
316
|
-
- -
|
316
|
+
- - ">="
|
317
317
|
- !ruby/object:Gem::Version
|
318
318
|
version: 2.14.1
|
319
|
-
- - <=
|
319
|
+
- - "<="
|
320
320
|
- !ruby/object:Gem::Version
|
321
321
|
version: 3.0.0
|
322
322
|
- !ruby/object:Gem::Dependency
|
323
323
|
name: rspec-rails
|
324
324
|
requirement: !ruby/object:Gem::Requirement
|
325
325
|
requirements:
|
326
|
-
- -
|
326
|
+
- - ">="
|
327
327
|
- !ruby/object:Gem::Version
|
328
328
|
version: 2.14.1
|
329
|
-
- - <=
|
329
|
+
- - "<="
|
330
330
|
- !ruby/object:Gem::Version
|
331
331
|
version: 3.0.0
|
332
332
|
type: :development
|
333
333
|
prerelease: false
|
334
334
|
version_requirements: !ruby/object:Gem::Requirement
|
335
335
|
requirements:
|
336
|
-
- -
|
336
|
+
- - ">="
|
337
337
|
- !ruby/object:Gem::Version
|
338
338
|
version: 2.14.1
|
339
|
-
- - <=
|
339
|
+
- - "<="
|
340
340
|
- !ruby/object:Gem::Version
|
341
341
|
version: 3.0.0
|
342
342
|
- !ruby/object:Gem::Dependency
|
@@ -374,9 +374,9 @@ executables: []
|
|
374
374
|
extensions: []
|
375
375
|
extra_rdoc_files: []
|
376
376
|
files:
|
377
|
-
- .gitignore
|
378
|
-
- .rspec
|
379
|
-
- .travis.yml
|
377
|
+
- ".gitignore"
|
378
|
+
- ".rspec"
|
379
|
+
- ".travis.yml"
|
380
380
|
- Gemfile
|
381
381
|
- LICENSE.txt
|
382
382
|
- README.md
|
@@ -424,6 +424,9 @@ files:
|
|
424
424
|
- app/assets/images/adminpanel/toolbar.png
|
425
425
|
- app/assets/javascripts/adminpanel/bootstrap-datepicker.js
|
426
426
|
- app/assets/javascripts/adminpanel/bootstrap-timepicker.js
|
427
|
+
- app/assets/javascripts/adminpanel/bootstrap-wysihtml5-3.min.js
|
428
|
+
- app/assets/javascripts/adminpanel/bootstrap-wysihtml5-advanced.js
|
429
|
+
- app/assets/javascripts/adminpanel/bootstrap-wysihtml5.js
|
427
430
|
- app/assets/javascripts/adminpanel/bootstrap.js
|
428
431
|
- app/assets/javascripts/adminpanel/images_form.js
|
429
432
|
- app/assets/javascripts/adminpanel/imagesloaded.js
|
@@ -434,9 +437,11 @@ files:
|
|
434
437
|
- app/assets/javascripts/adminpanel/medium-editor.js
|
435
438
|
- app/assets/javascripts/adminpanel/realm.js
|
436
439
|
- app/assets/javascripts/adminpanel/tables.js
|
440
|
+
- app/assets/javascripts/adminpanel/wysiwyg.js
|
437
441
|
- app/assets/javascripts/application-admin.js
|
438
442
|
- app/assets/stylesheets/adminpanel/_clearfix.css
|
439
443
|
- app/assets/stylesheets/adminpanel/alertify.css
|
444
|
+
- app/assets/stylesheets/adminpanel/bootstrap-wysihtml5.css
|
440
445
|
- app/assets/stylesheets/adminpanel/bootstrap.css
|
441
446
|
- app/assets/stylesheets/adminpanel/datepicker.css
|
442
447
|
- app/assets/stylesheets/adminpanel/facybox.css
|
@@ -456,9 +461,9 @@ files:
|
|
456
461
|
- app/controllers/adminpanel/users_controller.rb
|
457
462
|
- app/controllers/concerns/adminpanel/galleryzable_actions.rb
|
458
463
|
- app/controllers/concerns/adminpanel/rest_actions.rb
|
464
|
+
- app/helpers/adminpanel/adminpanel_form_builder.rb
|
459
465
|
- app/helpers/adminpanel/application_helper.rb
|
460
466
|
- app/helpers/adminpanel/breadcrumbs_helper.rb
|
461
|
-
- app/helpers/adminpanel/custom_form_builder.rb
|
462
467
|
- app/helpers/adminpanel/router_helper.rb
|
463
468
|
- app/helpers/adminpanel/sessions_helper.rb
|
464
469
|
- app/helpers/adminpanel/shared_pages_helper.rb
|
@@ -614,12 +619,12 @@ require_paths:
|
|
614
619
|
- app/assets
|
615
620
|
required_ruby_version: !ruby/object:Gem::Requirement
|
616
621
|
requirements:
|
617
|
-
- -
|
622
|
+
- - ">="
|
618
623
|
- !ruby/object:Gem::Version
|
619
624
|
version: 1.9.3
|
620
625
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
621
626
|
requirements:
|
622
|
-
- -
|
627
|
+
- - ">="
|
623
628
|
- !ruby/object:Gem::Version
|
624
629
|
version: '0'
|
625
630
|
requirements: []
|