caboose-cms 0.9.95 → 0.9.96
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/caboose/model/bound_checkbox_multiple.js +2 -0
- data/app/assets/stylesheets/caboose/admin_main.css +14 -3
- data/app/assets/stylesheets/caboose/model_binder.css +4 -0
- data/app/controllers/caboose/pages_controller.rb +1 -1
- data/lib/caboose/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ad6269e8a9403d6c83fbee89f8a009f5d2b88de
|
4
|
+
data.tar.gz: 7c05f793ff82f90e2a60a2137e119c812fba3e33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3aa14db6159e76f2112daee0f165b2c5430f9d18ca2065999a0f1de9e862739dc5aa85c3c161916ac4408033e13bae7dd8379ce135c0ce272ed6c5d830817347
|
7
|
+
data.tar.gz: de7420a330a17cd0cc1d4acbedf6b91d4ce10785b39dc273052482f4150f29cd0c317ded447e0f8cbc524158d6fc46e746705f19ed6b2366a82a98602d5d865f
|
@@ -23,6 +23,8 @@ BoundCheckboxMultiple = BoundControl.extend({
|
|
23
23
|
.attr('id', this.el + '_container')
|
24
24
|
.addClass('mb_container')
|
25
25
|
.css('position', 'relative');
|
26
|
+
if (this.attribute.width)
|
27
|
+
div.css('width', '' + this.attribute.width + 'px').css('overflow-x', 'scroll');
|
26
28
|
if (this.attribute.height)
|
27
29
|
div.css('height', '' + this.attribute.height + 'px').css('overflow-y', 'scroll');
|
28
30
|
$('#'+this.el).wrap(div);
|
@@ -242,7 +242,7 @@ select.fake option {
|
|
242
242
|
|
243
243
|
#content .mb_container input[type='checkbox'] {
|
244
244
|
position: absolute;
|
245
|
-
top:
|
245
|
+
top: 1px;
|
246
246
|
left: 0;
|
247
247
|
z-index: 19;
|
248
248
|
}
|
@@ -253,6 +253,16 @@ select.fake option {
|
|
253
253
|
width: 20px;
|
254
254
|
}
|
255
255
|
|
256
|
+
#content .note .label_with_checkbox input[type="checkbox"] {
|
257
|
+
position: relative;
|
258
|
+
top: 4px;
|
259
|
+
margin-right: 5px;
|
260
|
+
height: 20px;
|
261
|
+
}
|
262
|
+
.note .label_with_checkbox label {
|
263
|
+
font-size: 15px;
|
264
|
+
}
|
265
|
+
|
256
266
|
#content .search_form {
|
257
267
|
position: absolute;
|
258
268
|
top: 0;
|
@@ -286,9 +296,10 @@ select.fake option {
|
|
286
296
|
|
287
297
|
#content table.data td {
|
288
298
|
background: #fff;
|
289
|
-
border: #
|
299
|
+
border: #bdbdbd 1px solid;
|
290
300
|
margin: 0;
|
291
|
-
padding:
|
301
|
+
padding: 4px 10px 2px 10px;
|
302
|
+
font-size: 15px;
|
292
303
|
}
|
293
304
|
|
294
305
|
#content table.data td.edit_button {
|
@@ -138,6 +138,10 @@ div.mb_container form.mb_file_form div.mb_placeholder span {
|
|
138
138
|
line-height: 0;
|
139
139
|
}
|
140
140
|
|
141
|
+
table.data .mb_container table.data.checkbox_multiple {
|
142
|
+
width: 100%;
|
143
|
+
}
|
144
|
+
|
141
145
|
.mb_fake_file_input {
|
142
146
|
position: relative;
|
143
147
|
overflow: hidden;
|
@@ -330,7 +330,7 @@ module Caboose
|
|
330
330
|
elsif site_id.nil? then resp.error = "Invalid site"
|
331
331
|
elsif parent_id.nil? then resp.error = "Invalid parent"
|
332
332
|
else
|
333
|
-
resp.new_id = p.duplicate(site_id, parent_id, duplicate_children, block_type_id, child_block_type_id)
|
333
|
+
resp.new_id = p.delay(:priority => 20).duplicate(site_id, parent_id, duplicate_children, block_type_id, child_block_type_id)
|
334
334
|
resp.success = true
|
335
335
|
end
|
336
336
|
|
data/lib/caboose/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.96
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|
@@ -1330,7 +1330,7 @@ signing_key:
|
|
1330
1330
|
specification_version: 4
|
1331
1331
|
summary: CMS built on rails.
|
1332
1332
|
test_files:
|
1333
|
-
- spec/factories/caboose_blocks.rb
|
1334
|
-
- spec/factories/caboose_users.rb
|
1335
1333
|
- spec/models/block_spec.rb
|
1336
1334
|
- spec/models/user_spec.rb
|
1335
|
+
- spec/factories/caboose_users.rb
|
1336
|
+
- spec/factories/caboose_blocks.rb
|