para 0.6.9 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/para/admin/tangram-mosaic.png +0 -0
- data/app/assets/images/para/admin/template-section.svg +23 -0
- data/app/assets/javascripts/para/admin.coffee +20 -0
- data/app/assets/javascripts/para/admin/tabs.coffee +22 -5
- data/app/assets/javascripts/para/admin/theme_actions.coffee +3 -3
- data/app/assets/javascripts/para/inputs/material-input.coffee +4 -0
- data/app/assets/javascripts/para/inputs/multi-select-input.coffee +173 -0
- data/app/assets/javascripts/para/inputs/nested_many.coffee +9 -9
- data/app/assets/stylesheets/para/admin.sass +5 -5
- data/app/assets/stylesheets/para/admin/main.sass +32 -0
- data/app/assets/stylesheets/para/admin/src/_alert.sass +17 -0
- data/app/assets/stylesheets/para/admin/src/_base.sass +51 -0
- data/app/assets/stylesheets/para/admin/src/_bootstrap-variables.scss +874 -0
- data/app/assets/stylesheets/para/admin/src/_breadcrumb.sass +22 -0
- data/app/assets/stylesheets/para/admin/src/_buttons.sass +107 -0
- data/app/assets/stylesheets/para/admin/src/_checkable.sass +94 -0
- data/app/assets/stylesheets/para/admin/src/_common.sass +203 -0
- data/app/assets/stylesheets/para/admin/src/_dropdown.sass +40 -0
- data/app/assets/stylesheets/para/admin/src/_form.sass +271 -0
- data/app/assets/stylesheets/para/admin/src/_list.sass +61 -0
- data/app/assets/stylesheets/para/admin/src/_mixins.sass +113 -0
- data/app/assets/stylesheets/para/admin/src/_multi-select.sass +91 -0
- data/app/assets/stylesheets/para/admin/src/_navigation.sass +150 -0
- data/app/assets/stylesheets/para/admin/src/_navtabs.sass +41 -0
- data/app/assets/stylesheets/para/admin/src/_nested-many.sass +69 -0
- data/app/assets/stylesheets/para/admin/src/_nested_one.sass +13 -0
- data/app/assets/stylesheets/para/admin/src/_orderable.sass +44 -0
- data/app/assets/stylesheets/para/admin/src/_page-loading.sass +39 -0
- data/app/assets/stylesheets/para/admin/src/_pagination.sass +34 -0
- data/app/assets/stylesheets/para/admin/src/_panel.sass +55 -0
- data/app/assets/stylesheets/para/admin/src/_responsive.sass +100 -0
- data/app/assets/stylesheets/para/admin/{theme → src}/_sorting.sass +11 -3
- data/app/assets/stylesheets/para/admin/src/_statcard.sass +41 -0
- data/app/assets/stylesheets/para/admin/src/_table.sass +33 -0
- data/app/assets/stylesheets/para/admin/src/_tree.sass +52 -0
- data/app/assets/stylesheets/para/admin/src/_variables.sass +37 -0
- data/app/assets/stylesheets/para/admin/src/_well.sass +12 -0
- data/app/assets/stylesheets/para/{admin/src → lib}/datetimepicker.sass +1 -3
- data/app/assets/stylesheets/para/{admin/src → lib}/fuelux.sass +3 -5
- data/app/assets/stylesheets/para/lib/jasny-bootstrap.sass +97 -0
- data/app/assets/stylesheets/para/{admin/src → lib}/redactor.sass +2 -5
- data/app/assets/stylesheets/para/lib/selectize.sass +112 -0
- data/app/assets/stylesheets/para/lib/slider.sass +12 -0
- data/app/controllers/concerns/para/admin/resource_controller_concerns.rb +14 -2
- data/app/controllers/para/admin/base_controller.rb +7 -0
- data/app/controllers/para/admin/crud_resources_controller.rb +13 -6
- data/app/controllers/para/admin/form_resources_controller.rb +5 -3
- data/app/controllers/para/admin/resources_controller.rb +9 -3
- data/app/controllers/para/admin/search_controller.rb +15 -0
- data/app/controllers/para/application_controller.rb +10 -2
- data/app/helpers/para/admin/page_helper.rb +9 -9
- data/app/helpers/para/application_helper.rb +1 -10
- data/app/helpers/para/form_helper.rb +5 -6
- data/app/helpers/para/model_helper.rb +13 -3
- data/app/helpers/para/ordering_helper.rb +1 -1
- data/app/helpers/para/search_results_helper.rb +16 -0
- data/app/helpers/para/tree_helper.rb +10 -6
- data/app/models/para/page.rb +5 -0
- data/app/models/para/page/section.rb +42 -0
- data/app/models/para/page/section_resource.rb +12 -0
- data/app/views/layouts/para/admin.html.haml +5 -8
- data/app/views/para/admin/dashboard.html.haml +21 -8
- data/app/views/para/admin/form_resources/show.html.haml +1 -1
- data/app/views/para/admin/imports/new.html.haml +2 -2
- data/app/views/para/admin/resources/_actions.html.haml +3 -3
- data/app/views/para/admin/resources/_add_button.html.haml +1 -1
- data/app/views/para/admin/resources/_exports_menu.html.haml +6 -6
- data/app/views/para/admin/resources/_filters.html.haml +7 -8
- data/app/views/para/admin/resources/_imports_menu.html.haml +6 -6
- data/app/views/para/admin/resources/_list.html.haml +14 -15
- data/app/views/para/admin/resources/_per_page_select.html.haml +4 -3
- data/app/views/para/admin/resources/_subclassable_add_button.html.haml +3 -3
- data/app/views/para/admin/resources/_tree.html.haml +7 -9
- data/app/views/para/admin/resources/_tree_item.html.haml +5 -6
- data/app/views/para/admin/resources/edit.html.haml +1 -1
- data/app/views/para/admin/resources/new.html.haml +1 -1
- data/app/views/para/admin/search/_result.html.haml +7 -0
- data/app/views/para/admin/search/index.html.haml +1 -0
- data/app/views/para/admin/settings_component/show.html.haml +1 -1
- data/app/views/para/admin/shared/_breadcrumbs.html.haml +2 -3
- data/app/views/para/admin/shared/_header.html.haml +16 -27
- data/app/views/para/admin/shared/_navigation.html.haml +20 -19
- data/app/views/para/form/_tabs.html.haml +6 -7
- data/app/views/para/inputs/_multi_select.html.haml +40 -0
- data/app/views/para/inputs/_nested_many.html.haml +4 -4
- data/app/views/para/inputs/multi_select/_no_items.html.haml +6 -0
- data/app/views/para/inputs/nested_many/_add.html.haml +1 -2
- data/app/views/para/inputs/nested_many/_add_with_subclasses.html.haml +4 -5
- data/app/views/para/inputs/nested_many/_container.html.haml +7 -8
- data/app/views/shared/_breadcrumbs.html.haml +4 -0
- data/config/locales/fr.yml +29 -4
- data/db/migrate/20170324125547_create_para_page_section_resources.rb +15 -0
- data/lib/generators/para/filters/templates/_filters.html.haml +3 -5
- data/lib/generators/para/install/templates/initializer.rb +12 -0
- data/lib/generators/para/page/section/section_generator.rb +13 -2
- data/lib/generators/para/page/section/templates/section.html.haml.erb +3 -0
- data/lib/generators/para/resource/resource_generator.rb +1 -1
- data/lib/para.rb +25 -21
- data/lib/para/attribute_field.rb +2 -0
- data/lib/para/attribute_field/base.rb +1 -1
- data/lib/para/attribute_field/belongs_to.rb +1 -1
- data/lib/para/attribute_field/boolean.rb +1 -1
- data/lib/para/attribute_field/friendly_id.rb +19 -0
- data/lib/para/attribute_field/has_many.rb +43 -4
- data/lib/para/attribute_field/nested_field.rb +46 -0
- data/lib/para/attribute_field/nested_many.rb +30 -9
- data/lib/para/attribute_field/nested_one.rb +28 -9
- data/lib/para/attribute_field/password.rb +1 -1
- data/lib/para/attribute_field/relation.rb +19 -1
- data/lib/para/attribute_field_mappings.rb +9 -3
- data/lib/para/breadcrumbs/breadcrumb.rb +57 -10
- data/lib/para/breadcrumbs/controller.rb +19 -6
- data/lib/para/breadcrumbs/manager.rb +9 -1
- data/lib/para/config.rb +3 -0
- data/lib/para/controller_resource.rb +34 -0
- data/lib/para/engine.rb +33 -14
- data/lib/para/exporter/base.rb +1 -1
- data/lib/para/ext.rb +1 -1
- data/lib/para/ext/active_record_nested_attributes.rb +51 -0
- data/lib/para/ext/paperclip.rb +2 -6
- data/lib/para/form_builder.rb +3 -0
- data/lib/para/form_builder/attributes_mappings_tracker.rb +45 -0
- data/lib/para/form_builder/containers.rb +13 -17
- data/lib/para/form_builder/nested_form.rb +2 -3
- data/lib/para/helpers.rb +8 -0
- data/lib/para/helpers/attributes_mappings.rb +13 -0
- data/lib/para/helpers/resource_name.rb +14 -0
- data/lib/para/inputs.rb +1 -0
- data/lib/para/inputs/multi_select_input.rb +90 -0
- data/lib/para/inputs/nested_many_input.rb +6 -1
- data/lib/para/markup/resources_table.rb +15 -11
- data/lib/para/model_field_parsers.rb +3 -2
- data/lib/para/model_field_parsers/base.rb +7 -2
- data/lib/para/model_field_parsers/friendly_id.rb +19 -0
- data/lib/para/model_field_parsers/relations.rb +20 -1
- data/lib/para/page/model.rb +3 -1
- data/lib/para/routes.rb +1 -0
- data/lib/para/simple_form_config.rb +85 -0
- data/lib/para/version.rb +1 -1
- data/lib/rails/routing_mapper.rb +5 -8
- data/vendor/assets/javascripts/jasny-bootstrap.js +577 -0
- data/vendor/assets/stylesheets/animate.css +3340 -0
- data/vendor/assets/stylesheets/hint.css +649 -0
- data/vendor/assets/stylesheets/jasny-bootstrap.css +287 -0
- metadata +114 -67
- data/app/assets/images/para/admin/bg.png +0 -0
- data/app/assets/javascripts/para/admin.js +0 -20
- data/app/assets/stylesheets/admin/theme.sass +0 -0
- data/app/assets/stylesheets/para/admin/src/jasny.bootstrap.sass +0 -40
- data/app/assets/stylesheets/para/admin/src/nested_many.sass +0 -5
- data/app/assets/stylesheets/para/admin/src/page-loading.sass +0 -24
- data/app/assets/stylesheets/para/admin/src/page-top-bar.sass +0 -9
- data/app/assets/stylesheets/para/admin/src/selectize.sass +0 -46
- data/app/assets/stylesheets/para/admin/src/slider.sass +0 -12
- data/app/assets/stylesheets/para/admin/theme.sass +0 -22
- data/app/assets/stylesheets/para/admin/theme/_base.sass +0 -176
- data/app/assets/stylesheets/para/admin/theme/_breadcrumb.sass +0 -75
- data/app/assets/stylesheets/para/admin/theme/_buttons.sass +0 -27
- data/app/assets/stylesheets/para/admin/theme/_checkable.sass +0 -108
- data/app/assets/stylesheets/para/admin/theme/_commonds.sass +0 -210
- data/app/assets/stylesheets/para/admin/theme/_dropdown.sass +0 -52
- data/app/assets/stylesheets/para/admin/theme/_form.sass +0 -150
- data/app/assets/stylesheets/para/admin/theme/_list.sass +0 -139
- data/app/assets/stylesheets/para/admin/theme/_navigation.sass +0 -229
- data/app/assets/stylesheets/para/admin/theme/_navtabs.sass +0 -151
- data/app/assets/stylesheets/para/admin/theme/_orderable.sass +0 -45
- data/app/assets/stylesheets/para/admin/theme/_panel.sass +0 -264
- data/app/assets/stylesheets/para/admin/theme/_responsive.sass +0 -123
- data/app/assets/stylesheets/para/admin/theme/_table.sass +0 -28
- data/app/assets/stylesheets/para/admin/theme/_tree.sass +0 -74
- data/app/assets/stylesheets/para/admin/theme/_variables.sass +0 -31
- data/app/assets/stylesheets/para/application.css +0 -15
- data/app/assets/stylesheets/para/lib/_variables.scss +0 -646
- data/app/assets/stylesheets/para/overrides/responsive.sass +0 -62
- data/app/assets/stylesheets/para/overrides/theme.sass +0 -172
- data/lib/para/ext/cancan.rb +0 -26
- data/vendor/assets/javascripts/jasny.bootstrap.min.js +0 -7
- data/vendor/assets/stylesheets/animate.min.css +0 -6
- data/vendor/assets/stylesheets/jasny.bootstrap.min.css +0 -7
@@ -0,0 +1,287 @@
|
|
1
|
+
/*!
|
2
|
+
* Jasny Bootstrap v3.1.3 (http://jasny.github.io/bootstrap)
|
3
|
+
* Copyright 2012-2014 Arnold Daniels
|
4
|
+
* Licensed under Apache-2.0 (https://github.com/jasny/bootstrap/blob/master/LICENSE)
|
5
|
+
*/
|
6
|
+
|
7
|
+
|
8
|
+
.navmenu,
|
9
|
+
.navbar-offcanvas {
|
10
|
+
width: 300px;
|
11
|
+
height: auto;
|
12
|
+
border-style: solid;
|
13
|
+
border-width: 1px;
|
14
|
+
border-radius: 4px;
|
15
|
+
}
|
16
|
+
.navmenu-fixed-left,
|
17
|
+
.navmenu-fixed-right,
|
18
|
+
.navbar-offcanvas {
|
19
|
+
position: fixed;
|
20
|
+
top: 0;
|
21
|
+
bottom: 0;
|
22
|
+
z-index: 1030;
|
23
|
+
overflow-y: auto;
|
24
|
+
border-radius: 0;
|
25
|
+
}
|
26
|
+
.navmenu-fixed-left,
|
27
|
+
.navbar-offcanvas.navmenu-fixed-left {
|
28
|
+
right: auto;
|
29
|
+
left: 0;
|
30
|
+
border-width: 0 1px 0 0;
|
31
|
+
}
|
32
|
+
.navmenu-fixed-right,
|
33
|
+
.navbar-offcanvas {
|
34
|
+
right: 0;
|
35
|
+
left: auto;
|
36
|
+
border-width: 0 0 0 1px;
|
37
|
+
}
|
38
|
+
.navmenu-nav {
|
39
|
+
margin-bottom: 10px;
|
40
|
+
}
|
41
|
+
.navmenu-nav.dropdown-menu {
|
42
|
+
position: static;
|
43
|
+
float: none;
|
44
|
+
padding-top: 0;
|
45
|
+
margin: 0;
|
46
|
+
border: none;
|
47
|
+
border-radius: 0;
|
48
|
+
-webkit-box-shadow: none;
|
49
|
+
box-shadow: none;
|
50
|
+
}
|
51
|
+
.navbar-offcanvas .navbar-nav {
|
52
|
+
margin: 0;
|
53
|
+
}
|
54
|
+
@media (min-width: 768px) {
|
55
|
+
.navbar-offcanvas {
|
56
|
+
width: auto;
|
57
|
+
border-top: 0;
|
58
|
+
box-shadow: none;
|
59
|
+
}
|
60
|
+
.navbar-offcanvas.offcanvas {
|
61
|
+
position: static;
|
62
|
+
display: block !important;
|
63
|
+
height: auto !important;
|
64
|
+
padding-bottom: 0;
|
65
|
+
overflow: visible !important;
|
66
|
+
}
|
67
|
+
.navbar-offcanvas .navbar-nav.navbar-left:first-child {
|
68
|
+
margin-left: -15px;
|
69
|
+
}
|
70
|
+
.navbar-offcanvas .navbar-nav.navbar-right:last-child {
|
71
|
+
margin-right: -15px;
|
72
|
+
}
|
73
|
+
.navbar-offcanvas .navmenu-brand {
|
74
|
+
display: none;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
.navmenu-brand {
|
78
|
+
display: block;
|
79
|
+
padding: 10px 15px;
|
80
|
+
margin: 10px 0;
|
81
|
+
font-size: 18px;
|
82
|
+
line-height: 20px;
|
83
|
+
}
|
84
|
+
.navmenu-brand:hover,
|
85
|
+
.navmenu-brand:focus {
|
86
|
+
text-decoration: none;
|
87
|
+
}
|
88
|
+
|
89
|
+
.alert-fixed-top,
|
90
|
+
.alert-fixed-bottom {
|
91
|
+
position: fixed;
|
92
|
+
left: 0;
|
93
|
+
z-index: 1035;
|
94
|
+
width: 100%;
|
95
|
+
margin: 0;
|
96
|
+
border-radius: 0;
|
97
|
+
}
|
98
|
+
@media (min-width: 992px) {
|
99
|
+
.alert-fixed-top,
|
100
|
+
.alert-fixed-bottom {
|
101
|
+
left: 50%;
|
102
|
+
width: 992px;
|
103
|
+
margin-left: -496px;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
.alert-fixed-top {
|
107
|
+
top: 0;
|
108
|
+
border-width: 0 0 1px 0;
|
109
|
+
}
|
110
|
+
@media (min-width: 992px) {
|
111
|
+
.alert-fixed-top {
|
112
|
+
border-width: 0 1px 1px 1px;
|
113
|
+
border-bottom-right-radius: 4px;
|
114
|
+
border-bottom-left-radius: 4px;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
.alert-fixed-bottom {
|
118
|
+
bottom: 0;
|
119
|
+
border-width: 1px 0 0 0;
|
120
|
+
}
|
121
|
+
@media (min-width: 992px) {
|
122
|
+
.alert-fixed-bottom {
|
123
|
+
border-width: 1px 1px 0 1px;
|
124
|
+
border-top-left-radius: 4px;
|
125
|
+
border-top-right-radius: 4px;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
.offcanvas {
|
129
|
+
display: none;
|
130
|
+
}
|
131
|
+
.offcanvas.in {
|
132
|
+
display: block;
|
133
|
+
}
|
134
|
+
@media (max-width: 767px) {
|
135
|
+
.offcanvas-xs {
|
136
|
+
display: none;
|
137
|
+
}
|
138
|
+
.offcanvas-xs.in {
|
139
|
+
display: block;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
@media (max-width: 991px) {
|
143
|
+
.offcanvas-sm {
|
144
|
+
display: none;
|
145
|
+
}
|
146
|
+
.offcanvas-sm.in {
|
147
|
+
display: block;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
@media (max-width: 1199px) {
|
151
|
+
.offcanvas-md {
|
152
|
+
display: none;
|
153
|
+
}
|
154
|
+
.offcanvas-md.in {
|
155
|
+
display: block;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
.offcanvas-lg {
|
159
|
+
display: none;
|
160
|
+
}
|
161
|
+
.offcanvas-lg.in {
|
162
|
+
display: block;
|
163
|
+
}
|
164
|
+
.canvas-sliding {
|
165
|
+
-webkit-transition: top .35s, left .35s, bottom .35s, right .35s;
|
166
|
+
transition: top .35s, left .35s, bottom .35s, right .35s;
|
167
|
+
}
|
168
|
+
.offcanvas-clone {
|
169
|
+
position: absolute !important;
|
170
|
+
top: auto !important;
|
171
|
+
right: 0 !important;
|
172
|
+
bottom: 0 !important;
|
173
|
+
left: auto !important;
|
174
|
+
width: 0 !important;
|
175
|
+
height: 0 !important;
|
176
|
+
padding: 0 !important;
|
177
|
+
margin: 0 !important;
|
178
|
+
overflow: hidden !important;
|
179
|
+
border: none !important;
|
180
|
+
opacity: 0 !important;
|
181
|
+
}
|
182
|
+
|
183
|
+
.btn-file {
|
184
|
+
position: relative;
|
185
|
+
overflow: hidden;
|
186
|
+
vertical-align: middle;
|
187
|
+
}
|
188
|
+
.btn-file > input {
|
189
|
+
position: absolute;
|
190
|
+
top: 0;
|
191
|
+
right: 0;
|
192
|
+
width: 100%;
|
193
|
+
height: 100%;
|
194
|
+
margin: 0;
|
195
|
+
font-size: 23px;
|
196
|
+
cursor: pointer;
|
197
|
+
filter: alpha(opacity=0);
|
198
|
+
opacity: 0;
|
199
|
+
|
200
|
+
direction: ltr;
|
201
|
+
}
|
202
|
+
.fileinput {
|
203
|
+
display: inline-block;
|
204
|
+
margin-bottom: 9px;
|
205
|
+
}
|
206
|
+
.fileinput .form-control {
|
207
|
+
display: inline-block;
|
208
|
+
padding-top: 7px;
|
209
|
+
padding-bottom: 5px;
|
210
|
+
margin-bottom: 0;
|
211
|
+
vertical-align: middle;
|
212
|
+
cursor: text;
|
213
|
+
}
|
214
|
+
.fileinput .thumbnail {
|
215
|
+
display: inline-block;
|
216
|
+
margin-bottom: 5px;
|
217
|
+
overflow: hidden;
|
218
|
+
text-align: center;
|
219
|
+
vertical-align: middle;
|
220
|
+
}
|
221
|
+
.fileinput .thumbnail > img {
|
222
|
+
max-height: 100%;
|
223
|
+
}
|
224
|
+
.fileinput .btn {
|
225
|
+
vertical-align: middle;
|
226
|
+
}
|
227
|
+
.fileinput-exists .fileinput-new,
|
228
|
+
.fileinput-new .fileinput-exists {
|
229
|
+
display: none;
|
230
|
+
}
|
231
|
+
.fileinput-inline .fileinput-controls {
|
232
|
+
display: inline;
|
233
|
+
}
|
234
|
+
.fileinput-filename {
|
235
|
+
display: inline-block;
|
236
|
+
overflow: hidden;
|
237
|
+
vertical-align: middle;
|
238
|
+
}
|
239
|
+
.form-control .fileinput-filename {
|
240
|
+
vertical-align: bottom;
|
241
|
+
}
|
242
|
+
.fileinput.input-group {
|
243
|
+
display: table;
|
244
|
+
}
|
245
|
+
.fileinput.input-group > * {
|
246
|
+
position: relative;
|
247
|
+
z-index: 2;
|
248
|
+
}
|
249
|
+
.fileinput.input-group > .btn-file {
|
250
|
+
z-index: 1;
|
251
|
+
}
|
252
|
+
.fileinput-new.input-group .btn-file,
|
253
|
+
.fileinput-new .input-group .btn-file {
|
254
|
+
border-radius: 0 4px 4px 0;
|
255
|
+
}
|
256
|
+
.fileinput-new.input-group .btn-file.btn-xs,
|
257
|
+
.fileinput-new .input-group .btn-file.btn-xs,
|
258
|
+
.fileinput-new.input-group .btn-file.btn-sm,
|
259
|
+
.fileinput-new .input-group .btn-file.btn-sm {
|
260
|
+
border-radius: 0 3px 3px 0;
|
261
|
+
}
|
262
|
+
.fileinput-new.input-group .btn-file.btn-lg,
|
263
|
+
.fileinput-new .input-group .btn-file.btn-lg {
|
264
|
+
border-radius: 0 6px 6px 0;
|
265
|
+
}
|
266
|
+
.form-group.has-warning .fileinput .fileinput-preview {
|
267
|
+
color: #8a6d3b;
|
268
|
+
}
|
269
|
+
.form-group.has-warning .fileinput .thumbnail {
|
270
|
+
border-color: #faebcc;
|
271
|
+
}
|
272
|
+
.form-group.has-error .fileinput .fileinput-preview {
|
273
|
+
color: #a94442;
|
274
|
+
}
|
275
|
+
.form-group.has-error .fileinput .thumbnail {
|
276
|
+
border-color: #ebccd1;
|
277
|
+
}
|
278
|
+
.form-group.has-success .fileinput .fileinput-preview {
|
279
|
+
color: #3c763d;
|
280
|
+
}
|
281
|
+
.form-group.has-success .fileinput .thumbnail {
|
282
|
+
border-color: #d6e9c6;
|
283
|
+
}
|
284
|
+
.input-group-addon:not(:first-child) {
|
285
|
+
border-left: 0;
|
286
|
+
}
|
287
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: para
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Valentin Ballestrino
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -124,16 +124,16 @@ dependencies:
|
|
124
124
|
name: active_decorator
|
125
125
|
requirement: !ruby/object:Gem::Requirement
|
126
126
|
requirements:
|
127
|
-
- - "
|
127
|
+
- - "~>"
|
128
128
|
- !ruby/object:Gem::Version
|
129
|
-
version: '0'
|
129
|
+
version: '0.9'
|
130
130
|
type: :runtime
|
131
131
|
prerelease: false
|
132
132
|
version_requirements: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
134
|
-
- - "
|
134
|
+
- - "~>"
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version: '0'
|
136
|
+
version: '0.9'
|
137
137
|
- !ruby/object:Gem::Dependency
|
138
138
|
name: cocoon
|
139
139
|
requirement: !ruby/object:Gem::Requirement
|
@@ -204,20 +204,6 @@ dependencies:
|
|
204
204
|
- - ">="
|
205
205
|
- !ruby/object:Gem::Version
|
206
206
|
version: '0'
|
207
|
-
- !ruby/object:Gem::Dependency
|
208
|
-
name: friendly_id
|
209
|
-
requirement: !ruby/object:Gem::Requirement
|
210
|
-
requirements:
|
211
|
-
- - ">="
|
212
|
-
- !ruby/object:Gem::Version
|
213
|
-
version: '0'
|
214
|
-
type: :runtime
|
215
|
-
prerelease: false
|
216
|
-
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
requirements:
|
218
|
-
- - ">="
|
219
|
-
- !ruby/object:Gem::Version
|
220
|
-
version: '0'
|
221
207
|
- !ruby/object:Gem::Dependency
|
222
208
|
name: deep_cloneable
|
223
209
|
requirement: !ruby/object:Gem::Requirement
|
@@ -330,34 +316,48 @@ dependencies:
|
|
330
316
|
- - "~>"
|
331
317
|
- !ruby/object:Gem::Version
|
332
318
|
version: '6.2'
|
319
|
+
- !ruby/object:Gem::Dependency
|
320
|
+
name: friendly_id
|
321
|
+
requirement: !ruby/object:Gem::Requirement
|
322
|
+
requirements:
|
323
|
+
- - "~>"
|
324
|
+
- !ruby/object:Gem::Version
|
325
|
+
version: '5.1'
|
326
|
+
type: :runtime
|
327
|
+
prerelease: false
|
328
|
+
version_requirements: !ruby/object:Gem::Requirement
|
329
|
+
requirements:
|
330
|
+
- - "~>"
|
331
|
+
- !ruby/object:Gem::Version
|
332
|
+
version: '5.1'
|
333
333
|
- !ruby/object:Gem::Dependency
|
334
334
|
name: bootstrap-sass
|
335
335
|
requirement: !ruby/object:Gem::Requirement
|
336
336
|
requirements:
|
337
337
|
- - "~>"
|
338
338
|
- !ruby/object:Gem::Version
|
339
|
-
version:
|
339
|
+
version: 3.3.0
|
340
340
|
type: :runtime
|
341
341
|
prerelease: false
|
342
342
|
version_requirements: !ruby/object:Gem::Requirement
|
343
343
|
requirements:
|
344
344
|
- - "~>"
|
345
345
|
- !ruby/object:Gem::Version
|
346
|
-
version:
|
346
|
+
version: 3.3.0
|
347
347
|
- !ruby/object:Gem::Dependency
|
348
348
|
name: font-awesome-rails
|
349
349
|
requirement: !ruby/object:Gem::Requirement
|
350
350
|
requirements:
|
351
|
-
- - "
|
351
|
+
- - "~>"
|
352
352
|
- !ruby/object:Gem::Version
|
353
|
-
version: 4.
|
353
|
+
version: 4.7.0
|
354
354
|
type: :runtime
|
355
355
|
prerelease: false
|
356
356
|
version_requirements: !ruby/object:Gem::Requirement
|
357
357
|
requirements:
|
358
|
-
- - "
|
358
|
+
- - "~>"
|
359
359
|
- !ruby/object:Gem::Version
|
360
|
-
version: 4.
|
360
|
+
version: 4.7.0
|
361
361
|
- !ruby/object:Gem::Dependency
|
362
362
|
name: haml-rails
|
363
363
|
requirement: !ruby/object:Gem::Requirement
|
@@ -388,6 +388,20 @@ dependencies:
|
|
388
388
|
version: '0'
|
389
389
|
- !ruby/object:Gem::Dependency
|
390
390
|
name: font-awesome-sass
|
391
|
+
requirement: !ruby/object:Gem::Requirement
|
392
|
+
requirements:
|
393
|
+
- - "~>"
|
394
|
+
- !ruby/object:Gem::Version
|
395
|
+
version: 4.7.0
|
396
|
+
type: :runtime
|
397
|
+
prerelease: false
|
398
|
+
version_requirements: !ruby/object:Gem::Requirement
|
399
|
+
requirements:
|
400
|
+
- - "~>"
|
401
|
+
- !ruby/object:Gem::Version
|
402
|
+
version: 4.7.0
|
403
|
+
- !ruby/object:Gem::Dependency
|
404
|
+
name: compass-rails
|
391
405
|
requirement: !ruby/object:Gem::Requirement
|
392
406
|
requirements:
|
393
407
|
- - ">="
|
@@ -401,7 +415,7 @@ dependencies:
|
|
401
415
|
- !ruby/object:Gem::Version
|
402
416
|
version: '0'
|
403
417
|
- !ruby/object:Gem::Dependency
|
404
|
-
name:
|
418
|
+
name: coffee-rails
|
405
419
|
requirement: !ruby/object:Gem::Requirement
|
406
420
|
requirements:
|
407
421
|
- - ">="
|
@@ -418,16 +432,22 @@ dependencies:
|
|
418
432
|
name: vertebra
|
419
433
|
requirement: !ruby/object:Gem::Requirement
|
420
434
|
requirements:
|
435
|
+
- - "~>"
|
436
|
+
- !ruby/object:Gem::Version
|
437
|
+
version: '0.1'
|
421
438
|
- - ">="
|
422
439
|
- !ruby/object:Gem::Version
|
423
|
-
version:
|
440
|
+
version: 0.1.2
|
424
441
|
type: :runtime
|
425
442
|
prerelease: false
|
426
443
|
version_requirements: !ruby/object:Gem::Requirement
|
427
444
|
requirements:
|
445
|
+
- - "~>"
|
446
|
+
- !ruby/object:Gem::Version
|
447
|
+
version: '0.1'
|
428
448
|
- - ">="
|
429
449
|
- !ruby/object:Gem::Version
|
430
|
-
version:
|
450
|
+
version: 0.1.2
|
431
451
|
- !ruby/object:Gem::Dependency
|
432
452
|
name: rspec-core
|
433
453
|
requirement: !ruby/object:Gem::Requirement
|
@@ -466,10 +486,11 @@ files:
|
|
466
486
|
- MIT-LICENSE
|
467
487
|
- README.md
|
468
488
|
- Rakefile
|
469
|
-
- app/assets/images/para/admin/bg.png
|
470
489
|
- app/assets/images/para/admin/loading-spinner.gif
|
490
|
+
- app/assets/images/para/admin/tangram-mosaic.png
|
491
|
+
- app/assets/images/para/admin/template-section.svg
|
471
492
|
- app/assets/javascripts/admin/app.coffee
|
472
|
-
- app/assets/javascripts/para/admin.
|
493
|
+
- app/assets/javascripts/para/admin.coffee
|
473
494
|
- app/assets/javascripts/para/admin/async-progress.coffee
|
474
495
|
- app/assets/javascripts/para/admin/filters-form.coffee
|
475
496
|
- app/assets/javascripts/para/admin/job-tracker.coffee
|
@@ -478,6 +499,8 @@ files:
|
|
478
499
|
- app/assets/javascripts/para/admin/theme_actions.coffee
|
479
500
|
- app/assets/javascripts/para/admin/tree.coffee
|
480
501
|
- app/assets/javascripts/para/application.js
|
502
|
+
- app/assets/javascripts/para/inputs/material-input.coffee
|
503
|
+
- app/assets/javascripts/para/inputs/multi-select-input.coffee
|
481
504
|
- app/assets/javascripts/para/inputs/nested_many.coffee
|
482
505
|
- app/assets/javascripts/para/lib/ajax.coffee
|
483
506
|
- app/assets/javascripts/para/lib/remote-file-forms.coffee
|
@@ -486,39 +509,41 @@ files:
|
|
486
509
|
- app/assets/javascripts/para/lib/turbolinks-reloader.coffee
|
487
510
|
- app/assets/javascripts/para/plugins-includes.js.erb
|
488
511
|
- app/assets/stylesheets/admin/app.sass
|
489
|
-
- app/assets/stylesheets/admin/theme.sass
|
490
512
|
- app/assets/stylesheets/para/admin.sass
|
491
|
-
- app/assets/stylesheets/para/admin/
|
492
|
-
- app/assets/stylesheets/para/admin/src/
|
493
|
-
- app/assets/stylesheets/para/admin/src/
|
494
|
-
- app/assets/stylesheets/para/admin/src/
|
495
|
-
- app/assets/stylesheets/para/admin/src/
|
496
|
-
- app/assets/stylesheets/para/admin/src/
|
497
|
-
- app/assets/stylesheets/para/admin/src/
|
498
|
-
- app/assets/stylesheets/para/admin/src/
|
499
|
-
- app/assets/stylesheets/para/admin/src/
|
500
|
-
- app/assets/stylesheets/para/admin/
|
501
|
-
- app/assets/stylesheets/para/admin/
|
502
|
-
- app/assets/stylesheets/para/admin/
|
503
|
-
- app/assets/stylesheets/para/admin/
|
504
|
-
- app/assets/stylesheets/para/admin/
|
505
|
-
- app/assets/stylesheets/para/admin/
|
506
|
-
- app/assets/stylesheets/para/admin/
|
507
|
-
- app/assets/stylesheets/para/admin/
|
508
|
-
- app/assets/stylesheets/para/admin/
|
509
|
-
- app/assets/stylesheets/para/admin/
|
510
|
-
- app/assets/stylesheets/para/admin/
|
511
|
-
- app/assets/stylesheets/para/admin/
|
512
|
-
- app/assets/stylesheets/para/admin/
|
513
|
-
- app/assets/stylesheets/para/admin/
|
514
|
-
- app/assets/stylesheets/para/admin/
|
515
|
-
- app/assets/stylesheets/para/admin/
|
516
|
-
- app/assets/stylesheets/para/admin/
|
517
|
-
- app/assets/stylesheets/para/admin/
|
518
|
-
- app/assets/stylesheets/para/
|
519
|
-
- app/assets/stylesheets/para/lib/
|
520
|
-
- app/assets/stylesheets/para/
|
521
|
-
- app/assets/stylesheets/para/
|
513
|
+
- app/assets/stylesheets/para/admin/main.sass
|
514
|
+
- app/assets/stylesheets/para/admin/src/_alert.sass
|
515
|
+
- app/assets/stylesheets/para/admin/src/_base.sass
|
516
|
+
- app/assets/stylesheets/para/admin/src/_bootstrap-variables.scss
|
517
|
+
- app/assets/stylesheets/para/admin/src/_breadcrumb.sass
|
518
|
+
- app/assets/stylesheets/para/admin/src/_buttons.sass
|
519
|
+
- app/assets/stylesheets/para/admin/src/_checkable.sass
|
520
|
+
- app/assets/stylesheets/para/admin/src/_common.sass
|
521
|
+
- app/assets/stylesheets/para/admin/src/_dropdown.sass
|
522
|
+
- app/assets/stylesheets/para/admin/src/_form.sass
|
523
|
+
- app/assets/stylesheets/para/admin/src/_list.sass
|
524
|
+
- app/assets/stylesheets/para/admin/src/_mixins.sass
|
525
|
+
- app/assets/stylesheets/para/admin/src/_multi-select.sass
|
526
|
+
- app/assets/stylesheets/para/admin/src/_navigation.sass
|
527
|
+
- app/assets/stylesheets/para/admin/src/_navtabs.sass
|
528
|
+
- app/assets/stylesheets/para/admin/src/_nested-many.sass
|
529
|
+
- app/assets/stylesheets/para/admin/src/_nested_one.sass
|
530
|
+
- app/assets/stylesheets/para/admin/src/_orderable.sass
|
531
|
+
- app/assets/stylesheets/para/admin/src/_page-loading.sass
|
532
|
+
- app/assets/stylesheets/para/admin/src/_pagination.sass
|
533
|
+
- app/assets/stylesheets/para/admin/src/_panel.sass
|
534
|
+
- app/assets/stylesheets/para/admin/src/_responsive.sass
|
535
|
+
- app/assets/stylesheets/para/admin/src/_sorting.sass
|
536
|
+
- app/assets/stylesheets/para/admin/src/_statcard.sass
|
537
|
+
- app/assets/stylesheets/para/admin/src/_table.sass
|
538
|
+
- app/assets/stylesheets/para/admin/src/_tree.sass
|
539
|
+
- app/assets/stylesheets/para/admin/src/_variables.sass
|
540
|
+
- app/assets/stylesheets/para/admin/src/_well.sass
|
541
|
+
- app/assets/stylesheets/para/lib/datetimepicker.sass
|
542
|
+
- app/assets/stylesheets/para/lib/fuelux.sass
|
543
|
+
- app/assets/stylesheets/para/lib/jasny-bootstrap.sass
|
544
|
+
- app/assets/stylesheets/para/lib/redactor.sass
|
545
|
+
- app/assets/stylesheets/para/lib/selectize.sass
|
546
|
+
- app/assets/stylesheets/para/lib/slider.sass
|
522
547
|
- app/assets/stylesheets/para/plugins-includes.sass.erb
|
523
548
|
- app/controllers/concerns/para/admin/resource_controller_concerns.rb
|
524
549
|
- app/controllers/para/admin/base_controller.rb
|
@@ -530,6 +555,7 @@ files:
|
|
530
555
|
- app/controllers/para/admin/jobs_controller.rb
|
531
556
|
- app/controllers/para/admin/main_controller.rb
|
532
557
|
- app/controllers/para/admin/resources_controller.rb
|
558
|
+
- app/controllers/para/admin/search_controller.rb
|
533
559
|
- app/controllers/para/admin/settings_component_controller.rb
|
534
560
|
- app/controllers/para/application_controller.rb
|
535
561
|
- app/decorators/para/component/base_decorator.rb
|
@@ -552,6 +578,7 @@ files:
|
|
552
578
|
- app/helpers/para/navigation_helper.rb
|
553
579
|
- app/helpers/para/ordering_helper.rb
|
554
580
|
- app/helpers/para/search_helper.rb
|
581
|
+
- app/helpers/para/search_results_helper.rb
|
555
582
|
- app/helpers/para/tag_helper.rb
|
556
583
|
- app/helpers/para/translations_helper.rb
|
557
584
|
- app/helpers/para/tree_helper.rb
|
@@ -567,7 +594,9 @@ files:
|
|
567
594
|
- app/models/para/component_section.rb
|
568
595
|
- app/models/para/library.rb
|
569
596
|
- app/models/para/library/file.rb
|
597
|
+
- app/models/para/page.rb
|
570
598
|
- app/models/para/page/section.rb
|
599
|
+
- app/models/para/page/section_resource.rb
|
571
600
|
- app/views/admin/para/exporter/bases/_completed.html.haml
|
572
601
|
- app/views/layouts/para/admin.html.haml
|
573
602
|
- app/views/layouts/para/application.html.erb
|
@@ -595,16 +624,21 @@ files:
|
|
595
624
|
- app/views/para/admin/resources/_tree_item.html.haml
|
596
625
|
- app/views/para/admin/resources/edit.html.haml
|
597
626
|
- app/views/para/admin/resources/new.html.haml
|
627
|
+
- app/views/para/admin/search/_result.html.haml
|
628
|
+
- app/views/para/admin/search/index.html.haml
|
598
629
|
- app/views/para/admin/settings_component/show.html.haml
|
599
630
|
- app/views/para/admin/shared/_breadcrumbs.html.haml
|
600
631
|
- app/views/para/admin/shared/_header.html.haml
|
601
632
|
- app/views/para/admin/shared/_navigation.html.haml
|
602
633
|
- app/views/para/form/_tabs.html.haml
|
634
|
+
- app/views/para/inputs/_multi_select.html.haml
|
603
635
|
- app/views/para/inputs/_nested_many.html.haml
|
604
636
|
- app/views/para/inputs/_nested_one.html.haml
|
637
|
+
- app/views/para/inputs/multi_select/_no_items.html.haml
|
605
638
|
- app/views/para/inputs/nested_many/_add.html.haml
|
606
639
|
- app/views/para/inputs/nested_many/_add_with_subclasses.html.haml
|
607
640
|
- app/views/para/inputs/nested_many/_container.html.haml
|
641
|
+
- app/views/shared/_breadcrumbs.html.haml
|
608
642
|
- config/locales/en.yml
|
609
643
|
- config/locales/fr.yml
|
610
644
|
- db/migrate/20140911091225_create_para_components.rb
|
@@ -619,6 +653,7 @@ files:
|
|
619
653
|
- db/migrate/20160613172154_create_unaccent_extension.rb
|
620
654
|
- db/migrate/20160905134106_create_para_library_files.rb
|
621
655
|
- db/migrate/20161006105728_create_para_cache_items.rb
|
656
|
+
- db/migrate/20170324125547_create_para_page_section_resources.rb
|
622
657
|
- lib/generators/para/admin_user/admin_user_generator.rb
|
623
658
|
- lib/generators/para/component/component_generator.rb
|
624
659
|
- lib/generators/para/component/crud/crud_generator.rb
|
@@ -645,6 +680,7 @@ files:
|
|
645
680
|
- lib/generators/para/orderable/orderable_generator.rb
|
646
681
|
- lib/generators/para/orderable/templates/orderable_migration.rb
|
647
682
|
- lib/generators/para/page/section/section_generator.rb
|
683
|
+
- lib/generators/para/page/section/templates/section.html.haml.erb
|
648
684
|
- lib/generators/para/page/section/templates/section.rb.erb
|
649
685
|
- lib/generators/para/resource/resource_generator.rb
|
650
686
|
- lib/generators/para/resource/templates/resource_controller.rb
|
@@ -659,8 +695,10 @@ files:
|
|
659
695
|
- lib/para/attribute_field/datetime.rb
|
660
696
|
- lib/para/attribute_field/enum.rb
|
661
697
|
- lib/para/attribute_field/file.rb
|
698
|
+
- lib/para/attribute_field/friendly_id.rb
|
662
699
|
- lib/para/attribute_field/has_many.rb
|
663
700
|
- lib/para/attribute_field/image.rb
|
701
|
+
- lib/para/attribute_field/nested_field.rb
|
664
702
|
- lib/para/attribute_field/nested_many.rb
|
665
703
|
- lib/para/attribute_field/nested_one.rb
|
666
704
|
- lib/para/attribute_field/password.rb
|
@@ -682,6 +720,7 @@ files:
|
|
682
720
|
- lib/para/components_cleaner.rb
|
683
721
|
- lib/para/components_configuration.rb
|
684
722
|
- lib/para/config.rb
|
723
|
+
- lib/para/controller_resource.rb
|
685
724
|
- lib/para/engine.rb
|
686
725
|
- lib/para/errors.rb
|
687
726
|
- lib/para/exporter.rb
|
@@ -691,9 +730,10 @@ files:
|
|
691
730
|
- lib/para/exporter/xls.rb
|
692
731
|
- lib/para/ext.rb
|
693
732
|
- lib/para/ext/active_job_status.rb
|
694
|
-
- lib/para/ext/
|
733
|
+
- lib/para/ext/active_record_nested_attributes.rb
|
695
734
|
- lib/para/ext/paperclip.rb
|
696
735
|
- lib/para/form_builder.rb
|
736
|
+
- lib/para/form_builder/attributes_mappings_tracker.rb
|
697
737
|
- lib/para/form_builder/containers.rb
|
698
738
|
- lib/para/form_builder/field_mappings.rb
|
699
739
|
- lib/para/form_builder/nested_form.rb
|
@@ -705,9 +745,13 @@ files:
|
|
705
745
|
- lib/para/generators/field_helpers.rb
|
706
746
|
- lib/para/generators/name_helpers.rb
|
707
747
|
- lib/para/generators/named_base.rb
|
748
|
+
- lib/para/helpers.rb
|
749
|
+
- lib/para/helpers/attributes_mappings.rb
|
750
|
+
- lib/para/helpers/resource_name.rb
|
708
751
|
- lib/para/importer.rb
|
709
752
|
- lib/para/importer/base.rb
|
710
753
|
- lib/para/inputs.rb
|
754
|
+
- lib/para/inputs/multi_select_input.rb
|
711
755
|
- lib/para/inputs/nested_many_input.rb
|
712
756
|
- lib/para/inputs/nested_one_input.rb
|
713
757
|
- lib/para/job.rb
|
@@ -726,6 +770,7 @@ files:
|
|
726
770
|
- lib/para/model_field_parsers/closure_tree.rb
|
727
771
|
- lib/para/model_field_parsers/devise.rb
|
728
772
|
- lib/para/model_field_parsers/enums.rb
|
773
|
+
- lib/para/model_field_parsers/friendly_id.rb
|
729
774
|
- lib/para/model_field_parsers/globalize.rb
|
730
775
|
- lib/para/model_field_parsers/orderable.rb
|
731
776
|
- lib/para/model_field_parsers/paperclip.rb
|
@@ -745,6 +790,7 @@ files:
|
|
745
790
|
- lib/para/routing/component_name_constraint.rb
|
746
791
|
- lib/para/search.rb
|
747
792
|
- lib/para/search/distinct.rb
|
793
|
+
- lib/para/simple_form_config.rb
|
748
794
|
- lib/para/sti.rb
|
749
795
|
- lib/para/sti/root_model.rb
|
750
796
|
- lib/para/version.rb
|
@@ -752,11 +798,12 @@ files:
|
|
752
798
|
- lib/rails/routing_mapper.rb
|
753
799
|
- lib/tasks/para_tasks.rake
|
754
800
|
- vendor/assets/javascripts/html5-sortable.js
|
755
|
-
- vendor/assets/javascripts/jasny
|
801
|
+
- vendor/assets/javascripts/jasny-bootstrap.js
|
756
802
|
- vendor/assets/javascripts/jquery.remote-modal-form.coffee
|
757
803
|
- vendor/assets/javascripts/jquery.scrollto.js
|
758
|
-
- vendor/assets/stylesheets/animate.
|
759
|
-
- vendor/assets/stylesheets/
|
804
|
+
- vendor/assets/stylesheets/animate.css
|
805
|
+
- vendor/assets/stylesheets/hint.css
|
806
|
+
- vendor/assets/stylesheets/jasny-bootstrap.css
|
760
807
|
homepage: http://github.com/glyph-fr/para
|
761
808
|
licenses:
|
762
809
|
- MIT
|