event_calendar_engine 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. data/README +4 -1
  2. data/VERSION +1 -1
  3. data/app/controllers/event_calendar/application_controller.rb +7 -0
  4. data/app/helpers/event_calendar/application_helper.rb +19 -26
  5. data/app/models/participant.rb +2 -0
  6. data/app/views/attendees/new.html.erb +1 -1
  7. data/app/views/events/attendees.html.erb +1 -1
  8. data/app/views/events/edit.html.erb +1 -1
  9. data/app/views/events/new.html.erb +1 -1
  10. data/app/views/events/show.html.erb +12 -6
  11. data/app/views/layouts/application.html.erb +9 -5
  12. data/config/blueprint_settings.yml +1 -1
  13. data/public/javascripts/{event_calendar.js → event_calendar/event_calendar.js} +0 -0
  14. data/public/javascripts/{event_calendar_behaviors.js → event_calendar/event_calendar_behaviors.js} +0 -0
  15. data/public/javascripts/{fullcalendar.js → event_calendar/fullcalendar.js} +0 -0
  16. data/public/javascripts/{jquery-ui-1.7.2.custom.min.js → event_calendar/jquery-ui-1.7.2.custom.min.js} +0 -0
  17. data/public/javascripts/{jquery.clonePosition.js → event_calendar/jquery.clonePosition.js} +0 -0
  18. data/public/javascripts/{jquery.js → event_calendar/jquery.js} +0 -0
  19. data/public/javascripts/{jquery.qtip-1.0.0-rc3.js → event_calendar/jquery.qtip-1.0.0-rc3.js} +0 -0
  20. data/public/javascripts/{jquery.string.1.0-min.js → event_calendar/jquery.string.1.0-min.js} +0 -0
  21. data/public/javascripts/{jquery.tablesorter.min.js → event_calendar/jquery.tablesorter.min.js} +0 -0
  22. data/public/javascripts/{lowpro.jquery.js → event_calendar/lowpro.jquery.js} +0 -0
  23. data/public/javascripts/{rails.js → event_calendar/rails.js} +0 -0
  24. data/public/stylesheets/{blueprint → event_calendar/blueprint}/grid.css +0 -0
  25. data/public/stylesheets/{blueprint → event_calendar/blueprint}/icons/cross.png +0 -0
  26. data/public/stylesheets/{blueprint → event_calendar/blueprint}/icons/doc.png +0 -0
  27. data/public/stylesheets/{blueprint → event_calendar/blueprint}/icons/email.png +0 -0
  28. data/public/stylesheets/{blueprint → event_calendar/blueprint}/icons/external.png +0 -0
  29. data/public/stylesheets/{blueprint → event_calendar/blueprint}/icons/feed.png +0 -0
  30. data/public/stylesheets/{blueprint → event_calendar/blueprint}/icons/im.png +0 -0
  31. data/public/stylesheets/{blueprint → event_calendar/blueprint}/icons/key.png +0 -0
  32. data/public/stylesheets/{blueprint → event_calendar/blueprint}/icons/pdf.png +0 -0
  33. data/public/stylesheets/{blueprint → event_calendar/blueprint}/icons/tick.png +0 -0
  34. data/public/stylesheets/{blueprint → event_calendar/blueprint}/icons/visited.png +0 -0
  35. data/public/stylesheets/{blueprint → event_calendar/blueprint}/icons/xls.png +0 -0
  36. data/public/stylesheets/{blueprint → event_calendar/blueprint}/ie.css +0 -0
  37. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/buttons/icons/cross.png +0 -0
  38. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/buttons/icons/key.png +0 -0
  39. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/buttons/icons/tick.png +0 -0
  40. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/buttons/readme.txt +0 -0
  41. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/buttons/screen.css +0 -0
  42. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/fancy-type/readme.txt +0 -0
  43. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/fancy-type/screen.css +0 -0
  44. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/link-icons/icons/doc.png +0 -0
  45. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/link-icons/icons/email.png +0 -0
  46. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/link-icons/icons/external.png +0 -0
  47. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/link-icons/icons/feed.png +0 -0
  48. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/link-icons/icons/im.png +0 -0
  49. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/link-icons/icons/pdf.png +0 -0
  50. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/link-icons/icons/visited.png +0 -0
  51. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/link-icons/icons/xls.png +0 -0
  52. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/link-icons/readme.txt +0 -0
  53. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/link-icons/screen.css +0 -0
  54. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/rtl/readme.txt +0 -0
  55. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/rtl/screen.css +0 -0
  56. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/silksprite/sprite.css +0 -0
  57. data/public/stylesheets/{blueprint → event_calendar/blueprint}/plugins/silksprite/sprites.png +0 -0
  58. data/public/stylesheets/{blueprint → event_calendar/blueprint}/print.css +0 -0
  59. data/public/stylesheets/{blueprint → event_calendar/blueprint}/readme.txt +0 -0
  60. data/public/stylesheets/{blueprint → event_calendar/blueprint}/screen.css +93 -0
  61. data/public/stylesheets/{error_messages.css → event_calendar/error_messages.css} +0 -0
  62. data/public/stylesheets/{formtastic.css → event_calendar/formtastic.css} +0 -0
  63. data/public/stylesheets/{formtastic_changes.css → event_calendar/formtastic_changes.css} +0 -0
  64. data/public/stylesheets/{fullcalendar.css → event_calendar/fullcalendar.css} +0 -0
  65. data/public/stylesheets/{fullcalendar_changes.css → event_calendar/fullcalendar_changes.css} +0 -0
  66. data/public/stylesheets/{smoothness → event_calendar/smoothness}/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  67. data/public/stylesheets/{smoothness → event_calendar/smoothness}/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  68. data/public/stylesheets/{smoothness → event_calendar/smoothness}/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  69. data/public/stylesheets/{smoothness → event_calendar/smoothness}/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  70. data/public/stylesheets/{smoothness → event_calendar/smoothness}/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  71. data/public/stylesheets/{smoothness → event_calendar/smoothness}/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  72. data/public/stylesheets/{smoothness → event_calendar/smoothness}/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  73. data/public/stylesheets/{smoothness → event_calendar/smoothness}/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  74. data/public/stylesheets/{smoothness → event_calendar/smoothness}/images/ui-icons_222222_256x240.png +0 -0
  75. data/public/stylesheets/{smoothness → event_calendar/smoothness}/images/ui-icons_2e83ff_256x240.png +0 -0
  76. data/public/stylesheets/{smoothness → event_calendar/smoothness}/images/ui-icons_454545_256x240.png +0 -0
  77. data/public/stylesheets/{smoothness → event_calendar/smoothness}/images/ui-icons_888888_256x240.png +0 -0
  78. data/public/stylesheets/{smoothness → event_calendar/smoothness}/images/ui-icons_cd0a0a_256x240.png +0 -0
  79. data/public/stylesheets/{smoothness → event_calendar/smoothness}/jquery-ui-1.7.2.custom.css +0 -0
  80. data/public/stylesheets/{tablesorter → event_calendar/tablesorter}/blue/asc.gif +0 -0
  81. data/public/stylesheets/{tablesorter → event_calendar/tablesorter}/blue/bg.gif +0 -0
  82. data/public/stylesheets/{tablesorter → event_calendar/tablesorter}/blue/desc.gif +0 -0
  83. data/public/stylesheets/{tablesorter → event_calendar/tablesorter}/blue/style.css +0 -0
  84. data/public/stylesheets/{text_and_colors.css → event_calendar/text_and_colors.css} +0 -0
  85. metadata +76 -77
  86. data/public/images/rails.png +0 -0
