refinerycms-sl-calendar 2.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. data/app/controllers/refinery/calendar/admin/events_controller.rb +20 -0
  2. data/app/controllers/refinery/calendar/admin/venues_controller.rb +15 -0
  3. data/app/controllers/refinery/calendar/events_controller.rb +38 -0
  4. data/app/helpers/refinery/calendar/calendar_helper.rb +246 -0
  5. data/app/models/refinery/calendar/event.rb +60 -0
  6. data/app/models/refinery/calendar/venue.rb +17 -0
  7. data/app/views/refinery/calendar/admin/events/_actions.html.erb +26 -0
  8. data/app/views/refinery/calendar/admin/events/_event.html.erb +28 -0
  9. data/app/views/refinery/calendar/admin/events/_events.html.erb +2 -0
  10. data/app/views/refinery/calendar/admin/events/_form.html.erb +86 -0
  11. data/app/views/refinery/calendar/admin/events/_records.html.erb +18 -0
  12. data/app/views/refinery/calendar/admin/events/_sortable_list.html.erb +5 -0
  13. data/app/views/refinery/calendar/admin/events/edit.html.erb +1 -0
  14. data/app/views/refinery/calendar/admin/events/index.html.erb +8 -0
  15. data/app/views/refinery/calendar/admin/events/new.html.erb +1 -0
  16. data/app/views/refinery/calendar/admin/shared/_links.html.erb +8 -0
  17. data/app/views/refinery/calendar/admin/shared/_locale_picker.html.erb +11 -0
  18. data/app/views/refinery/calendar/admin/venues/_actions.html.erb +26 -0
  19. data/app/views/refinery/calendar/admin/venues/_form.html.erb +36 -0
  20. data/app/views/refinery/calendar/admin/venues/_records.html.erb +18 -0
  21. data/app/views/refinery/calendar/admin/venues/_sortable_list.html.erb +5 -0
  22. data/app/views/refinery/calendar/admin/venues/_venue.html.erb +23 -0
  23. data/app/views/refinery/calendar/admin/venues/_venues.html.erb +2 -0
  24. data/app/views/refinery/calendar/admin/venues/edit.html.erb +1 -0
  25. data/app/views/refinery/calendar/admin/venues/index.html.erb +8 -0
  26. data/app/views/refinery/calendar/admin/venues/new.html.erb +1 -0
  27. data/app/views/refinery/calendar/events/_event.html.erb +8 -0
  28. data/app/views/refinery/calendar/events/index.html.erb +15 -0
  29. data/app/views/refinery/calendar/events/show.html.erb +28 -0
  30. data/app/views/sitemap/index.xml.builder +25 -0
  31. data/config/database.yml.mysql +20 -0
  32. data/config/database.yml.postgresql +58 -0
  33. data/config/database.yml.sqlite3 +18 -0
  34. data/config/initializers/refinery/authentication.rb +4 -0
  35. data/config/initializers/refinery/core.rb +50 -0
  36. data/config/initializers/refinery/images.rb +44 -0
  37. data/config/initializers/refinery/pages.rb +52 -0
  38. data/config/initializers/refinery/resources.rb +26 -0
  39. data/config/locales/en.yml +61 -0
  40. data/config/locales/es.yml +59 -0
  41. data/config/locales/fr.yml +57 -0
  42. data/config/locales/nb.yml +59 -0
  43. data/config/locales/nl.yml +59 -0
  44. data/config/routes.rb +31 -0
  45. data/db/migrate/1_create_calendar_events.rb +34 -0
  46. data/db/migrate/2_create_calendar_venues.rb +29 -0
  47. data/db/migrate/3_create_calendar_events_translations.rb +16 -0
  48. data/db/migrate/4_create_calendar_venues_translations.rb +13 -0
  49. data/db/seeds.rb +26 -0
  50. data/lib/generators/refinery/calendar_generator.rb +19 -0
  51. data/lib/refinery/events/engine.rb +26 -0
  52. data/lib/refinery/events.rb +21 -0
  53. data/lib/refinery/venues/engine.rb +14 -0
  54. data/lib/refinery/venues.rb +21 -0
  55. data/lib/refinerycms-calendar.rb +2 -0
  56. data/lib/tasks/refinery/calendar.rake +13 -0
  57. data/readme.md +23 -0
  58. data/vendor/assets/images/chosen-sprite.png +0 -0
  59. data/vendor/assets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  60. data/vendor/assets/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  61. data/vendor/assets/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  62. data/vendor/assets/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  63. data/vendor/assets/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  64. data/vendor/assets/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  65. data/vendor/assets/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  66. data/vendor/assets/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  67. data/vendor/assets/images/ui-icons_217bc0_256x240.png +0 -0
  68. data/vendor/assets/images/ui-icons_2e83ff_256x240.png +0 -0
  69. data/vendor/assets/images/ui-icons_469bdd_256x240.png +0 -0
  70. data/vendor/assets/images/ui-icons_6da8d5_256x240.png +0 -0
  71. data/vendor/assets/images/ui-icons_cd0a0a_256x240.png +0 -0
  72. data/vendor/assets/images/ui-icons_d8e7f3_256x240.png +0 -0
  73. data/vendor/assets/images/ui-icons_f9bd01_256x240.png +0 -0
  74. data/vendor/assets/javascripts/chosen.jquery.min.js +10 -0
  75. data/vendor/assets/javascripts/jquery.ui.timepicker.addon.js +1326 -0
  76. data/vendor/assets/javascripts/refinery/calendar.js.coffee +7 -0
  77. data/vendor/assets/stylesheets/chosen.css +372 -0
  78. data/vendor/assets/stylesheets/jquery-ui.css +377 -0
  79. data/vendor/assets/stylesheets/refinery/calendar.css.scss +22 -0
  80. metadata +158 -0
