From d2bfbfd2810fbee673e43b2515db8bac527b3441 Mon Sep 17 00:00:00 2001 From: hukl Date: Mon, 16 Mar 2009 20:58:49 +0100 Subject: Refactored Chaos Calendar by wrapping libical and introducing event and occurrence model. More improvements to come. Enables us to create events with reoccurrence and intervals etc. --- app/views/layouts/events.html.erb | 17 +++++++++++++++++ app/views/layouts/occurrences.html.erb | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 app/views/layouts/events.html.erb create mode 100644 app/views/layouts/occurrences.html.erb (limited to 'app/views/layouts') diff --git a/app/views/layouts/events.html.erb b/app/views/layouts/events.html.erb new file mode 100644 index 00000000..93a6c0c0 --- /dev/null +++ b/app/views/layouts/events.html.erb @@ -0,0 +1,17 @@ + + + + + + Events: <%= controller.action_name %> + <%= stylesheet_link_tag 'scaffold' %> + + + +

<%= flash[:notice] %>

+ +<%= yield %> + + + diff --git a/app/views/layouts/occurrences.html.erb b/app/views/layouts/occurrences.html.erb new file mode 100644 index 00000000..ab4aca63 --- /dev/null +++ b/app/views/layouts/occurrences.html.erb @@ -0,0 +1,17 @@ + + + + + + Occurrences: <%= controller.action_name %> + <%= stylesheet_link_tag 'scaffold' %> + + + +

<%= flash[:notice] %>

+ +<%= yield %> + + + -- cgit v1.3