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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/admin/events/application.js +16 -0
- data/app/assets/javascripts/{calendar_events.js → admin/events/calendar_events.js} +0 -0
- data/app/assets/javascripts/{spud/admin → admin/events}/calendars.js +0 -0
- data/app/assets/stylesheets/admin/events/application.css +4 -0
- data/app/assets/{javascripts/spud/events.js → stylesheets/admin/events/calendar_events.css} +0 -0
- data/app/assets/stylesheets/{spud → admin/events}/calendars.css +13 -27
- data/app/controllers/admin/calendars_controller.rb +1 -1
- data/app/helpers/admin/calendars_helper.rb +4 -4
- data/app/helpers/calendars_helper.rb +35 -42
- data/app/models/spud/spud_calendar_event_model.rb +2 -7
- data/app/models/spud_calendar.rb +18 -2
- data/app/views/admin/calendar_events/_calendar.html.erb +10 -4
- data/app/views/admin/calendar_events/_form.html.erb +15 -97
- data/app/views/admin/calendar_events/index.html.erb +18 -11
- data/app/views/admin/calendars/_calendar_legend.html.erb +5 -4
- data/app/views/admin/calendars/_form.html.erb +4 -19
- data/config/locales/en.yml +9 -0
- data/db/migrate/20140730182213_remove_color_from_spud_calendars.rb +8 -0
- data/lib/spud_events/calendar_builder.rb +1 -1
- data/lib/spud_events/engine.rb +2 -6
- data/lib/spud_events/version.rb +1 -1
- metadata +17 -47
- data/app/assets/javascripts/calendars.js +0 -2
- data/app/assets/javascripts/spud/admin/calendar_events.js +0 -2
- data/app/assets/javascripts/spud/admin/events.js +0 -51
- data/app/assets/lib/colorpicker/colorpicker.css +0 -164
- data/app/assets/lib/colorpicker/colorpicker.js +0 -484
- data/app/assets/lib/colorpicker/images/blank.gif +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_background.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_hex.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_hsb_b.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_hsb_h.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_hsb_s.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_indic.gif +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_overlay.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_rgb_b.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_rgb_g.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_rgb_r.png +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_select.gif +0 -0
- data/app/assets/lib/colorpicker/images/colorpicker_submit.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_background.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_hex.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_hsb_b.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_hsb_h.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_hsb_s.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_indic.gif +0 -0
- data/app/assets/lib/colorpicker/images/custom_rgb_b.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_rgb_g.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_rgb_r.png +0 -0
- data/app/assets/lib/colorpicker/images/custom_submit.png +0 -0
- data/app/assets/lib/colorpicker/images/select.png +0 -0
- data/app/assets/lib/colorpicker/images/select2.png +0 -0
- data/app/assets/lib/colorpicker/images/slider.png +0 -0
- data/app/assets/stylesheets/spud/admin/events.css +0 -16
- data/app/assets/stylesheets/spud/calendar_events.css +0 -18
- data/app/assets/stylesheets/spud/events.css +0 -4
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -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
|
-
}
|