caboose-cms 0.2.15 → 0.2.16

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 ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NDgyNDZmMmVhZDBiMjQ2NGVmODgxMDI4NjAyYWRhMzg2NTEyNTRhNg==
5
+ data.tar.gz: !binary |-
6
+ N2Q3Mzg3NTBkNjIzYmYzMDlkZDc1YTlkY2I2ZTk2YjM4N2IwNTgyNQ==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ YjQyODY1ZDk1ZTI2MzgwMTBlYjRmYzA1MWM0MDJmNDQ0MGEyZTViNWM1ZWY5
10
+ YzBkMzJjMWM4NDg3YmYzNWNiY2ZkZGRhY2ZkMzRiNTQ0ZDhlNDY2NGQxNTlk
11
+ YzgxYjlhZjdlYTg3ZDQwYWE4YjYyNDJjZDhiODYwYmIxN2Q4ZGM=
12
+ data.tar.gz: !binary |-
13
+ N2ExZmUzMDViMDdkNTYwODEwZjIwYTY3ZWU3NmUxOWZhMGNmNTE5OTkzMGEx
14
+ ODU0YTJkNDQzY2Q4OGViYjZmOWJiNzAwNTZjYzc3NTE2MzE0OTM1MjJkNzBm
15
+ YTIyYmE2YzZhZGUwMzUwZmIzNDYxMTNhNDNjMzM0OTM5ZWM5Nzc=
@@ -28,7 +28,7 @@ Attribute.prototype = {
28
28
  {
29
29
  if (resp.attributes && resp.attributes[this2.name])
30
30
  for (var thing in resp.attributes[this2.name])
31
- this2[thing] = resp.attributes[this2.name][thing];
31
+ this2[thing] = resp.attributes[this2.name][thing];
32
32
  this2.value_clean = this2.value;
33
33
  }
34
34
  if (after) after(resp);
@@ -52,7 +52,7 @@ BoundSelect = BoundControl.extend({
52
52
  .css('width', $('#'+this2.el).outerWidth())
53
53
  .on('change', function() {
54
54
  $('#'+this2.el).val($('#'+this2.el+'_select').val());
55
- this2.save();
55
+ this2.save();
56
56
  });
57
57
 
58
58
  $.each(this2.attribute.options, function(i, option) {
@@ -80,6 +80,8 @@ BoundSelect = BoundControl.extend({
80
80
  this.attribute.value = $('#'+this.el).val();
81
81
  var this2 = this;
82
82
  this.model.save(this.attribute, function(resp) {
83
+ if (this2.attribute.text)
84
+ $('#'+this2.el).val(this2.attribute.text);
83
85
  $('#'+this2.el+'_check a').removeClass('loading');
84
86
  if (resp.error) this2.error(resp.error);
85
87
  else
@@ -206,16 +206,53 @@ select.fake option {
206
206
  right: 0;
207
207
  }
208
208
 
209
+ #modal_content table.data {
210
+ border-collapse: collapse;
211
+ }
212
+
209
213
  #modal_content table.data th {
210
- background: #222222;
211
- border: #333 1px solid;
214
+ background: #000;
215
+ border: #333 1px solid;
216
+ color: #efefef;
217
+ margin: 0;
218
+ padding: 0;
219
+ }
220
+
221
+ #modal_content table.data th a {
222
+ display: block;
223
+ text-decoration: none;
224
+ border: none;
212
225
  color: #fff;
226
+ padding: 8px 12px;
227
+ }
228
+
229
+ #modal_content table.data th a:hover {
230
+ color: #fff;
231
+ background: #333;
213
232
  }
214
233
 
215
234
  #modal_content table.data td {
216
235
  background: #111111;
217
236
  border: #333 1px solid;
218
237
  color: #fff;
238
+ margin: 0;
239
+ padding: 8px 12px;
240
+ }
241
+
242
+ #modal_content table.data tr:nth-child(even) td {
243
+ background-color: #000;
244
+ }
245
+
246
+
247
+ #modal_content table.data tr:nth-child(odd) td {
248
+ background-color: transparent;
249
+ }
250
+
251
+ #modal_content table.data tr:hover td,
252
+ #modal_content table.data tr:nth-child(even):hover td,
253
+ #modal_content table.data tr:nth-child(odd):hover td {
254
+ background: #333;
255
+ color: #fff;
219
256
  }
220
257
 
221
258
  /*******************************************************************************
@@ -237,3 +274,86 @@ Modeljs
237
274
  clear: both;
238
275
  line-height: 0;
239
276
  }
277
+
278
+ /*******************************************************************************
279
+ Message boxes
280
+ *******************************************************************************/
281
+
282
+ #modal_content .note {
283
+ padding: 20px;
284
+ background: #fef49c;
285
+ color: #000000;
286
+ font-weight: bold;
287
+ font-size: 1.4em;
288
+ }
289
+
290
+ #modal_content .note_small {
291
+ display: block;
292
+ padding: 4px 10px;
293
+ background: #fef49c;
294
+ color: #000000;
295
+ font-size: 1em;
296
+ }
297
+
298
+ #modal_content .error {
299
+ background: #9c171b;
300
+ color: #ffffff;
301
+ }
302
+
303
+ #modal_content .error a {
304
+ color: #fff;
305
+ }
306
+
307
+ #modal_content .error a:hover {
308
+ color: #000;
309
+ }
310
+
311
+ #modal_content .success {
312
+ background: #009900;
313
+ color: #ffffff;
314
+ }
315
+
316
+ #modal_content .success a {
317
+ color: #ffffff;
318
+ }
319
+
320
+ /*******************************************************************************
321
+ Page Bar Generator
322
+ *******************************************************************************/
323
+
324
+ .page_links {
325
+
326
+ }
327
+
328
+ .page_links a {
329
+ display: inline-block;
330
+ margin: 0 2px;
331
+ padding: 5px 8px 3px 8px;
332
+
333
+ border: #505050 1px solid;
334
+ background: #000;
335
+ color: #505050;
336
+ text-decoration: none;
337
+ }
338
+
339
+ .page_links a:hover {
340
+ background: #505050;
341
+ color: #fff;
342
+ }
343
+
344
+ .page_links .middle_links a {
345
+
346
+ }
347
+
348
+ .page_links span.current_page {
349
+ display: inline-block;
350
+ padding: 5px 8px 3px 8px;
351
+
352
+ border: #ccc 1px solid;
353
+ background: #ccc;
354
+ color: #000;
355
+ text-decoration: none;
356
+ }
357
+
358
+ #search_form input[type='text'] { height: 20px; padding: 6px 12px; }
359
+ #search_form input[type='submit'] { height: 35px; padding: 0 12px; }
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.2.15'
2
+ VERSION = '0.2.16'
3
3
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.15
5
- prerelease:
4
+ version: 0.2.16
6
5
  platform: ruby
