radiant-event_calendar-extension 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. data/README.md +0 -2
  2. data/VERSION +1 -1
  3. data/app/controllers/admin/events_controller.rb +12 -3
  4. data/app/controllers/admin/icals_controller.rb +2 -2
  5. data/app/models/calendar.rb +1 -1
  6. data/app/models/event.rb +13 -5
  7. data/app/models/ical.rb +15 -5
  8. data/app/views/admin/calendars/edit.html.haml +3 -0
  9. data/app/views/admin/calendars/index.html.haml +3 -0
  10. data/app/views/admin/calendars/new.html.haml +4 -1
  11. data/app/views/admin/event_venues/_event_venue.html.haml +4 -3
  12. data/app/views/admin/event_venues/_form.html.haml +1 -1
  13. data/app/views/admin/event_venues/edit.html.haml +3 -0
  14. data/app/views/admin/event_venues/index.html.haml +3 -0
  15. data/app/views/admin/event_venues/new.html.haml +4 -0
  16. data/app/views/admin/event_venues/remove.html.haml +30 -8
  17. data/app/views/admin/events/_event.html.haml +5 -13
  18. data/app/views/admin/events/_form.html.haml +3 -3
  19. data/app/views/admin/events/edit.html.haml +3 -0
  20. data/app/views/admin/events/index.html.haml +28 -2
  21. data/app/views/admin/events/new.html.haml +3 -0
  22. data/app/views/admin/events/remove.html.haml +11 -6
  23. data/app/views/events/_event.html.haml +2 -4
  24. data/config/routes.rb +2 -2
  25. data/event_calendar_extension.rb +1 -1
  26. data/pkg/radiant-event_calendar-extension-1.1.0.gem +0 -0
  27. data/public/stylesheets/sass/admin/event_calendar.sass +229 -216
  28. data/radiant-event_calendar-extension.gemspec +2 -4
  29. metadata +4 -6
  30. data/public/stylesheets/sass/admin/modules/_grid.sass +0 -56
  31. data/public/stylesheets/sass/constants.sass +0 -80
  32. data/public/stylesheets/sass/event_calendar.sass +0 -279