@@ -0,0 +1,377 @@
1
+ /*!
2
+ * jQuery UI CSS Framework 1.8.20
3
+ *
4
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Theming/API
9
+ */
10
+
11
+ /* Layout helpers
12
+ ----------------------------------*/
13
+ .ui-helper-hidden { display: none; }
14
+ .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
15
+ .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
16
+ .ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
17
+ .ui-helper-clearfix:after { clear: both; }
18
+ .ui-helper-clearfix { zoom: 1; }
19
+ .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
20
+
21
+
22
+ /* Interaction Cues
23
+ ----------------------------------*/
24
+ .ui-state-disabled { cursor: default !important; }
25
+
26
+
27
+ /* Icons
28
+ ----------------------------------*/
29
+
30
+ /* states and images */
31
+ .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
32
+
33
+
34
+ /* Misc visuals
35
+ ----------------------------------*/
36
+
37
+ /* Overlays */
38
+ .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
39
+
40
+
41
+ /*!
42
+ * jQuery UI CSS Framework 1.8.20
43
+ *
44
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
45
+ * Dual licensed under the MIT or GPL Version 2 licenses.
46
+ * http://jquery.org/license
47
+ *
48
+ * http://docs.jquery.com/UI/Theming/API
49
+ *
50
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Lucida%20Grande,%20Lucida%20Sans,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=5px&bgColorHeader=5c9ccc&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=55&borderColorHeader=4297d7&fcHeader=ffffff&iconColorHeader=d8e7f3&bgColorContent=fcfdfd&bgTextureContent=06_inset_hard.png&bgImgOpacityContent=100&borderColorContent=a6c9e2&fcContent=222222&iconColorContent=469bdd&bgColorDefault=dfeffc&bgTextureDefault=02_glass.png&bgImgOpacityDefault=85&borderColorDefault=c5dbec&fcDefault=2e6e9e&iconColorDefault=6da8d5&bgColorHover=d0e5f5&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=79b7e7&fcHover=1d5987&iconColorHover=217bc0&bgColorActive=f5f8f9&bgTextureActive=06_inset_hard.png&bgImgOpacityActive=100&borderColorActive=79b7e7&fcActive=e17009&iconColorActive=f9bd01&bgColorHighlight=fbec88&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=55&borderColorHighlight=fad42e&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
51
+ */
52
+
53
+
54
+ /* Component containers
55
+ ----------------------------------*/
56
+ .ui-widget { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1.1em; }
57
+ .ui-widget .ui-widget { font-size: 1em; }
58
+ .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1em; }
59
+ .ui-widget-content { border: 1px solid #a6c9e2; background: #fcfdfd url(/assets/ui-bg_inset-hard_100_fcfdfd_1x100.png) 50% bottom repeat-x; color: #222222; }
60
+ .ui-widget-content a { color: #222222; }
61
+ .ui-widget-header { border: 1px solid #4297d7; background: #5c9ccc url(/assets/ui-bg_gloss-wave_55_5c9ccc_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
62
+ .ui-widget-header a { color: #ffffff; }
63
+
64
+ /* Interaction states
65
+ ----------------------------------*/
66
+ .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #c5dbec; background: #dfeffc url(/assets/ui-bg_glass_85_dfeffc_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #2e6e9e; }
67
+ .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #2e6e9e; text-decoration: none; }
68
+ .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #79b7e7; background: #d0e5f5 url(/assets/ui-bg_glass_75_d0e5f5_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1d5987; }
69
+ .ui-state-hover a, .ui-state-hover a:hover { color: #1d5987; text-decoration: none; }
70
+ .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #79b7e7; background: #f5f8f9 url(/assets/ui-bg_inset-hard_100_f5f8f9_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #e17009; }
71
+ .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #e17009; text-decoration: none; }
72
+ .ui-widget :active { outline: none; }
73
+
74
+ /* Interaction Cues
75
+ ----------------------------------*/
76
+ .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fad42e; background: #fbec88 url(/assets/ui-bg_flat_55_fbec88_40x100.png) 50% 50% repeat-x; color: #363636; }
77
+ .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
78
+ .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(/assets/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
79
+ .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
80
+ .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
81
+ .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
82
+ .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
83
+ .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
84
+
85
+ /* Icons
86
+ ----------------------------------*/
87
+
88
+ /* states and images */
89
+ .ui-icon { width: 16px; height: 16px; background-image: url(/assets/ui-icons_469bdd_256x240.png); }
90
+ .ui-widget-content .ui-icon {background-image: url(/assets/ui-icons_469bdd_256x240.png); }
91
+ .ui-widget-header .ui-icon {background-image: url(/assets/ui-icons_d8e7f3_256x240.png); }
92
+ .ui-state-default .ui-icon { background-image: url(/assets/ui-icons_6da8d5_256x240.png); }
93
+ .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(/assets/ui-icons_217bc0_256x240.png); }
94
+ .ui-state-active .ui-icon {background-image: url(/assets/ui-icons_f9bd01_256x240.png); }
95
+ .ui-state-highlight .ui-icon {background-image: url(/assets/ui-icons_2e83ff_256x240.png); }
96
+ .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(/assets/ui-icons_cd0a0a_256x240.png); }
97
+
98
+ /* positioning */
99
+ .ui-icon-carat-1-n { background-position: 0 0; }
100
+ .ui-icon-carat-1-ne { background-position: -16px 0; }
101
+ .ui-icon-carat-1-e { background-position: -32px 0; }
102
+ .ui-icon-carat-1-se { background-position: -48px 0; }
103
+ .ui-icon-carat-1-s { background-position: -64px 0; }
104
+ .ui-icon-carat-1-sw { background-position: -80px 0; }
105
+ .ui-icon-carat-1-w { background-position: -96px 0; }
106
+ .ui-icon-carat-1-nw { background-position: -112px 0; }
107
+ .ui-icon-carat-2-n-s { background-position: -128px 0; }
108
+ .ui-icon-carat-2-e-w { background-position: -144px 0; }
109
+ .ui-icon-triangle-1-n { background-position: 0 -16px; }
110
+ .ui-icon-triangle-1-ne { background-position: -16px -16px; }
111
+ .ui-icon-triangle-1-e { background-position: -32px -16px; }
112
+ .ui-icon-triangle-1-se { background-position: -48px -16px; }
113
+ .ui-icon-triangle-1-s { background-position: -64px -16px; }
114
+ .ui-icon-triangle-1-sw { background-position: -80px -16px; }
115
+ .ui-icon-triangle-1-w { background-position: -96px -16px; }
116
+ .ui-icon-triangle-1-nw { background-position: -112px -16px; }
117
+ .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
118
+ .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
119
+ .ui-icon-arrow-1-n { background-position: 0 -32px; }
120
+ .ui-icon-arrow-1-ne { background-position: -16px -32px; }
121
+ .ui-icon-arrow-1-e { background-position: -32px -32px; }
122
+ .ui-icon-arrow-1-se { background-position: -48px -32px; }
123
+ .ui-icon-arrow-1-s { background-position: -64px -32px; }
124
+ .ui-icon-arrow-1-sw { background-position: -80px -32px; }
125
+ .ui-icon-arrow-1-w { background-position: -96px -32px; }
126
+ .ui-icon-arrow-1-nw { background-position: -112px -32px; }
127
+ .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
128
+ .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
129
+ .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
130
+ .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
131
+ .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
132
+ .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
133
+ .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
134
+ .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
135
+ .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
136
+ .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
137
+ .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
138
+ .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
139
+ .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
140
+ .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
141
+ .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
142
+ .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
143
+ .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
144
+ .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
145
+ .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
146
+ .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
147
+ .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
148
+ .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
149
+ .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
150
+ .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
151
+ .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
152
+ .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
153
+ .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
154
+ .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
155
+ .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
156
+ .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
157
+ .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
158
+ .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
159
+ .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
160
+ .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
161
+ .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
162
+ .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
163
+ .ui-icon-arrow-4 { background-position: 0 -80px; }
164
+ .ui-icon-arrow-4-diag { background-position: -16px -80px; }
165
+ .ui-icon-extlink { background-position: -32px -80px; }
166
+ .ui-icon-newwin { background-position: -48px -80px; }
167
+ .ui-icon-refresh { background-position: -64px -80px; }
168
+ .ui-icon-shuffle { background-position: -80px -80px; }
169
+ .ui-icon-transfer-e-w { background-position: -96px -80px; }
170
+ .ui-icon-transferthick-e-w { background-position: -112px -80px; }
171
+ .ui-icon-folder-collapsed { background-position: 0 -96px; }
172
+ .ui-icon-folder-open { background-position: -16px -96px; }
173
+ .ui-icon-document { background-position: -32px -96px; }
174
+ .ui-icon-document-b { background-position: -48px -96px; }
175
+ .ui-icon-note { background-position: -64px -96px; }
176
+ .ui-icon-mail-closed { background-position: -80px -96px; }
177
+ .ui-icon-mail-open { background-position: -96px -96px; }
178
+ .ui-icon-suitcase { background-position: -112px -96px; }
179
+ .ui-icon-comment { background-position: -128px -96px; }
180
+ .ui-icon-person { background-position: -144px -96px; }
181
+ .ui-icon-print { background-position: -160px -96px; }
182
+ .ui-icon-trash { background-position: -176px -96px; }
183
+ .ui-icon-locked { background-position: -192px -96px; }
184
+ .ui-icon-unlocked { background-position: -208px -96px; }
185
+ .ui-icon-bookmark { background-position: -224px -96px; }
186
+ .ui-icon-tag { background-position: -240px -96px; }
187
+ .ui-icon-home { background-position: 0 -112px; }
188
+ .ui-icon-flag { background-position: -16px -112px; }
189
+ .ui-icon-calendar { background-position: -32px -112px; }
190
+ .ui-icon-cart { background-position: -48px -112px; }
191
+ .ui-icon-pencil { background-position: -64px -112px; }
192
+ .ui-icon-clock { background-position: -80px -112px; }
193
+ .ui-icon-disk { background-position: -96px -112px; }
194
+ .ui-icon-calculator { background-position: -112px -112px; }
195
+ .ui-icon-zoomin { background-position: -128px -112px; }
196
+ .ui-icon-zoomout { background-position: -144px -112px; }
197
+ .ui-icon-search { background-position: -160px -112px; }
198
+ .ui-icon-wrench { background-position: -176px -112px; }
199
+ .ui-icon-gear { background-position: -192px -112px; }
200
+ .ui-icon-heart { background-position: -208px -112px; }
201
+ .ui-icon-star { background-position: -224px -112px; }
202
+ .ui-icon-link { background-position: -240px -112px; }
203
+ .ui-icon-cancel { background-position: 0 -128px; }
204
+ .ui-icon-plus { background-position: -16px -128px; }
205
+ .ui-icon-plusthick { background-position: -32px -128px; }
206
+ .ui-icon-minus { background-position: -48px -128px; }
207
+ .ui-icon-minusthick { background-position: -64px -128px; }
208
+ .ui-icon-close { background-position: -80px -128px; }
209
+ .ui-icon-closethick { background-position: -96px -128px; }
210
+ .ui-icon-key { background-position: -112px -128px; }
211
+ .ui-icon-lightbulb { background-position: -128px -128px; }
212
+ .ui-icon-scissors { background-position: -144px -128px; }
213
+ .ui-icon-clipboard { background-position: -160px -128px; }
214
+ .ui-icon-copy { background-position: -176px -128px; }
215
+ .ui-icon-contact { background-position: -192px -128px; }
216
+ .ui-icon-image { background-position: -208px -128px; }
217
+ .ui-icon-video { background-position: -224px -128px; }
218
+ .ui-icon-script { background-position: -240px -128px; }
219
+ .ui-icon-alert { background-position: 0 -144px; }
220
+ .ui-icon-info { background-position: -16px -144px; }
221
+ .ui-icon-notice { background-position: -32px -144px; }
222
+ .ui-icon-help { background-position: -48px -144px; }
223
+ .ui-icon-check { background-position: -64px -144px; }
224
+ .ui-icon-bullet { background-position: -80px -144px; }
225
+ .ui-icon-radio-off { background-position: -96px -144px; }
226
+ .ui-icon-radio-on { background-position: -112px -144px; }
227
+ .ui-icon-pin-w { background-position: -128px -144px; }
228
+ .ui-icon-pin-s { background-position: -144px -144px; }
229
+ .ui-icon-play { background-position: 0 -160px; }
230
+ .ui-icon-pause { background-position: -16px -160px; }
231
+ .ui-icon-seek-next { background-position: -32px -160px; }
232
+ .ui-icon-seek-prev { background-position: -48px -160px; }
233
+ .ui-icon-seek-end { background-position: -64px -160px; }
234
+ .ui-icon-seek-start { background-position: -80px -160px; }
235
+ /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
236
+ .ui-icon-seek-first { background-position: -80px -160px; }
237
+ .ui-icon-stop { background-position: -96px -160px; }
238
+ .ui-icon-eject { background-position: -112px -160px; }
239
+ .ui-icon-volume-off { background-position: -128px -160px; }
240
+ .ui-icon-volume-on { background-position: -144px -160px; }
241
+ .ui-icon-power { background-position: 0 -176px; }
242
+ .ui-icon-signal-diag { background-position: -16px -176px; }
243
+ .ui-icon-signal { background-position: -32px -176px; }
244
+ .ui-icon-battery-0 { background-position: -48px -176px; }
245
+ .ui-icon-battery-1 { background-position: -64px -176px; }
246
+ .ui-icon-battery-2 { background-position: -80px -176px; }
247
+ .ui-icon-battery-3 { background-position: -96px -176px; }
248
+ .ui-icon-circle-plus { background-position: 0 -192px; }
249
+ .ui-icon-circle-minus { background-position: -16px -192px; }
250
+ .ui-icon-circle-close { background-position: -32px -192px; }
251
+ .ui-icon-circle-triangle-e { background-position: -48px -192px; }
252
+ .ui-icon-circle-triangle-s { background-position: -64px -192px; }
253
+ .ui-icon-circle-triangle-w { background-position: -80px -192px; }
254
+ .ui-icon-circle-triangle-n { background-position: -96px -192px; }
255
+ .ui-icon-circle-arrow-e { background-position: -112px -192px; }
256
+ .ui-icon-circle-arrow-s { background-position: -128px -192px; }
257
+ .ui-icon-circle-arrow-w { background-position: -144px -192px; }
258
+ .ui-icon-circle-arrow-n { background-position: -160px -192px; }
259
+ .ui-icon-circle-zoomin { background-position: -176px -192px; }
260
+ .ui-icon-circle-zoomout { background-position: -192px -192px; }
261
+ .ui-icon-circle-check { background-position: -208px -192px; }
262
+ .ui-icon-circlesmall-plus { background-position: 0 -208px; }
263
+ .ui-icon-circlesmall-minus { background-position: -16px -208px; }
264
+ .ui-icon-circlesmall-close { background-position: -32px -208px; }
265
+ .ui-icon-squaresmall-plus { background-position: -48px -208px; }
266
+ .ui-icon-squaresmall-minus { background-position: -64px -208px; }
267
+ .ui-icon-squaresmall-close { background-position: -80px -208px; }
268
+ .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
269
+ .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
270
+ .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
271
+ .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
272
+ .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
273
+ .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
274
+
275
+
276
+ /* Misc visuals
277
+ ----------------------------------*/
278
+
279
+ /* Corner radius */
280
+ .ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; -khtml-border-top-left-radius: 5px; border-top-left-radius: 5px; }
281
+ .ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; -khtml-border-top-right-radius: 5px; border-top-right-radius: 5px; }
282
+ .ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; }
283
+ .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -khtml-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; }
284
+
285
+ /* Overlays */
286
+ .ui-widget-overlay { background: #aaaaaa url(/assets/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
287
+ .ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(/assets/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*!
288
+ * jQuery UI Slider 1.8.20
289
+ *
290
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
291
+ * Dual licensed under the MIT or GPL Version 2 licenses.
292
+ * http://jquery.org/license
293
+ *
294
+ * http://docs.jquery.com/UI/Slider#theming
295
+ */
296
+ .ui-slider { position: relative; text-align: left; }
297
+ .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
298
+ .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
299
+
300
+ .ui-slider-horizontal { height: .8em; }
301
+ .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
302
+ .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
303
+ .ui-slider-horizontal .ui-slider-range-min { left: 0; }
304
+ .ui-slider-horizontal .ui-slider-range-max { right: 0; }
305
+
306
+ .ui-slider-vertical { width: .8em; height: 100px; }
307
+ .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
308
+ .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
309
+ .ui-slider-vertical .ui-slider-range-min { bottom: 0; }
310
+ .ui-slider-vertical .ui-slider-range-max { top: 0; }/*!
311
+ * jQuery UI Datepicker 1.8.20
312
+ *
313
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
314
+ * Dual licensed under the MIT or GPL Version 2 licenses.
315
+ * http://jquery.org/license
316
+ *
317
+ * http://docs.jquery.com/UI/Datepicker#theming
318
+ */
319
+ .ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
320
+ .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
321
+ .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
322
+ .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
323
+ .ui-datepicker .ui-datepicker-prev { left:2px; }
324
+ .ui-datepicker .ui-datepicker-next { right:2px; }
325
+ .ui-datepicker .ui-datepicker-prev-hover { left:1px; }
326
+ .ui-datepicker .ui-datepicker-next-hover { right:1px; }
327
+ .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
328
+ .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
329
+ .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
330
+ .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
331
+ .ui-datepicker select.ui-datepicker-month,
332
+ .ui-datepicker select.ui-datepicker-year { width: 49%;}
333
+ .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
334
+ .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
335
+ .ui-datepicker td { border: 0; padding: 1px; }
336
+ .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
337
+ .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
338
+ .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
339
+ .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
340
+
341
+ /* with multiple calendars */
342
+ .ui-datepicker.ui-datepicker-multi { width:auto; }
343
+ .ui-datepicker-multi .ui-datepicker-group { float:left; }
344
+ .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
345
+ .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
346
+ .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
347
+ .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
348
+ .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
349
+ .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
350
+ .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
351
+ .ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
352
+
353
+ /* RTL support */
354
+ .ui-datepicker-rtl { direction: rtl; }
355
+ .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
356
+ .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
357
+ .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
358
+ .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
359
+ .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
360
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
361
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
362
+ .ui-datepicker-rtl .ui-datepicker-group { float:right; }
363
+ .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
364
+ .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
365
+
366
+ /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
367
+ .ui-datepicker-cover {
368
+ display: none; /*sorry for IE5*/
369
+ display/**/: block; /*sorry for IE5*/
370
+ position: absolute; /*must have*/
371
+ z-index: -1; /*must have*/
372
+ filter: mask(); /*must have*/
373
+ top: -4px; /*must have*/
374
+ left: -4px; /*must have*/
375
+ width: 200px; /*must have*/
376
+ height: 200px; /*must have*/
377
+ }
@@ -0,0 +1,22 @@
1
+ #menu {
2
+ border: 0;
3
+ }
4
+
5
+ #page_parts, #page-tabs {
6
+ border: 0;
7
+ a, > li, .page_part {
8
+ border: 0;
9
+ color: black;
10
+ }
11
+ > li, > ul {
12
+ background: none;
13
+ }
14
+ }
15
+
16
+ /* css for timepicker */
17
+ .ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
18
+ .ui-timepicker-div dl { text-align: left; }
19
+ .ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
20
+ .ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
21
+ .ui-timepicker-div td { font-size: 90%; }
22
+ .ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
metadata ADDED
@@ -0,0 +1,158 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: refinerycms-sl-calendar
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.6
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - David J. Brenes
9
+ - ! ' Luis Eduardo Rodríguez Mendo'
10
+ - Philip Arndt
11
+ - Joe Sak
12
+ autorequire:
13
+ bindir: bin
14
+ cert_chain: []
15
+ date: 2012-11-06 00:00:00.000000000 Z
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
18
+ name: refinerycms-core
19
+ requirement: !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ~>
23
+ - !ruby/object:Gem::Version
24
+ version: 2.0.6
25
+ type: :runtime
26
+ prerelease: false
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: 2.0.6
33
+ - !ruby/object:Gem::Dependency
34
+ name: refinerycms-testing
35
+ requirement: !ruby/object:Gem::Requirement
36
+ none: false
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: 2.0.6
41
+ type: :development
42
+ prerelease: false
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ none: false
45
+ requirements:
46
+ - - ~>
47
+ - !ruby/object:Gem::Version
48
+ version: 2.0.6
49
+ description: Ruby on Rails Calendar extension for Refinery CMS
50
+ email: david.brenes@simplelogica.net
51
+ executables: []
52
+ extensions: []
53
+ extra_rdoc_files: []
54
+ files:
55
+ - app/models/refinery/calendar/event.rb
56
+ - app/models/refinery/calendar/venue.rb
57
+ - app/views/refinery/calendar/admin/events/_event.html.erb
58
+ - app/views/refinery/calendar/admin/events/_actions.html.erb
59
+ - app/views/refinery/calendar/admin/events/new.html.erb
60
+ - app/views/refinery/calendar/admin/events/_events.html.erb
61
+ - app/views/refinery/calendar/admin/events/_sortable_list.html.erb
62
+ - app/views/refinery/calendar/admin/events/edit.html.erb
63
+ - app/views/refinery/calendar/admin/events/index.html.erb
64
+ - app/views/refinery/calendar/admin/events/_records.html.erb
65
+ - app/views/refinery/calendar/admin/events/_form.html.erb
66
+ - app/views/refinery/calendar/admin/venues/_actions.html.erb
67
+ - app/views/refinery/calendar/admin/venues/new.html.erb
68
+ - app/views/refinery/calendar/admin/venues/_sortable_list.html.erb
69
+ - app/views/refinery/calendar/admin/venues/_venues.html.erb
70
+ - app/views/refinery/calendar/admin/venues/edit.html.erb
71
+ - app/views/refinery/calendar/admin/venues/index.html.erb
72
+ - app/views/refinery/calendar/admin/venues/_records.html.erb
73
+ - app/views/refinery/calendar/admin/venues/_form.html.erb
74
+ - app/views/refinery/calendar/admin/venues/_venue.html.erb
75
+ - app/views/refinery/calendar/admin/shared/_locale_picker.html.erb
76
+ - app/views/refinery/calendar/admin/shared/_links.html.erb
77
+ - app/views/refinery/calendar/events/_event.html.erb
78
+ - app/views/refinery/calendar/events/index.html.erb
79
+ - app/views/refinery/calendar/events/show.html.erb
80
+ - app/views/sitemap/index.xml.builder
81
+ - app/helpers/refinery/calendar/calendar_helper.rb
82
+ - app/controllers/refinery/calendar/admin/venues_controller.rb
83
+ - app/controllers/refinery/calendar/admin/events_controller.rb
84
+ - app/controllers/refinery/calendar/events_controller.rb
85
+ - config/database.yml.mysql
86
+ - config/routes.rb
87
+ - config/database.yml.postgresql
88
+ - config/initializers/refinery/authentication.rb
89
+ - config/initializers/refinery/core.rb
90
+ - config/initializers/refinery/images.rb
91
+ - config/initializers/refinery/pages.rb
92
+ - config/initializers/refinery/resources.rb
93
+ - config/locales/nl.yml
94
+ - config/locales/en.yml
95
+ - config/locales/es.yml
96
+ - config/locales/nb.yml
97
+ - config/locales/fr.yml
98
+ - config/database.yml.sqlite3
99
+ - db/seeds.rb
100
+ - db/migrate/4_create_calendar_venues_translations.rb
101
+ - db/migrate/1_create_calendar_events.rb
102
+ - db/migrate/3_create_calendar_events_translations.rb
103
+ - db/migrate/2_create_calendar_venues.rb
104
+ - lib/refinerycms-calendar.rb
105
+ - lib/tasks/refinery/calendar.rake
106
+ - lib/generators/refinery/calendar_generator.rb
107
+ - lib/refinery/events/engine.rb
108
+ - lib/refinery/events.rb
109
+ - lib/refinery/venues/engine.rb
110
+ - lib/refinery/venues.rb
111
+ - vendor/assets/stylesheets/jquery-ui.css
112
+ - vendor/assets/stylesheets/chosen.css
113
+ - vendor/assets/stylesheets/refinery/calendar.css.scss
114
+ - vendor/assets/javascripts/chosen.jquery.min.js
115
+ - vendor/assets/javascripts/jquery.ui.timepicker.addon.js
116
+ - vendor/assets/javascripts/refinery/calendar.js.coffee
117
+ - vendor/assets/images/ui-bg_glass_95_fef1ec_1x400.png
118
+ - vendor/assets/images/ui-icons_217bc0_256x240.png
119
+ - vendor/assets/images/ui-bg_flat_55_fbec88_40x100.png
120
+ - vendor/assets/images/ui-bg_glass_75_d0e5f5_1x400.png
121
+ - vendor/assets/images/ui-icons_6da8d5_256x240.png
122
+ - vendor/assets/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png
123
+ - vendor/assets/images/ui-icons_469bdd_256x240.png
124
+ - vendor/assets/images/ui-bg_glass_85_dfeffc_1x400.png
125
+ - vendor/assets/images/ui-icons_cd0a0a_256x240.png
126
+ - vendor/assets/images/chosen-sprite.png
127
+ - vendor/assets/images/ui-bg_inset-hard_100_fcfdfd_1x100.png
128
+ - vendor/assets/images/ui-bg_flat_0_aaaaaa_40x100.png
129
+ - vendor/assets/images/ui-icons_d8e7f3_256x240.png
130
+ - vendor/assets/images/ui-icons_f9bd01_256x240.png
131
+ - vendor/assets/images/ui-icons_2e83ff_256x240.png
132
+ - vendor/assets/images/ui-bg_inset-hard_100_f5f8f9_1x100.png
133
+ - readme.md
134
+ homepage:
135
+ licenses: []
136
+ post_install_message:
137
+ rdoc_options: []
138
+ require_paths:
139
+ - lib
140
+ required_ruby_version: !ruby/object:Gem::Requirement
141
+ none: false
142
+ requirements:
143
+ - - ! '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ required_rubygems_version: !ruby/object:Gem::Requirement
147
+ none: false
148
+ requirements:
149
+ - - ! '>='
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ requirements: []
153
+ rubyforge_project:
154
+ rubygems_version: 1.8.24
155
+ signing_key:
156
+ specification_version: 3
157
+ summary: Calendar extension for Refinery CMS
158
+ test_files: []