data/README CHANGED
@@ -1 +1,4 @@
1
- Basic versioned event management
1
+ Rails engine providing basic versioned event management.
2
+
3
+ In Gemfile do
4
+ gem "event_calendar_engine", :require => 'event_calendar'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -1,5 +1,12 @@
1
1
  class EventCalendar::ApplicationController < ApplicationController
2
+ helper_method :has_authorization?
3
+
2
4
  private
5
+ unless private_method_defined?(:has_authorization?)
6
+ def has_authorization?(*args)
7
+ true
8
+ end
9
+ end
3
10
  protected
4
11
  public
5
12
  end
@@ -28,6 +28,7 @@ module EventCalendar::ApplicationHelper
28
28
  end
29
29
 
30
30
  def link_to_new_event(wrapper_options={})
31
+ return unless has_authorization?(:create, Event.new)
31
32
  link_wrapper(new_event_path, wrapper_options, {
32
33
  :link_text => "Create New Event"
33
34
  })
@@ -40,18 +41,21 @@ module EventCalendar::ApplicationHelper
40
41
  end
41
42
 
42
43
  def link_to_add_event_attendees(event, wrapper_options={})
44
+ return unless has_authorization?(:add_attendees, event)
43
45
  link_wrapper(new_event_attendee_path(event), wrapper_options, {
44
- :link_text => "Add <em>#{event.name}</em> Attendees".html_safe
46
+ :link_text => "Add <em>#{h(event.name)}</em> Attendees".html_safe
45
47
  })
46
48
  end
47
49
 
48
50
  def link_to_edit_event(event, wrapper_options={})
