annotate gpp/templates/gcalendar/index.html @ 456:5be072292e2d

Working on #220. Can't test locally, so committing in increments.
author Brian Neal <bgneal@gmail.com>
date Fri, 01 Jul 2011 00:43:44 +0000
parents f7fbb404241f
children
rev   line source
gremmie@1 1 {% extends 'base.html' %}
bgneal@310 2 {% load url from future %}
gremmie@1 3 {% block title %}Event Calendar{% endblock %}
gremmie@1 4 {% block content %}
gremmie@1 5 <h2>SurfGuitar101 Event Calendar</h2>
bgneal@345 6 <p>Welcome to the SG101 event calendar. You can add any event on our calendar to your own
gremmie@1 7 <a href="http://www.google.com/googlecalendar/overview.html">Google calendar</a>. If you do, the event
gremmie@1 8 will be displayed in your time zone, and you can have Google send you email or text message reminders for
gremmie@1 9 the events. Click on any event below to see more details or copy it to your calendar.</p>
bgneal@345 10 {% if user.is_authenticated %}
bgneal@345 11 <p><strong>Please note:</strong> all times shown are in the <strong>{{ tz }}</strong>
bgneal@345 12 time zone, which is the time zone preference you have set in your
bgneal@345 13 <a href="{% url 'bio-me' %}">user profile</a>.
bgneal@345 14 </p>
bgneal@345 15 {% else %}
bgneal@345 16 <p><strong>Please note:</strong> all times shown are in the <strong>{{ tz }}</strong> time zone. Please
bgneal@345 17 <a href="{% url 'accounts-login' %}">login</a> to view the times based on the time zone set in your profile.</p>
bgneal@345 18 {% endif %}
bgneal@345 19
bgneal@345 20 <iframe src="//www.google.com/calendar/embed?mode=AGENDA&amp;showTitle=0&amp;showTz=0&amp;height=540&amp;wkst=1&amp;bgcolor=%23DFDFDF&amp;src=i81lu3fkh57sgqqenogefd9v78%40group.calendar.google.com&amp;color=%231B887A&amp;ctz={{ tz|urlencode:"" }}" style=" border:solid 1px #777 " width="720" height="540" frameborder="0" scrolling="no"></iframe>
gremmie@1 21
gremmie@1 22 <ul>
gremmie@1 23 {% if user.is_authenticated %}
bgneal@312 24 <li><a href="{% url 'gcalendar-add' %}"><img src="{{ STATIC_URL}}icons/calendar_add.png" alt="Add" /></a>
bgneal@310 25 <a href="{% url 'gcalendar-add' %}">Add an event to our calendar</a>.</li>
bgneal@312 26 <li><a href="{% url 'gcalendar-edit_events' %}"><img src="{{ STATIC_URL}}icons/calendar_edit.png" alt="Edit" /></a>
bgneal@310 27 <a href="{% url 'gcalendar-edit_events' %}">Change or delete an event you previously added</a>.</li>
gremmie@1 28 {% endif %}
gremmie@1 29 <li>
gremmie@1 30 <a href="http://www.google.com/calendar/feeds/i81lu3fkh57sgqqenogefd9v78%40group.calendar.google.com/public/basic">
bgneal@312 31 <img src="{{ STATIC_URL }}icons/feed.png" alt="feed" /></a>
gremmie@1 32 <a href="http://www.google.com/calendar/feeds/i81lu3fkh57sgqqenogefd9v78%40group.calendar.google.com/public/basic">
gremmie@1 33 RSS Feed</a>
gremmie@1 34 </li>
gremmie@1 35 <li>
gremmie@1 36 Want to embed this calendar on your website or blog? <a href="http://www.google.com/calendar/embedhelper?src=i81lu3fkh57sgqqenogefd9v78%40group.calendar.google.com&ctz=America/Chicago">Use this helper tool</a>.
gremmie@1 37 </li>
gremmie@1 38 </ul>
gremmie@1 39 {% endblock %}