cable 0.8.6 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. data/VERSION +1 -1
  2. data/app/views/layouts/_breadcrumb.html.erb +1 -0
  3. data/app/views/layouts/_messages.html.erb +3 -3
  4. data/app/views/layouts/admin.html.erb +21 -26
  5. data/lib/generators/cable/menu/templates/erb/menus/_menu_children_table.html.erb +1 -1
  6. data/lib/generators/cable/menu/templates/erb/menus/move.html.erb +0 -16
  7. data/lib/generators/cable/menu/templates/migration.rb +1 -0
  8. data/lib/generators/cable/resource/templates/erb/scaffold/_form.html.erb +18 -25
  9. data/lib/generators/cable/resource/templates/erb/scaffold/index.html.erb +47 -45
  10. data/lib/generators/cable/resource/templates/erb/scaffold/show.html.erb +1 -2
  11. data/public/images/cable/add.png +0 -0
  12. data/public/images/cable/children.png +0 -0
  13. data/public/images/cable/empty-menu.png +0 -0
  14. data/public/images/cable/header-background.jpg +0 -0
  15. data/public/images/cable/help.png +0 -0
  16. data/public/images/cable/loader.gif +0 -0
  17. data/public/javascripts/cable_menu.js +316 -0
  18. data/public/stylesheets/cable/base.css +25 -0
  19. data/public/stylesheets/cable/buttons.css +55 -0
  20. data/public/stylesheets/cable/formtastic_changes.css +51 -0
  21. data/public/stylesheets/cable/menu.css +120 -0
  22. data/public/stylesheets/cable/pagination.css +10 -0
  23. data/public/stylesheets/cable/regions.css +247 -0
  24. data/public/stylesheets/cable/search.css +45 -0
  25. data/public/stylesheets/cable/tables.css +34 -0
  26. data/public/stylesheets/cable/tags.css +61 -0
  27. data/public/stylesheets/cable.css +9 -859
  28. data/public/stylesheets/{ui/aristo/images/button_bg.png → jquery/ui/images/bg_fallback.png} +0 -0
  29. data/public/stylesheets/jquery/ui/images/icon_sprite.png +0 -0
  30. data/public/stylesheets/jquery/ui/images/progress_bar.gif +0 -0
  31. data/public/stylesheets/{ui/aristo/images/ui-icons_ffffff_256x240.png → jquery/ui/images/ui-icons_454545_256x240.png} +0 -0
  32. data/public/stylesheets/{ui/aristo/aristo.css → jquery/ui/jquery-ui-1.8.7.custom.css} +345 -166
  33. metadata +27 -66
  34. data/public/images/iphone-style-checkboxes/off.png +0 -0
  35. data/public/images/iphone-style-checkboxes/on.png +0 -0
  36. data/public/images/iphone-style-checkboxes/slider.png +0 -0
  37. data/public/images/iphone-style-checkboxes/slider_center.png +0 -0
  38. data/public/images/iphone-style-checkboxes/slider_left.png +0 -0
  39. data/public/images/iphone-style-checkboxes/slider_right.png +0 -0
  40. data/public/javascripts/iphone-style-checkboxes.js +0 -224
  41. data/public/javascripts/jquery.columnview.js +0 -84
  42. data/public/javascripts/jstree/_lib/jquery.cookie.js +0 -96
  43. data/public/javascripts/jstree/_lib/jquery.hotkeys.js +0 -99
  44. data/public/javascripts/jstree/_lib/jquery.js +0 -6240
  45. data/public/javascripts/jstree/jquery.jstree.js +0 -4526
  46. data/public/javascripts/jstree/themes/apple/bg.jpg +0 -0
  47. data/public/javascripts/jstree/themes/apple/d.png +0 -0
  48. data/public/javascripts/jstree/themes/apple/dot_for_ie.gif +0 -0
  49. data/public/javascripts/jstree/themes/apple/style.css +0 -61
  50. data/public/javascripts/jstree/themes/apple/throbber.gif +0 -0
  51. data/public/javascripts/jstree/themes/classic/d.png +0 -0
  52. data/public/javascripts/jstree/themes/classic/dot_for_ie.gif +0 -0
  53. data/public/javascripts/jstree/themes/classic/style.css +0 -59
  54. data/public/javascripts/jstree/themes/classic/throbber.gif +0 -0
  55. data/public/javascripts/jstree/themes/default/d.gif +0 -0
  56. data/public/javascripts/jstree/themes/default/d.png +0 -0
  57. data/public/javascripts/jstree/themes/default/style.css +0 -73
  58. data/public/javascripts/jstree/themes/default/throbber.gif +0 -0
  59. data/public/javascripts/jstree/themes/default-rtl/d.gif +0 -0
  60. data/public/javascripts/jstree/themes/default-rtl/d.png +0 -0
  61. data/public/javascripts/jstree/themes/default-rtl/dots.gif +0 -0
  62. data/public/javascripts/jstree/themes/default-rtl/style.css +0 -83
  63. data/public/javascripts/jstree/themes/default-rtl/throbber.gif +0 -0
  64. data/public/stylesheets/columnview.css +0 -61
  65. data/public/stylesheets/formtastic_changes.css +0 -66
  66. data/public/stylesheets/iphone_checkboxes.css +0 -76
  67. data/public/stylesheets/ui/aristo/icons.psd +0 -0
  68. data/public/stylesheets/ui/aristo/images/datepicker.gif +0 -0
  69. data/public/stylesheets/ui/aristo/images/icon_sprite.png +0 -0
  70. data/public/stylesheets/ui/aristo/images/progress_bar.gif +0 -0
  71. data/public/stylesheets/ui/aristo/images/right-arrow.png +0 -0
  72. data/public/stylesheets/ui/aristo/images/slider_h_bg.gif +0 -0
  73. data/public/stylesheets/ui/aristo/images/slider_v_bg.gif +0 -0
  74. data/public/stylesheets/ui/aristo/images/tab_bg.gif +0 -0
  75. data/public/stylesheets/ui/aristo/images/the_gradient.gif +0 -0
  76. data/public/stylesheets/ui/aristo/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  77. data/public/stylesheets/ui/aristo/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  78. data/public/stylesheets/ui/aristo/images/ui-bg_flat_10_000000_40x100.png +0 -0
  79. data/public/stylesheets/ui/aristo/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  80. data/public/stylesheets/ui/aristo/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  81. data/public/stylesheets/ui/aristo/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  82. data/public/stylesheets/ui/aristo/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  83. data/public/stylesheets/ui/aristo/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  84. data/public/stylesheets/ui/aristo/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  85. data/public/stylesheets/ui/aristo/images/ui-icons_228ef1_256x240.png +0 -0
  86. data/public/stylesheets/ui/aristo/images/ui-icons_ef8c08_256x240.png +0 -0
  87. data/public/stylesheets/ui/aristo/images/ui-icons_ffd27a_256x240.png +0 -0
  88. data/public/stylesheets/ui/images/sprite-aristo.png +0 -0
  89. data/public/stylesheets/ui/images/uniform/sprite.png +0 -0
  90. data/public/stylesheets/ui/uniform/uniform.aristo.css +0 -470
  91. data/public/stylesheets/ui/uniform/uniform.default.css +0 -477
  92. /data/public/stylesheets/{formtastic.css → cable/formtastic.css} +0 -0
  93. /data/public/stylesheets/{ui/aristo → jquery/ui}/images/slider_handles.png +0 -0
  94. /data/public/stylesheets/{ui/aristo → jquery/ui}/images/ui-icons_222222_256x240.png +0 -0