7
6
  authors:
8
7
  - William Barry
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-07-31 00:00:00.000000000 Z
11
+ date: 2013-08-05 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: jquery-rails
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ! '>='
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ! '>='
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: jquery-ui-rails
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ! '>='
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ! '>='
60
53
  - !ruby/object:Gem::Version
@@ -62,7 +55,6 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: activesupport
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - ! '>='
68
60
  - !ruby/object:Gem::Version
@@ -70,7 +62,6 @@ dependencies:
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - ! '>='
76
67
  - !ruby/object:Gem::Version
@@ -78,7 +69,6 @@ dependencies:
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: tinymce-rails
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
73
  - - ! '>='
84
74
  - !ruby/object:Gem::Version
@@ -86,7 +76,6 @@ dependencies:
86
76
  type: :runtime
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
80
  - - ! '>='
92
81
  - !ruby/object:Gem::Version
@@ -94,7 +83,6 @@ dependencies:
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: trollop
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
87
  - - ! '>='
100
88
  - !ruby/object:Gem::Version
@@ -102,7 +90,6 @@ dependencies:
102
90
  type: :runtime
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
94
  - - ! '>='
108
95
  - !ruby/object:Gem::Version
@@ -110,7 +97,6 @@ dependencies:
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: colorbox-rails
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
101
  - - ! '>='
116
102
  - !ruby/object:Gem::Version
@@ -118,7 +104,6 @@ dependencies:
118
104
  type: :runtime
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
108
  - - ! '>='
124
109
  - !ruby/object:Gem::Version
@@ -138,6 +123,7 @@ files:
138
123
  - app/assets/images/caboose/loading_green.gif
139
124
  - app/assets/images/caboose/loading_small_white_on_black.gif
140
125
  - app/assets/images/caboose/loading_white_on_black.gif
126
+ - app/assets/images/caboose/search.png
141
127
  - app/assets/javascripts/caboose/admin.js
142
128
  - app/assets/javascripts/caboose/application.js
143
129
  - app/assets/javascripts/caboose/modal.js
@@ -295,27 +281,26 @@ files:
295
281
  - test/test_helper.rb
296
282
  homepage: http://github.com/williambarry007/caboose-cms
297
283
  licenses: []
284
+ metadata: {}
298
285
  post_install_message:
299
286
  rdoc_options: []
300
287
  require_paths:
301
288
  - lib
302
289
  required_ruby_version: !ruby/object:Gem::Requirement
303
- none: false
304
290
  requirements:
305
291
  - - ! '>='
306
292
  - !ruby/object:Gem::Version
307
293
  version: '0'
308
294
  required_rubygems_version: !ruby/object:Gem::Requirement
309
- none: false
310
295
  requirements:
311
296
  - - ! '>='
312
297
  - !ruby/object:Gem::Version
313
298
  version: '0'
314
299
  requirements: []
315
300
  rubyforge_project:
316
- rubygems_version: 1.8.25
301
+ rubygems_version: 2.0.6
317
302
  signing_key:
318
- specification_version: 3
303
+ specification_version: 4
319
304
  summary: CMS built on rails.
320
305
  test_files:
321
306
  - test/caboose_test.rb