caboose-cms 0.9.142 → 0.9.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/caboose/admin_crumbtrail.css.scss +3 -3
- data/app/assets/stylesheets/caboose/admin_edit_page_content_dragdrop.scss +3 -3
- data/app/assets/stylesheets/caboose/admin_main.css.scss +27 -7
- data/app/assets/stylesheets/caboose/model_binder.css +1 -3
- data/app/views/caboose/pages/_admin_header.html.erb +2 -2
- data/app/views/caboose/pages/admin_edit_general.html.erb +10 -25
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a92776f5ed142c3e522858dd4ba25d6be8957e39
|
|
4
|
+
data.tar.gz: 345197a5844595eaf4de3ea6ce9ca32049e1a3e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 533b503d91b9eb8e8805fe3af5b9dc002c998df0bf45319cfb77feb5f0247ee1c910c41b800b023f2ec4e70e84f3ae489baa085fce8ebd5b004a80cd5c471cd1
|
|
7
|
+
data.tar.gz: 22ef7c2d5a27c51aeec9e40d966b6fdb8518c6c01cb45e3db78f3e2ff4296a06c47ca0496c7d757a05f9a8cd253ef4bc8ddb9b8d1a43a5c1499dd68c1cbd1a3b
|
|
@@ -164,7 +164,7 @@ $current-text-color: #ccc;
|
|
|
164
164
|
a.icon3-settings {
|
|
165
165
|
position: absolute;
|
|
166
166
|
right: 30px;
|
|
167
|
-
top:
|
|
167
|
+
top: 9px;
|
|
168
168
|
font-size: 0;
|
|
169
169
|
color: transparent;
|
|
170
170
|
width: 23px;
|
|
@@ -201,13 +201,13 @@ $current-text-color: #ccc;
|
|
|
201
201
|
font-size: 20px;
|
|
202
202
|
position: absolute;
|
|
203
203
|
left: 5px;
|
|
204
|
-
top:
|
|
204
|
+
top: 8px;
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
a.pub {
|
|
208
208
|
position: absolute;
|
|
209
209
|
right: 9px;
|
|
210
|
-
top:
|
|
210
|
+
top: 11px;
|
|
211
211
|
font-size: 0;
|
|
212
212
|
color: transparent;
|
|
213
213
|
width: 17px;
|
|
@@ -273,7 +273,7 @@ body > .container, body > .mm-page > .container {
|
|
|
273
273
|
a {
|
|
274
274
|
display: inline-block;
|
|
275
275
|
color: #fff;
|
|
276
|
-
padding: 0 10px;
|
|
276
|
+
padding: 0 10px 1px 10px;
|
|
277
277
|
font-family: 'Roboto';
|
|
278
278
|
font-weight: 300;
|
|
279
279
|
font-size: 12px;
|
|
@@ -282,7 +282,7 @@ body > .container, body > .mm-page > .container {
|
|
|
282
282
|
margin-left: 8px;
|
|
283
283
|
text-transform: uppercase;
|
|
284
284
|
border-radius: 3px;
|
|
285
|
-
line-height:
|
|
285
|
+
line-height: 28px;
|
|
286
286
|
&[href*="revert"] {
|
|
287
287
|
background: #903b3b;
|
|
288
288
|
}
|
|
@@ -372,7 +372,7 @@ body > .container, body > .mm-page > .container {
|
|
|
372
372
|
a {
|
|
373
373
|
position: absolute;
|
|
374
374
|
top: 1px;
|
|
375
|
-
|
|
375
|
+
left: 5px;
|
|
376
376
|
text-decoration: none;
|
|
377
377
|
color: #fff;
|
|
378
378
|
display: inline-block;
|
|
@@ -178,7 +178,7 @@ h1,h2,h3,h4,h5,h6 {
|
|
|
178
178
|
margin: 0 0 20px 0;
|
|
179
179
|
width: calc(100% + 30px);
|
|
180
180
|
padding: 0 2% 0 50px;
|
|
181
|
-
height:
|
|
181
|
+
height: 54px;
|
|
182
182
|
background: #dcdcdc;
|
|
183
183
|
border-bottom: #aaa 1px solid;
|
|
184
184
|
font-size: 25px;
|
|
@@ -255,12 +255,32 @@ input, select, textarea {
|
|
|
255
255
|
font-family: 'Roboto', arial;
|
|
256
256
|
font-weight: 400;
|
|
257
257
|
border: 1px solid #ccc;
|
|
258
|
-
padding:
|
|
258
|
+
padding: 4px 4px 4px 8px;
|
|
259
259
|
height: 36px;
|
|
260
260
|
font-size: 15px;
|
|
261
261
|
z-index: 20;
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
+
span.explanation {
|
|
265
|
+
display: block;
|
|
266
|
+
color: #545454;
|
|
267
|
+
font-size: 13px;
|
|
268
|
+
padding: 4px 5px 0px 9px;
|
|
269
|
+
a {
|
|
270
|
+
color: #5151a9;
|
|
271
|
+
text-decoration: none;
|
|
272
|
+
&:hover {
|
|
273
|
+
color: #69a951;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
div.field_with_explanation {
|
|
279
|
+
padding: 13px 5px 10px 5px;
|
|
280
|
+
border-bottom: 1px solid #e8e8e8;
|
|
281
|
+
max-width: 800px;
|
|
282
|
+
}
|
|
283
|
+
|
|
264
284
|
input:focus, textarea:focus {
|
|
265
285
|
outline-width: 0;
|
|
266
286
|
border-color: #28acc1;
|
|
@@ -582,7 +602,7 @@ Page Bar Generator
|
|
|
582
602
|
#tabs a {
|
|
583
603
|
display: block;
|
|
584
604
|
margin: 0;
|
|
585
|
-
padding:
|
|
605
|
+
padding: 12px;
|
|
586
606
|
text-decoration: none;
|
|
587
607
|
background: #efefef;
|
|
588
608
|
border-bottom: #ccc 1px solid;
|
|
@@ -631,12 +651,12 @@ Page Bar Generator
|
|
|
631
651
|
text-align: center;
|
|
632
652
|
font-family: "Roboto", Arial;
|
|
633
653
|
font-weight: 400;
|
|
634
|
-
padding: 1px 15px
|
|
654
|
+
padding: 1px 15px 3px 15px;
|
|
635
655
|
height: auto;
|
|
636
656
|
display: inline-block;
|
|
637
657
|
margin: 0 auto;
|
|
638
658
|
font-size: 15px;
|
|
639
|
-
line-height:
|
|
659
|
+
line-height: 30px;
|
|
640
660
|
cursor: pointer;
|
|
641
661
|
border: 1px solid #fff;
|
|
642
662
|
-webkit-border-radius: 5px;
|
|
@@ -654,7 +674,7 @@ Page Bar Generator
|
|
|
654
674
|
text-align: center;
|
|
655
675
|
font-family: "Roboto", Arial;
|
|
656
676
|
font-weight: 400;
|
|
657
|
-
padding: 1px 15px
|
|
677
|
+
padding: 1px 15px 3px 15px;
|
|
658
678
|
height: auto;
|
|
659
679
|
display: inline-block;
|
|
660
680
|
margin: 0 auto;
|
|
@@ -665,7 +685,7 @@ Page Bar Generator
|
|
|
665
685
|
-webkit-appearance: none;
|
|
666
686
|
-moz-border-radius: 5px;
|
|
667
687
|
border-radius: 5px;
|
|
668
|
-
line-height:
|
|
688
|
+
line-height: 30px;
|
|
669
689
|
text-decoration: none !important;
|
|
670
690
|
}
|
|
671
691
|
|
|
@@ -17,22 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
<%= render :partial => 'caboose/pages/admin_footer' %>
|
|
19
19
|
|
|
20
|
-
<% content_for :caboose_css do %>
|
|
21
|
-
<style type='text/css'>
|
|
22
20
|
|
|
23
|
-
div.field_with_explanation {
|
|
24
|
-
width: 420px;
|
|
25
|
-
background: #efefef;
|
|
26
|
-
margin-bottom: 12px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
span.explanation {
|
|
30
|
-
display: block;
|
|
31
|
-
padding: 8px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
</style>
|
|
35
|
-
<% end %>
|
|
36
21
|
<% content_for :caboose_js do %>
|
|
37
22
|
<script type='text/javascript'>
|
|
38
23
|
|
|
@@ -51,18 +36,18 @@ $(document).ready(function() {
|
|
|
51
36
|
update_url: '/admin/pages/<%= @page.id %>',
|
|
52
37
|
authenticity_token: '<%= form_authenticity_token %>',
|
|
53
38
|
attributes: [
|
|
54
|
-
{ name: 'title' , nice_name: 'Title' , type: 'text' , value: <%= raw Caboose.json(@page.title ) %> , width:
|
|
55
|
-
{ name: 'menu_title' , nice_name: 'Menu title' , type: 'text' , value: <%= raw Caboose.json(@page.menu_title ) %> , width:
|
|
56
|
-
{ name: 'parent_id' , nice_name: 'Parent' , type: 'select' , value: <%= @page.parent_id %> , width:
|
|
57
|
-
{ name: 'slug' , nice_name: 'Slug' , type: 'text' , value: <%= raw Caboose.json(@page.slug ) %> , width:
|
|
58
|
-
{ name: 'alias' , nice_name: 'Alias' , type: 'text' , value: <%= raw Caboose.json(@page.alias ) %> , width:
|
|
59
|
-
{ name: 'redirect_url' , nice_name: 'Redirect URL' , type: 'text' , value: <%= raw Caboose.json(@page.redirect_url ) %> , width:
|
|
60
|
-
{ name: 'hide' , nice_name: 'Hide' , type: 'checkbox' , value: <%= raw @page.hide %> , width:
|
|
61
|
-
{ name: 'custom_sort_children' , nice_name: 'Custom sort children' , type: 'checkbox' , value: <%= raw @page.custom_sort_children %> , width:
|
|
39
|
+
{ name: 'title' , nice_name: 'Title' , type: 'text' , value: <%= raw Caboose.json(@page.title ) %> , width: 500 },
|
|
40
|
+
{ name: 'menu_title' , nice_name: 'Menu title' , type: 'text' , value: <%= raw Caboose.json(@page.menu_title ) %> , width: 500 },
|
|
41
|
+
{ name: 'parent_id' , nice_name: 'Parent' , type: 'select' , value: <%= @page.parent_id %> , width: 500, after_update: function() { update_uri(<%= @page.id %>); }, text: <%= raw (@page.parent_id == -1 ? "[No Parent]" : @page.parent.title).to_json %>, options_url: '/admin/pages/sitemap-options' },
|
|
42
|
+
{ name: 'slug' , nice_name: 'Slug' , type: 'text' , value: <%= raw Caboose.json(@page.slug ) %> , width: 500, after_update: function() { update_uri(<%= @page.id %>); } },
|
|
43
|
+
{ name: 'alias' , nice_name: 'Alias' , type: 'text' , value: <%= raw Caboose.json(@page.alias ) %> , width: 500, after_update: function() { update_uri(<%= @page.id %>); } },
|
|
44
|
+
{ name: 'redirect_url' , nice_name: 'Redirect URL' , type: 'text' , value: <%= raw Caboose.json(@page.redirect_url ) %> , width: 500 },
|
|
45
|
+
{ name: 'hide' , nice_name: 'Hide' , type: 'checkbox' , value: <%= raw @page.hide %> , width: 500 },
|
|
46
|
+
{ name: 'custom_sort_children' , nice_name: 'Custom sort children' , type: 'checkbox' , value: <%= raw @page.custom_sort_children %> , width: 500 },
|
|
62
47
|
<% if false %>
|
|
63
|
-
{ name: 'content_format' , nice_name: 'Content format' , type: 'select' , value: <%= raw Caboose.json(@page.content_format ) %> , width:
|
|
48
|
+
{ name: 'content_format' , nice_name: 'Content format' , type: 'select' , value: <%= raw Caboose.json(@page.content_format ) %> , width: 500, text: <%= raw Caboose.json(@page.content_format) %>, options_url: '/admin/pages/format-options' },
|
|
64
49
|
<% end %>
|
|
65
|
-
{ name: 'tags' , nice_name: 'Tags' , type: 'text' , value: <%= raw Caboose.json(tags ) %> , width:
|
|
50
|
+
{ name: 'tags' , nice_name: 'Tags' , type: 'text' , value: <%= raw Caboose.json(tags ) %> , width: 500 }
|
|
66
51
|
]
|
|
67
52
|
});
|
|
68
53
|
});
|
data/lib/caboose/version.rb
CHANGED