@@ -1,470 +0,0 @@
1
- /*
2
-
3
- Uniform Theme: Aristo
4
- Version: 1.0
5
- By: 280North / Ported by Josh Pyles
6
- License: Creative Commons Share Alike
7
- ---
8
- For use with the Uniform plugin:
9
- http://pixelmatrixdesign.com/uniform/
10
- ---
11
- Generated by Uniform Theme Generator:
12
- http://pixelmatrixdesign.com/uniform/themer.html
13
-
14
- */
15
-
16
- /* Global Declaration */
17
-
18
- div.selector,
19
- div.selector span,
20
- div.checker span,
21
- div.radio span,
22
- div.uploader,
23
- div.uploader span.action {
24
- background-image: url(../images/sprite-aristo.png);
25
- background-repeat: no-repeat;
26
- }
27
-
28
- .selector,
29
- .radio,
30
- .checker,
31
- .uploader,
32
- .selector *,
33
- .radio *,
34
- .checker *,
35
- .uploader *{
36
- margin: 0;
37
- padding: 0;
38
- }
39
-
40
- /* SPRITES */
41
-
42
- /* Select */
43
-
44
- div.selector {
45
- background-position: -483px -160px;
46
- line-height: 32px;
47
- height: 32px;
48
- }
49
-
50
- div.selector span {
51
- background-position: right 0px;
52
- height: 32px;
53
- line-height: 32px;
54
- }
55
-
56
- div.selector select {
57
- /* change these to adjust positioning of select element */
58
- top: 0px;
59
- left: 0px;
60
- }
61
-
62
- div.selector:active,
63
- div.selector.active {
64
- background-position: -483px -192px;
65
- }
66
-
67
- div.selector:active span,
68
- div.selector.active span {
69
- background-position: right -32px;
70
- }
71
-
72
- div.selector.focus, div.selector.hover, div.selector:hover {
73
- background-position: -483px -224px;
74
- }
75
-
76
- div.selector.focus span, div.selector.hover span, div.selector:hover span {
77
- background-position: right -64px;
78
- }
79
-
80
- div.selector.focus:active,
81
- div.selector.focus.active,
82
- div.selector:hover:active,
83
- div.selector.active:hover {
84
- background-position: -483px -256px;
85
- }
86
-
87
- div.selector.focus:active span,
88
- div.selector:hover:active span,
89
- div.selector.active:hover span,
90
- div.selector.focus.active span {
91
- background-position: right -96px;
92
- }
93
-
94
- div.selector.disabled,
95
- div.selector.disabled:active,
96
- div.selector.disabled.active {
97
- background-position: -483px -288px;
98
- }
99
-
100
- div.selector.disabled span,
101
- div.selector.disabled:active span,
102
- div.selector.disabled.active span {
103
- background-position: right -128px;
104
- }
105
-
106
- /* Checkbox */
107
-
108
- div.checker {
109
- width: 23px;
110
- height: 23px;
111
- }
112
-
113
- div.checker input {
114
- width: 23px;
115
- height: 23px;
116
- }
117
-
118
- div.checker span {
119
- background-position: 0px -320px;
120
- height: 23px;
121
- width: 23px;
122
- }
123
-
124
- div.checker:active span,
125
- div.checker.active span {
126
- background-position: -23px -320px;
127
- }
128
-
129
- div.checker.focus span,
130
- div.checker:hover span {
131
- background-position: -46px -320px;
132
- }
133
-
134
- div.checker.focus:active span,
135
- div.checker:active:hover span,
136
- div.checker.active:hover span,
137
- div.checker.focus.active span {
138
- background-position: -69px -320px;
139
- }
140
-
141
- div.checker span.checked {
142
- background-position: -92px -320px;
143
- }
144
-
145
- div.checker:active span.checked,
146
- div.checker.active span.checked {
147
- background-position: -115px -320px;
148
- }
149
-
150
- div.checker.focus span.checked,
151
- div.checker:hover span.checked {
152
- background-position: -138px -320px;
153
- }
154
-
155
- div.checker.focus:active span.checked,
156
- div.checker:hover:active span.checked,
157
- div.checker.active:hover span.checked,
158
- div.checker.active.focus span.checked {
159
- background-position: -161px -320px;
160
- }
161
-
162
- div.checker.disabled span,
163
- div.checker.disabled:active span,
164
- div.checker.disabled.active span {
165
- background-position: -184px -320px;
166
- }
167
-
168
- div.checker.disabled span.checked,
169
- div.checker.disabled:active span.checked,
170
- div.checker.disabled.active span.checked {
171
- background-position: -207px -320px;
172
- }
173
-
174
- /* radio */
175
-
176
- div.radio {
177
- width: 23px;
178
- height: 23px;
179
- }
180
-
181
- div.radio input {
182
- width: 23px;
183
- height: 23px;
184
- }
185
-
186
- div.radio span {
187
- height: 23px;
188
- width: 23px;
189
- background-position: 0px -343px;
190
- }
191
-
192
- div.radio:active span,
193
- div.radio.active span {
194
- background-position: -23px -343px;
195
- }
196
-
197
- div.radio.focus span,
198
- div.radio:hover span {
199
- background-position: -46px -343px;
200
- }
201
-
202
- div.radio.focus:active span,
203
- div.radio:active:hover span,
204
- div.radio.active:hover span,
205
- div.radio.active.focus span {
206
- background-position: -69px -343px;
207
- }
208
-
209
- div.radio span.checked {
210
- background-position: -92px -343px;
211
- }
212
-
213
- div.radio:active span.checked,
214
- div.radio.active span.checked {
215
- background-position: -115px -343px;
216
- }
217
-
218
- div.radio.focus span.checked, div.radio:hover span.checked {
219
- background-position: -138px -343px;
220
- }
221
-
222
- div.radio.focus:active span.checked,
223
- div.radio:hover:active span.checked,
224
- div.radio.focus.active span.checked,
225
- div.radio.active:hover span.checked {
226
- background-position: -161px -343px;
227
- }
228
-
229
- div.radio.disabled span,
230
- div.radio.disabled:active span,
231
- div.radio.disabled.active span {
232
- background-position: -184px -343px;
233
- }
234
-
235
- div.radio.disabled span.checked,
236
- div.radio.disabled:active span.checked,
237
- div.radio.disabled.active span.checked {
238
- background-position: -207px -343px;
239
- }
240
-
241
- /* uploader */
242
-
243
- div.uploader {
244
- background-position: 0px -366px;
245
- height: 32px;
246
- }
247
-
248
- div.uploader span.action {
249
- background-position: right -494px;
250
- height: 24px;
251
- line-height: 24px;
252
- }
253
-
254
- div.uploader span.filename {
255
- height: 24px;
256
- /* change this line to adjust positioning of filename area */
257
- margin: 4px 0px 4px 4px;
258
- line-height: 24px;
259
- }
260
-
261
- div.uploader.focus,
262
- div.uploader.hover,
263
- div.uploader:hover {
264
- background-position: 0px -430px;
265
- }
266
-
267
- div.uploader.focus span.action,
268
- div.uploader.hover span.action,
269
- div.uploader:hover span.action {
270
- background-position: right -526px;
271
- }
272
-
273
- div.uploader.active span.action,
274
- div.uploader:active span.action {
275
- background-position: right -558px;
276
- }
277
-
278
- div.uploader.focus.active span.action,
279
- div.uploader:focus.active span.action,
280
- div.uploader.focus:active span.action,
281
- div.uploader:focus:active span.action {
282
- background-position: right -590px;
283
- }
284
-
285
- div.uploader.disabled {
286
- background-position: 0px -398px;
287
- }
288
-
289
- div.uploader.disabled span.action {
290
- background-position: right -462px;
291
- }
292
-
293
- /* PRESENTATION */
294
-
295
- /* Select */
296
- div.selector {
297
- margin-bottom: 20px;
298
- width: 190px;
299
- font-weight: bold;
300
- color: #464545;
301
- font-size: 14px;
302
- }
303
-
304
- div.selector select {
305
- width: 190px;
306
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
307
- font-size: 1em;
308
- border: solid 1px #fff;
309
- }
310
-
311
- div.selector span {
312
- padding: 0px 25px 0px 2px;
313
- cursor: pointer;
314
- }
315
-
316
- div.selector span {
317
- color: #666;
318
- width: 158px;
319
- text-shadow: 0 1px 0 #fff;
320
- }
321
-
322
- div.selector.disabled span {
323
- color: #bbb;
324
- }
325
-
326
- /* checker */
327
- div.checker {
328
- margin-right: 10px;
329
- }
330
-
331
- /* radio */
332
- div.radio {
333
- margin-right: 10px;
334
- }
335
-
336
- /* uploader */
337
- div.uploader {
338
- width: 190px;
339
- margin-bottom: 20px;
340
- cursor: pointer;
341
- }
342
-
343
- div.uploader span.action {
344
- width: 83px;
345
- text-align: center;
346
- text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
347
- background-color: #fff;
348
- font-weight: bold;
349
- color: #1c4257;
350
- }
351
-
352
- div.uploader span.filename {
353
- color: #777;
354
- width: 82px;
355
- border-right: solid 1px #567c91;
356
- font-size: 90%;
357
- font-size: 11px;
358
- }
359
-
360
- div.uploader input {
361
- width: 190px;
362
- }
363
-
364
- div.uploader.disabled span.action {
365
- color: #aaa;
366
- }
367
-
368
- div.uploader.disabled span.filename {
369
- border-color: #ddd;
370
- color: #aaa;
371
- }
372
- /*
373
-
374
- CORE FUNCTIONALITY
375
-
376
- Not advised to edit stuff below this line
377
- -----------------------------------------------------
378
- */
379
-
380
- .selector select:focus, .radio input:focus, .checker input:focus, uploader input:focus {
381
- outline: 0;
382
- }
383
-
384
- /* Select */
385
-
386
- div.selector {
387
- position: relative;
388
- padding-left: 10px;
389
- }
390
-
391
- div.selector span {
392
- display: block;
393
- float: left;
394
- }
395
-
396
- div.selector select {
397
- position: absolute;
398
- opacity: 0;
399
- }
400
-
401
- /* checker */
402
-
403
- div.checker {
404
- position: relative;
405
- float: left;
406
- }
407
-
408
- div.checker span {
409
- display: block;
410
- float: left;
411
- text-align: center;
412
- }
413
-
414
- div.checker input {
415
- opacity: 0;
416
- display: inline-block;
417
- }
418
-
419
- /* radio */
420
-
421
- div.radio {
422
- position: relative;
423
- float: left;
424
- }
425
-
426
- div.radio span {
427
- display: block;
428
- float: left;
429
- text-align: center;
430
- }
431
-
432
- div.radio input {
433
- opacity: 0;
434
- text-align: center;
435
- display: inline-block;
436
- }
437
-
438
- /* uploader */
439
-
440
- div.uploader {
441
- position: relative;
442
- float: left;
443
- overflow: hidden;
444
- }
445
-
446
- div.uploader span.action {
447
- float: left;
448
- display: inline;
449
- padding: 4px 0px;
450
- overflow: hidden;
451
- cursor: pointer;
452
- }
453
-
454
- div.uploader span.filename {
455
- padding: 0px 10px;
456
- float: left;
457
- display: block;
458
- overflow: hidden;
459
- text-overflow: ellipsis;
460
- white-space: nowrap;
461
- }
462
-
463
- div.uploader input {
464
- opacity: 0;
465
- position: absolute;
466
- top: 0;
467
- right: 0;
468
- bottom: 0;
469
- float: right;
470
- }