@@ -1,279 +0,0 @@
1
- @import compass/css3
2
- @import 960/grid
3
-
4
- =standard_input
5
- width: 100%
6
- padding: 6px 0
7
- border: 1px solid #666666
8
- font-family: Monaco, "Courier New", Courier, monospace
9
- font-size: 95%
10
-
11
- =quiet
12
- font-family: helvetica, arial, sans-serif
13
- font-weight: lighter
14
- font-size: 85%
15
- color: #cccccc
16
- line-height: 1.3
17
- text-shadow: none
18
-
19
- =flatbottom
20
- margin-bottom: 0
21
-
22
- $radiant_red: #cc0000
23
-
24
- //calendars index
25
-
26
- table.index
27
- td.subscription-title
28
- font-size: 115%
29
- font-weight: bold
30
-
31
- span.calendar_actions
32
- img
33
- opacity: 0.5
34
- a
35
- img
36
- opacity: 1
37
-
38
- //events index
39
-
40
- table#events
41
- tr
42
- td.datemark
43
- width: 40px
44
- vertical-align: top
45
- text-align: center
46
- line-height: 1
47
- a
48
- text-decoration: none
49
- span.month
50
- display: block
51
- margin-top: 5px
52
- font-family: helvetica, arial, sans-serif
53
- font-weight: lighter
54
- font-size: 80%
55
- text-transform: uppercase
56
- span.day
57
- display: block
58
- font-family: helvetica, arial, sans-serif
59
- font-weight: bold
60
- font-size: 160%
61
- td.event
62
- width: 40%
63
- vertical-align: top
64
- h3
65
- margin: 0
66
- line-height: 1.2
67
- a
68
- text-decoration: none
69
- p.description
70
- margin: 4px 0
71
- font-size: 80%
72
- color: #999999
73
- p.keywords
74
- margin: 4px 0
75
- font-size: 80%
76
- td.time, td.location, td.keywords, td.recurrence
77
- font-size: 80%
78
- padding-top: 28px
79
- vertical-align: top
80
- td.remove
81
- padding-top: 28px
82
- vertical-align: top
83
- span.ineditable
84
- color: #666666
85
- font-size: 80%
86
- background: url(/images/admin/minus.png) no-repeat scroll 4px 0
87
- padding-left: 20px
88
- opacity: 0.3
89
- tr.continuing, tr.past
90
- td
91
- color: #b2aaa4
92
- a, span
93
- color: #b2aaa4
94
- tr.deleted
95
- td.datemark
96
- a, span
97
- color: #cccccc
98
- td.event
99
- h3
100
- a, span
101
- color: #cccccc
102
- font-decoration: line-through
103
-
104
- // venues index
105
-
106
- table#event_venues
107
- td.event_venue
108
- width: 40%
109
- vertical-align: top
110
- h3
111
- margin: 0
112
- line-height: 1.2
113
- a
114
- text-decoration: none
115
- p.description
116
- margin: 4px 0
117
- font-size: 80%
118
- color: #999999
119
- td.location, td.url
120
- font-size: 80%
121
- vertical-align: top
122
-
123
- // event and calendar forms
124
-
125
- #content
126
- #calendar_form
127
- .primary
128
- position: relative
129
- width: 73%
130
- margin-right: 2%
131
- float: left
132
- overflow: hidden
133
- input.textbox, textarea
134
- width: 99%
135
- .title
136
- p.calendar_title
137
- margin-top: 0
138
- margin-bottom: 1em
139
- input
140
- font-family: Georgia, Palatino, "Times New Roman", Times, serif
141
- font-size: 200%
142
- #subscription
143
- width: 98%
144
- overflow: hidden
145
- p
146
- margin: 0.5em 2% 0.5em 2%
147
- width: 46%
148
- float: left
149
- .drawer_handle
150
- clear: both
151
- .filing
152
- p
153
- margin-top: 0
154
- p.calendar_category
155
- width: 47%
156
- float: left
157
- margin-right: 4%
158
- p.calendar_slug
159
- width: 48%
160
- float: left
161
- .description
162
-
163
- .secondary
164
- position: relative
165
- width: 25%
166
- float: left
167
- overflow: hidden
168
- .metadata
169
- position: relative
170
- p.calendar_keywords
171
- margin-top: 0
172
- margin-bottom: 1em
173
- input
174
- font-family: Georgia, Palatino, "Times New Roman", Times, serif
175
- font-size: 200%
176
- color: #c00
177
- p.updated_line
178
- clear: left
179
- .buttons
180
- clear: both
181
-
182
-
183
- #calendar_form, #event_form, #venue_form
184
- div.date
185
- clear: left
186
- p.start_date, p.end_date
187
- +grid(4)
188
- margin-bottom: 0
189
- p.problematic
190
- color: $radiant_red
191
-
192
- div.recurrence
193
- clear: left
194
- p.recurrence
195
- margin-top: 0
196
- span.recurrence_detail
197
- display: block
198
- span#recurrence_interval
199
- +grid(2)
200
- span#recurrence_period
201
- +grid(2)
202
- span#recurrence_basis
203
- +grid(2)
204
- span#recurrence_limit
205
- +grid(2)
206
- +omega
207
- span#recurrence_count
208
- +grid(2)
209
- +omega
210
- div.venue, div.newvenue
211
- overflow: auto
212
- div#venue
213
- clear: left
214
- p#existing_venue
215
- +grid(8)
216
- div#new_venue
217
- clear: left
218
- p.venue_title
219
- +grid(8)
220
- p.url
221
- clear: left
222
- +grid(8)
223
- p.venue_location
224
- +grid(8)
225
- textarea
226
- height: 5em
227
- p.venue_postcode
228
- +grid(4)
229
- span.note
230
- display: block
231
- margin-top: 4px
232
- p.venue_description
233
- +grid(12)
234
- clear: both
235
- textarea
236
- height: 5em
237
- .note, label.minor
238
- +quiet
239
- display: inline
240
- label.inline
241
- display: inline
242
- .hidden
243
- display: none
244
-
245
- a.toggleMCE
246
- display: block
247
- width: 24px
248
- height: 24px
249
- padding-left: 24px
250
- float: right
251
-
252
- .calendar_popup
253
- div.clock_control
254
- position: relative
255
- display: block
256
- width: 300px
257
- height: 200px
258
- form
259
- text-align: center
260
- h4
261
- margin: 10px
262
- color: #999999
263
- font-weight: lighter
264
- input.hours, input.minutes
265
- width: 60px
266
- border: 1px solid #cccccc
267
- padding: 4px
268
- font-size: 40px
269
- span.colon
270
- padding: 4px
271
- font-size: 40px
272
- color: #333333
273
- width: 10px
274
- input.set_time
275
- font-size: 30px
276
- width: 114px
277
- margin: 20px 0
278
- a.cancel
279
- cursor: pointer