51
+ return unless has_authorization?(:update, event)
49
52
  link_wrapper(edit_event_path(event), wrapper_options, {
50
- :link_text => "Edit <em>#{event.name}</em>".html_safe
53
+ :link_text => "Edit <em>#{h(event.name)}</em>".html_safe
51
54
  })
52
55
  end
53
56
 
54
57
  def link_to_delete_event(event, wrapper_options={})
58
+ return unless has_authorization?(:delete, event)
55
59
  link_wrapper(event_path(event), {
56
60
  :highlight => false
57
61
  }.merge!(wrapper_options), {
@@ -81,36 +85,25 @@ module EventCalendar::ApplicationHelper
81
85
  render :partial => 'event-calendar-shared/flash', :object => flash
82
86
  end
83
87
 
84
- def event_calendar_stylesheet_includes
85
- list = [
86
- "fullcalendar",
87
- "fullcalendar_changes",
88
- "error_messages",
89
- "text_and_colors",
90
- "application",
91
- "tablesorter/blue/style",
92
- "smoothness/jquery-ui-1.7.2.custom.css",
93
- "formtastic",
94
- "formtastic_changes"
95
- ]
96
- list
88
+ def event_calendar_asset_prefix
89
+ 'event_calendar/'
97
90
  end
98
91
 
99
92
  def event_calendar_javascript_includes
100
93
  list = [
101
- 'jquery.tablesorter.min.js',
102
- 'jquery-ui-1.7.2.custom.min.js',
103
- 'jquery.string.1.0-min.js',
104
- 'jquery.clonePosition.js',
105
- 'lowpro.jquery.js',
106
- 'fullcalendar.js',
107
- 'jquery.qtip-1.0.0-rc3.js',
108
- 'rails',
109
- 'event_calendar_behaviors.js',
110
- 'event_calendar.js'
94
+ "#{event_calendar_asset_prefix}jquery.tablesorter.min.js",
95
+ "#{event_calendar_asset_prefix}jquery-ui-1.7.2.custom.min.js",
96
+ "#{event_calendar_asset_prefix}jquery.string.1.0-min.js",
97
+ "#{event_calendar_asset_prefix}jquery.clonePosition.js",
98
+ "#{event_calendar_asset_prefix}lowpro.jquery.js",
99
+ "#{event_calendar_asset_prefix}fullcalendar.js",
100
+ "#{event_calendar_asset_prefix}jquery.qtip-1.0.0-rc3.js",
101
+ "#{event_calendar_asset_prefix}rails",
102
+ "#{event_calendar_asset_prefix}event_calendar_behaviors.js",
103
+ "#{event_calendar_asset_prefix}event_calendar.js"
111
104
  ]
112
105
  unless Rails.env == 'production'
113
- list.unshift("jquery")
106
+ list.unshift("#{event_calendar_asset_prefix}jquery")
114
107
  else
115
108
  list.unshift("http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js")
116
109
  end
@@ -2,6 +2,8 @@ module Participant
2
2
  @@types ||= []
3
3
 
4
4
  def self.included(base)
5
+ return if @@types.include?(base)
6
+
5
7
  @@types << base
6
8
 
7
9
  base.instance_eval do
@@ -10,4 +10,4 @@
10
10
  <% end %>
11
11
  <% end %>
12
12
  <%= form.submit %>
13
- <% end %>
13
+ <% end if has_authorization?(:add_attendees, @event) %>
@@ -26,4 +26,4 @@
26
26
  </td>
27
27
  </tr>
28
28
  </table>
29
- <% end %>
29
+ <% end if has_authorization?(:add_attendees, @event) %>
@@ -1,3 +1,3 @@
1
1
  <h1>Editing Event</h1>
2
2
 
3
- <%= render :partial => "form" %>
3
+ <%= render :partial => "form" if has_authorization?(:update, @event) %>
@@ -1,3 +1,3 @@
1
1
  <h1>New Event</h1>
2
2
 
3
- <%= render :partial => "form" %>
3
+ <%= render :partial => "form" if has_authorization?(:create, Event.new) %>
@@ -5,26 +5,32 @@
5
5
 
6
6
  <h3>Attendees/Participants</h3>
7
7
 
8
- <% if @event.attendees.empty? %>
8
+ <%
9
+ #if @event.attendees.empty?
10
+ %>
9
11
  <p><em>No attendees for this event.</em></p>
10
- <% else %>
12
+ <%
13
+ #else
14
+ %>
11
15
 
12
16
  form stub
13
17
 
14
18
  <% @event.participants.group_by(&:class).map do |type, participants| %>
15
- <h4><%= link_to(pluralize(participants.size, type.to_s), engine_path(type)) %></h4>
19
+ <h4><%= link_to(pluralize(participants.size, type.to_s), polymorphic_path(type)) %></h4>
16
20
  <ol>
17
21
  <% participants.each do |participant| %>
18
22
  <% name_attr = participant.attribute_names.detect{|m_attr| m_attr =~ /name/} %>
19
23
  <% if participant.respond_to?(:name) %>
20
- <li><%= link_to(participant.send(name_attr), engine_path(participant)) %></li>
24
+ <li><%= link_to(participant.send(name_attr), polymorphic_path(participant)) %></li>
21
25
  <% elsif name_attr %>
22
- <li><%= link_to(participant.name, engine_path(participant)) %></li>
26
+ <li><%= link_to(participant.name, polymorphic_path(participant)) %></li>
23
27
  <% end %>
24
28
  <% end %>
25
29
  </ol>
26
30
  <% end %>
27
31
 
28
32
  form stub end
29
- <% end %>
33
+ <%
34
+ #end
35
+ %>
30
36
  </div>
@@ -5,15 +5,19 @@
5
5
  <!-- <link rel="icon" type="image/png" href="/images/favorite.png"/> -->
6
6
  <title>Event Calendar</title>
7
7
 
8
- <%= stylesheet_link_tag "blueprint/screen", :media => "screen, projection" %>
9
- <%= stylesheet_link_tag "blueprint/print", :media => "print" %>
8
+ <%= stylesheet_link_tag "#{event_calendar_asset_prefix}blueprint/screen", :media => "screen, projection" %>
9
+ <%= stylesheet_link_tag "#{event_calendar_asset_prefix}blueprint/print", :media => "print" %>
10
10
 
11
11
  <!--[if lt IE 8]>
12
- <%= stylesheet_link_tag "blueprint/ie", :media => "screen, projection" %>
12
+ <%= stylesheet_link_tag "#{event_calendar_asset_prefix}blueprint/ie", :media => "screen, projection" %>
13
13
  <![endif]-->
14
14
 
15
- <%= stylesheet_link_tag 'error_messages', 'formtastic', 'formtastic_changes',
16
- 'fullcalendar', 'fullcalendar_changes', 'text_and_colors' %>
15
+ <%= stylesheet_link_tag "#{event_calendar_asset_prefix}error_messages",
16
+ "#{event_calendar_asset_prefix}formtastic",
17
+ "#{event_calendar_asset_prefix}formtastic_changes",
18
+ "#{event_calendar_asset_prefix}fullcalendar",
19
+ "#{event_calendar_asset_prefix}fullcalendar_changes",
20
+ "#{event_calendar_asset_prefix}text_and_colors" %>
17
21
 
18
22
  <%= javascript_include_tag event_calendar_javascript_includes %>
19
23
  <%= yield :javascript %>
@@ -1,5 +1,5 @@
1
1
  default:
2
- path: public/stylesheets/blueprint
2
+ path: public/stylesheets/event_calendar/blueprint
3
3
  plugins:
4
4
  - buttons
5
5
  - events
@@ -280,6 +280,99 @@ a.negative:hover, button.negative:hover {background-color:#fbe3e4;border:1px sol
280
280
  a.negative:active {background-color:#d12f19;border:1px solid #d12f19;color:#fff;}
281
281
 
282
282
  /* events */
283
+ .fc, .fc .fc-header, .fc .fc-content {font-size:1em;}
284
+ .fc {direction:ltr;text-align:left;}
285
+ .fc table {border-collapse:collapse;border-spacing:0;}
286
+ .fc td, .fc th {padding:0;vertical-align:top;}
287
+ table.fc-header {width:100%;}
288
+ .fc-header-left {width:25%;}
289
+ .fc-header-left table {float:left;}
290
+ .fc-header-center {width:50%;text-align:center;}
291
+ .fc-header-center table {margin:0 auto;}
292
+ .fc-header-right {width:25%;}
293
+ .fc-header-right table {float:right;}
294
+ .fc-header-title {margin-top:0;white-space:nowrap;}
295
+ .fc-header-space {padding-left:10px;}
296
+ .fc-rtl .fc-header-title {direction:rtl;}
297
+ .fc-header .fc-state-default, .fc-header .ui-state-default {margin-bottom:1em;cursor:pointer;}
298
+ .fc-header .fc-state-default {border-width:1px 0;padding:0 1px;}
299
+ .fc-header .fc-state-default, .fc-header .fc-state-default a {border-style:solid;}
300
+ .fc-header .fc-state-default a {display:block;border-width:0 1px;margin:0 -1px;width:100%;text-decoration:none;}
301
+ .fc-header .fc-state-default span {display:block;border-style:solid;border-width:1px 0 1px 1px;padding:3px 5px;}
302
+ .fc-header .ui-state-default {padding:4px 6px;}
303
+ .fc-header .fc-state-default span, .fc-header .ui-state-default span {white-space:nowrap;}
304
+ .fc-header .fc-no-right {padding-right:0;}
305
+ .fc-header .fc-no-right a {margin-right:0;border-right:0;}
306
+ .fc-header .ui-no-right {border-right:0;}
307
+ .fc-header .fc-corner-left {margin-left:1px;padding-left:0;}
308
+ .fc-header .fc-corner-right {margin-right:1px;padding-right:0;}
309
+ .fc-header .fc-state-default, .fc-header .fc-state-default a {border-color:#777;color:#333;}
310
+ .fc-header .fc-state-default span {border-color:#fff #fff #d1d1d1;background:#e8e8e8;}
311
+ .fc-header .fc-state-active a {color:#fff;}
312
+ .fc-header .fc-state-down span, .fc-header .fc-state-active span {background:#888;border-color:#808080 #808080 #909090;}
313
+ .fc-header .fc-state-disabled a {color:#999;}
314
+ .fc-header .fc-state-disabled, .fc-header .fc-state-disabled a {border-color:#ccc;}
315
+ .fc-header .fc-state-disabled span {border-color:#fff #fff #f0f0f0;background:#f0f0f0;}
316
+ .fc-widget-content {border:1px solid #ccc;}
317
+ .fc-content {clear:both;}
318
+ .fc-content .fc-state-default {border-style:solid;border-color:#ccc;}
319
+ .fc-content .fc-state-highlight {background:#ffc;}
320
+ .fc-content .fc-not-today {background:none;}
321
+ .fc-cell-overlay {background:#9cf;opacity:.2;filter:alpha(opacity=20);}
322
+ .fc-view {width:100%;overflow:hidden;}
323
+ .fc-event, .fc-agenda .fc-event-time, .fc-event a {border-style:solid;border-color:#36c;background-color:#36c;color:#fff;}
324
+ .fc-event {text-align:left;}
325
+ .fc-event a {overflow:hidden;font-size:.85em;text-decoration:none;cursor:pointer;}
326
+ .fc-event-editable {cursor:pointer;}
327
+ .fc-event-time, .fc-event-title {padding:0 1px;}
328
+ .fc-event a {display:block;position:relative;width:100%;height:100%;}
329
+ .fc-rtl .fc-event a {text-align:right;}
330
+ .fc .ui-resizable-handle {display:block;position:absolute;z-index:99999;border:0 !important;background:url(data:image/gif;}
331
+ .fc-event-hori {border-width:1px 0;margin-bottom:1px;}
332
+ .fc-event-hori a {border-width:0;}
333
+ .fc-content .fc-corner-left {margin-left:1px;}
334
+ .fc-content .fc-corner-left a {margin-left:-1px;border-left-width:1px;}
335
+ .fc-content .fc-corner-right {margin-right:1px;}
336
+ .fc-content .fc-corner-right a {margin-right:-1px;border-right-width:1px;}
337
+ .fc-event-hori .ui-resizable-e {top:0 !important;right:-3px !important;width:7px !important;height:100% !important;cursor:e-resize;}
338
+ .fc-event-hori .ui-resizable-w {top:0 !important;left:-3px !important;width:7px !important;height:100% !important;cursor:w-resize;}
339
+ .fc-event-hori .ui-resizable-handle {_padding-bottom:14px;}
340
+ .fc-grid table {width:100%;}
341
+ .fc .fc-grid th {border-width:0 0 0 1px;text-align:center;}
342
+ .fc .fc-grid td {border-width:1px 0 0 1px;}
343
+ .fc-grid th.fc-leftmost, .fc-grid td.fc-leftmost {border-left:0;}
344
+ .fc-grid .fc-day-number {float:right;padding:0 2px;}
345
+ .fc-grid .fc-other-month .fc-day-number {opacity:0.3;filter:alpha(opacity=30);}
346
+ .fc-grid .fc-day-content {clear:both;padding:2px 2px 0;}
347
+ .fc-grid .fc-event-time {font-weight:bold;}
348
+ .fc-rtl .fc-grid {direction:rtl;}
349
+ .fc-rtl .fc-grid .fc-day-number {float:left;}
350
+ .fc-rtl .fc-grid .fc-event-time {float:right;}
351
+ .fc .fc-agenda th, .fc .fc-agenda td {border-width:1px 0 0 1px;}
352
+ .fc .fc-agenda .fc-leftmost {border-left:0;}
353
+ .fc-agenda tr.fc-first th, .fc-agenda tr.fc-first td {border-top:0;}
354
+ .fc-agenda-head tr.fc-last th {border-bottom-width:1px;}
355
+ .fc .fc-agenda-head td, .fc .fc-agenda-body td {background:none;}
356
+ .fc-agenda-head th {text-align:center;}
357
+ .fc-agenda .fc-axis {width:50px;padding:0 4px;vertical-align:middle;white-space:nowrap;text-align:right;font-weight:normal;}
358
+ .fc-agenda-head tr.fc-all-day th {height:35px;}
359
+ .fc-agenda-head td {padding-bottom:10px;}
360
+ .fc .fc-divider div {font-size:1px;height:2px;}
361
+ .fc .fc-divider .fc-state-default {background:#eee;}
362
+ .fc .fc-agenda-body td div {height:20px;}
363
+ .fc .fc-agenda-body tr.fc-minor th, .fc .fc-agenda-body tr.fc-minor td {border-top-style:dotted;}
364
+ .fc-agenda .fc-day-content {padding:2px 2px 0;}
365
+ .fc-event-vert {border-width:0 1px;}
366
+ .fc-event-vert a {border-width:0;}
367
+ .fc-content .fc-corner-top {margin-top:1px;}
368
+ .fc-content .fc-corner-top a {margin-top:-1px;border-top-width:1px;}
369
+ .fc-content .fc-corner-bottom {margin-bottom:1px;}
370
+ .fc-content .fc-corner-bottom a {margin-bottom:-1px;border-bottom-width:1px;}
371
+ .fc-event-vert span {display:block;position:relative;z-index:2;}
372
+ .fc-event-vert span.fc-event-time {white-space:nowrap;_white-space:normal;overflow:hidden;border:0;font-size:10px;}
373
+ .fc-event-vert span.fc-event-title {line-height:13px;}
374
+ .fc-event-vert span.fc-event-bg {position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;background:#fff;opacity:.3;filter:alpha(opacity=30);}
375
+ .fc-event-vert .ui-resizable-s {bottom:0 !important;width:100% !important;height:8px !important;line-height:8px !important;font-size:11px !important;font-family:monospace;text-align:center;cursor:s-resize;}
283
376
  .calendars {width:260px;float:left;padding-right:20px;}
284
377
  #event_quick_description {clear:both;border:1px solid #999;background:#FFC;padding:12px;margin-top:15px;}
285
378
  .fc-grid table {margin-bottom:0
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: event_calendar_engine
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jason LaPier
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-12-07 00:00:00 -08:00
19
+ date: 2010-12-16 00:00:00 -08:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -457,80 +457,79 @@ files:
457
457
  - public/422.html
458
458
  - public/500.html
459
459
  - public/favicon.ico
460
- - public/images/rails.png
461
- - public/javascripts/event_calendar.js
462
- - public/javascripts/event_calendar_behaviors.js
463
- - public/javascripts/fullcalendar.js
464
- - public/javascripts/jquery-ui-1.7.2.custom.min.js
465
- - public/javascripts/jquery.clonePosition.js
466
- - public/javascripts/jquery.js
467
- - public/javascripts/jquery.qtip-1.0.0-rc3.js
468
- - public/javascripts/jquery.string.1.0-min.js
469
- - public/javascripts/jquery.tablesorter.min.js
470
- - public/javascripts/lowpro.jquery.js
471
- - public/javascripts/rails.js
460
+ - public/javascripts/event_calendar/event_calendar.js
461
+ - public/javascripts/event_calendar/event_calendar_behaviors.js
462
+ - public/javascripts/event_calendar/fullcalendar.js
463
+ - public/javascripts/event_calendar/jquery-ui-1.7.2.custom.min.js
464
+ - public/javascripts/event_calendar/jquery.clonePosition.js
465
+ - public/javascripts/event_calendar/jquery.js
466
+ - public/javascripts/event_calendar/jquery.qtip-1.0.0-rc3.js
467
+ - public/javascripts/event_calendar/jquery.string.1.0-min.js
468
+ - public/javascripts/event_calendar/jquery.tablesorter.min.js
469
+ - public/javascripts/event_calendar/lowpro.jquery.js
470
+ - public/javascripts/event_calendar/rails.js
472
471
  - public/robots.txt
473
- - public/stylesheets/blueprint/grid.css
474
- - public/stylesheets/blueprint/icons/cross.png
475
- - public/stylesheets/blueprint/icons/doc.png
476
- - public/stylesheets/blueprint/icons/email.png
477
- - public/stylesheets/blueprint/icons/external.png
478
- - public/stylesheets/blueprint/icons/feed.png
479
- - public/stylesheets/blueprint/icons/im.png
480
- - public/stylesheets/blueprint/icons/key.png
481
- - public/stylesheets/blueprint/icons/pdf.png
482
- - public/stylesheets/blueprint/icons/tick.png
483
- - public/stylesheets/blueprint/icons/visited.png
484
- - public/stylesheets/blueprint/icons/xls.png
485
- - public/stylesheets/blueprint/ie.css
486
- - public/stylesheets/blueprint/plugins/buttons/icons/cross.png
487
- - public/stylesheets/blueprint/plugins/buttons/icons/key.png
488
- - public/stylesheets/blueprint/plugins/buttons/icons/tick.png
489
- - public/stylesheets/blueprint/plugins/buttons/readme.txt
490
- - public/stylesheets/blueprint/plugins/buttons/screen.css
491
- - public/stylesheets/blueprint/plugins/fancy-type/readme.txt
492
- - public/stylesheets/blueprint/plugins/fancy-type/screen.css
493
- - public/stylesheets/blueprint/plugins/link-icons/icons/doc.png
494
- - public/stylesheets/blueprint/plugins/link-icons/icons/email.png
495
- - public/stylesheets/blueprint/plugins/link-icons/icons/external.png
496
- - public/stylesheets/blueprint/plugins/link-icons/icons/feed.png
497
- - public/stylesheets/blueprint/plugins/link-icons/icons/im.png
498
- - public/stylesheets/blueprint/plugins/link-icons/icons/pdf.png
499
- - public/stylesheets/blueprint/plugins/link-icons/icons/visited.png
500
- - public/stylesheets/blueprint/plugins/link-icons/icons/xls.png
501
- - public/stylesheets/blueprint/plugins/link-icons/readme.txt
502
- - public/stylesheets/blueprint/plugins/link-icons/screen.css
503
- - public/stylesheets/blueprint/plugins/rtl/readme.txt
504
- - public/stylesheets/blueprint/plugins/rtl/screen.css
505
- - public/stylesheets/blueprint/plugins/silksprite/sprite.css
506
- - public/stylesheets/blueprint/plugins/silksprite/sprites.png
507
- - public/stylesheets/blueprint/print.css
508
- - public/stylesheets/blueprint/readme.txt
509
- - public/stylesheets/blueprint/screen.css
510
- - public/stylesheets/error_messages.css
511
- - public/stylesheets/formtastic.css
512
- - public/stylesheets/formtastic_changes.css
513
- - public/stylesheets/fullcalendar.css
514
- - public/stylesheets/fullcalendar_changes.css
515
- - public/stylesheets/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
516
- - public/stylesheets/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
517
- - public/stylesheets/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
518
- - public/stylesheets/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
519
- - public/stylesheets/smoothness/images/ui-bg_glass_75_dadada_1x400.png
520
- - public/stylesheets/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
521
- - public/stylesheets/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
522
- - public/stylesheets/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
523
- - public/stylesheets/smoothness/images/ui-icons_222222_256x240.png
524
- - public/stylesheets/smoothness/images/ui-icons_2e83ff_256x240.png
525
- - public/stylesheets/smoothness/images/ui-icons_454545_256x240.png
526
- - public/stylesheets/smoothness/images/ui-icons_888888_256x240.png
527
- - public/stylesheets/smoothness/images/ui-icons_cd0a0a_256x240.png
528
- - public/stylesheets/smoothness/jquery-ui-1.7.2.custom.css
529
- - public/stylesheets/tablesorter/blue/asc.gif
530
- - public/stylesheets/tablesorter/blue/bg.gif
531
- - public/stylesheets/tablesorter/blue/desc.gif
532
- - public/stylesheets/tablesorter/blue/style.css
533
- - public/stylesheets/text_and_colors.css
472
+ - public/stylesheets/event_calendar/blueprint/grid.css
473
+ - public/stylesheets/event_calendar/blueprint/icons/cross.png
474
+ - public/stylesheets/event_calendar/blueprint/icons/doc.png
475
+ - public/stylesheets/event_calendar/blueprint/icons/email.png
476
+ - public/stylesheets/event_calendar/blueprint/icons/external.png
477
+ - public/stylesheets/event_calendar/blueprint/icons/feed.png
478
+ - public/stylesheets/event_calendar/blueprint/icons/im.png
479
+ - public/stylesheets/event_calendar/blueprint/icons/key.png
480
+ - public/stylesheets/event_calendar/blueprint/icons/pdf.png
481
+ - public/stylesheets/event_calendar/blueprint/icons/tick.png
482
+ - public/stylesheets/event_calendar/blueprint/icons/visited.png
483
+ - public/stylesheets/event_calendar/blueprint/icons/xls.png
484
+ - public/stylesheets/event_calendar/blueprint/ie.css
485
+ - public/stylesheets/event_calendar/blueprint/plugins/buttons/icons/cross.png
486
+ - public/stylesheets/event_calendar/blueprint/plugins/buttons/icons/key.png
487
+ - public/stylesheets/event_calendar/blueprint/plugins/buttons/icons/tick.png
488
+ - public/stylesheets/event_calendar/blueprint/plugins/buttons/readme.txt
489
+ - public/stylesheets/event_calendar/blueprint/plugins/buttons/screen.css
490
+ - public/stylesheets/event_calendar/blueprint/plugins/fancy-type/readme.txt
491
+ - public/stylesheets/event_calendar/blueprint/plugins/fancy-type/screen.css
492
+ - public/stylesheets/event_calendar/blueprint/plugins/link-icons/icons/doc.png
493
+ - public/stylesheets/event_calendar/blueprint/plugins/link-icons/icons/email.png
494
+ - public/stylesheets/event_calendar/blueprint/plugins/link-icons/icons/external.png
495
+ - public/stylesheets/event_calendar/blueprint/plugins/link-icons/icons/feed.png
496
+ - public/stylesheets/event_calendar/blueprint/plugins/link-icons/icons/im.png
497
+ - public/stylesheets/event_calendar/blueprint/plugins/link-icons/icons/pdf.png
498
+ - public/stylesheets/event_calendar/blueprint/plugins/link-icons/icons/visited.png
499
+ - public/stylesheets/event_calendar/blueprint/plugins/link-icons/icons/xls.png
500
+ - public/stylesheets/event_calendar/blueprint/plugins/link-icons/readme.txt
501
+ - public/stylesheets/event_calendar/blueprint/plugins/link-icons/screen.css
502
+ - public/stylesheets/event_calendar/blueprint/plugins/rtl/readme.txt
503
+ - public/stylesheets/event_calendar/blueprint/plugins/rtl/screen.css
504
+ - public/stylesheets/event_calendar/blueprint/plugins/silksprite/sprite.css
505
+ - public/stylesheets/event_calendar/blueprint/plugins/silksprite/sprites.png
506
+ - public/stylesheets/event_calendar/blueprint/print.css
507
+ - public/stylesheets/event_calendar/blueprint/readme.txt
508
+ - public/stylesheets/event_calendar/blueprint/screen.css
509
+ - public/stylesheets/event_calendar/error_messages.css
510
+ - public/stylesheets/event_calendar/formtastic.css
511
+ - public/stylesheets/event_calendar/formtastic_changes.css
512
+ - public/stylesheets/event_calendar/fullcalendar.css
513
+ - public/stylesheets/event_calendar/fullcalendar_changes.css
514
+ - public/stylesheets/event_calendar/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
515
+ - public/stylesheets/event_calendar/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
516
+ - public/stylesheets/event_calendar/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
517
+ - public/stylesheets/event_calendar/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
518
+ - public/stylesheets/event_calendar/smoothness/images/ui-bg_glass_75_dadada_1x400.png
519
+ - public/stylesheets/event_calendar/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
520
+ - public/stylesheets/event_calendar/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
521
+ - public/stylesheets/event_calendar/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
522
+ - public/stylesheets/event_calendar/smoothness/images/ui-icons_222222_256x240.png
523
+ - public/stylesheets/event_calendar/smoothness/images/ui-icons_2e83ff_256x240.png
524
+ - public/stylesheets/event_calendar/smoothness/images/ui-icons_454545_256x240.png
525
+ - public/stylesheets/event_calendar/smoothness/images/ui-icons_888888_256x240.png
526
+ - public/stylesheets/event_calendar/smoothness/images/ui-icons_cd0a0a_256x240.png
527
+ - public/stylesheets/event_calendar/smoothness/jquery-ui-1.7.2.custom.css
528
+ - public/stylesheets/event_calendar/tablesorter/blue/asc.gif
529
+ - public/stylesheets/event_calendar/tablesorter/blue/bg.gif
530
+ - public/stylesheets/event_calendar/tablesorter/blue/desc.gif
531
+ - public/stylesheets/event_calendar/tablesorter/blue/style.css
532
+ - public/stylesheets/event_calendar/text_and_colors.css
534
533
  - vendor/plugins/searchable_by/MIT-LICENSE
535
534
  - vendor/plugins/searchable_by/README
536
535
  - vendor/plugins/searchable_by/Rakefile
Binary file