tb_events 1.1.2 → 1.2.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/admin/events/application.js +16 -0
  3. data/app/assets/javascripts/{calendar_events.js → admin/events/calendar_events.js} +0 -0
  4. data/app/assets/javascripts/{spud/admin → admin/events}/calendars.js +0 -0
  5. data/app/assets/stylesheets/admin/events/application.css +4 -0
  6. data/app/assets/{javascripts/spud/events.js → stylesheets/admin/events/calendar_events.css} +0 -0
  7. data/app/assets/stylesheets/{spud → admin/events}/calendars.css +13 -27
  8. data/app/controllers/admin/calendars_controller.rb +1 -1
  9. data/app/helpers/admin/calendars_helper.rb +4 -4
  10. data/app/helpers/calendars_helper.rb +35 -42
  11. data/app/models/spud/spud_calendar_event_model.rb +2 -7
  12. data/app/models/spud_calendar.rb +18 -2
  13. data/app/views/admin/calendar_events/_calendar.html.erb +10 -4
  14. data/app/views/admin/calendar_events/_form.html.erb +15 -97
  15. data/app/views/admin/calendar_events/index.html.erb +18 -11
  16. data/app/views/admin/calendars/_calendar_legend.html.erb +5 -4
  17. data/app/views/admin/calendars/_form.html.erb +4 -19
  18. data/config/locales/en.yml +9 -0
  19. data/db/migrate/20140730182213_remove_color_from_spud_calendars.rb +8 -0
  20. data/lib/spud_events/calendar_builder.rb +1 -1
  21. data/lib/spud_events/engine.rb +2 -6
  22. data/lib/spud_events/version.rb +1 -1
  23. metadata +17 -47
  24. data/app/assets/javascripts/calendars.js +0 -2
  25. data/app/assets/javascripts/spud/admin/calendar_events.js +0 -2
  26. data/app/assets/javascripts/spud/admin/events.js +0 -51
  27. data/app/assets/lib/colorpicker/colorpicker.css +0 -164
  28. data/app/assets/lib/colorpicker/colorpicker.js +0 -484
  29. data/app/assets/lib/colorpicker/images/blank.gif +0 -0
  30. data/app/assets/lib/colorpicker/images/colorpicker_background.png +0 -0
  31. data/app/assets/lib/colorpicker/images/colorpicker_hex.png +0 -0
  32. data/app/assets/lib/colorpicker/images/colorpicker_hsb_b.png +0 -0
  33. data/app/assets/lib/colorpicker/images/colorpicker_hsb_h.png +0 -0
  34. data/app/assets/lib/colorpicker/images/colorpicker_hsb_s.png +0 -0
  35. data/app/assets/lib/colorpicker/images/colorpicker_indic.gif +0 -0
  36. data/app/assets/lib/colorpicker/images/colorpicker_overlay.png +0 -0
  37. data/app/assets/lib/colorpicker/images/colorpicker_rgb_b.png +0 -0
  38. data/app/assets/lib/colorpicker/images/colorpicker_rgb_g.png +0 -0
  39. data/app/assets/lib/colorpicker/images/colorpicker_rgb_r.png +0 -0
  40. data/app/assets/lib/colorpicker/images/colorpicker_select.gif +0 -0
  41. data/app/assets/lib/colorpicker/images/colorpicker_submit.png +0 -0
  42. data/app/assets/lib/colorpicker/images/custom_background.png +0 -0
  43. data/app/assets/lib/colorpicker/images/custom_hex.png +0 -0
  44. data/app/assets/lib/colorpicker/images/custom_hsb_b.png +0 -0
  45. data/app/assets/lib/colorpicker/images/custom_hsb_h.png +0 -0
  46. data/app/assets/lib/colorpicker/images/custom_hsb_s.png +0 -0
  47. data/app/assets/lib/colorpicker/images/custom_indic.gif +0 -0
  48. data/app/assets/lib/colorpicker/images/custom_rgb_b.png +0 -0
  49. data/app/assets/lib/colorpicker/images/custom_rgb_g.png +0 -0
  50. data/app/assets/lib/colorpicker/images/custom_rgb_r.png +0 -0
  51. data/app/assets/lib/colorpicker/images/custom_submit.png +0 -0
  52. data/app/assets/lib/colorpicker/images/select.png +0 -0
  53. data/app/assets/lib/colorpicker/images/select2.png +0 -0
  54. data/app/assets/lib/colorpicker/images/slider.png +0 -0
  55. data/app/assets/stylesheets/spud/admin/events.css +0 -16
  56. data/app/assets/stylesheets/spud/calendar_events.css +0 -18
  57. data/app/assets/stylesheets/spud/events.css +0 -4
@@ -1,16 +0,0 @@
1
- /* ...
2
- *= require spud/calendars
3
- *= require spud/calendar_events
4
- *= require colorpicker/colorpicker
5
- *= require_self
6
- */
7
-
8
- /* Calendar Color Picker
9
- ----------------------- */
10
- .spud_events_admin_color_picker {
11
- height: 28px;
12
- width: 28px;
13
- display: block;
14
- background-image: url('/assets/colorpicker/images/select2.png');
15
- background-position: 50% 50%;
16
- }
@@ -1,18 +0,0 @@
1
- a.spud_events_admin_calendar_event_marker,
2
- a.spud_events_calendar_event_marker {
3
- color: black;
4
- font-size: 11px;
5
- padding: 0 3px;
6
- margin: 0 0 3px 0;
7
- line-height: 13px;
8
- display: block;
9
- -moz-border-radius: 3px;
10
- -webkit-border-radius: 3px;
11
- border-radius: 3px;
12
- text-decoration: none;
13
- }
14
- span.spud_events_admin_calendar_event_marker:last-child,
15
- span.spud_events_calendar_event_marker:last-child {
16
- color: #191919;
17
- margin: 0;
18
- }
@@ -1,4 +0,0 @@
1
- /* ...
2
- *= require spud/calendars
3
- *= require spud/calendar_events
4
- */