annotate gpp/templates/gcalendar/index.html @ 339:b871892264f2

Adding the sg101 IRC bot code to SVN. This code is pretty rough and needs love, but it gets the job done (one of my first Python apps). This fixes #150.
author Brian Neal <bgneal@gmail.com>
date Sat, 26 Feb 2011 21:27:49 +0000
parents 88b2b9cb8c1f
children f7fbb404241f
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>
gremmie@1 6 <p>All times are shown in the US/Central time zone. 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>
gremmie@1 10 <iframe src="//www.google.com/calendar/embed?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=America%2FChicago" style=" border:solid 1px #777 " width="720" height="540" frameborder="0" scrolling="no"></iframe>
gremmie@1 11
gremmie@1 12 <ul>
gremmie@1 13 {% if user.is_authenticated %}
bgneal@312 14 <li><a href="{% url 'gcalendar-add' %}"><img src="{{ STATIC_URL}}icons/calendar_add.png" alt="Add" /></a>
bgneal@310 15 <a href="{% url 'gcalendar-add' %}">Add an event to our calendar</a>.</li>
bgneal@312 16 <li><a href="{% url 'gcalendar-edit_events' %}"><img src="{{ STATIC_URL}}icons/calendar_edit.png" alt="Edit" /></a>
bgneal@310 17 <a href="{% url 'gcalendar-edit_events' %}">Change or delete an event you previously added</a>.</li>
gremmie@1 18 {% endif %}
gremmie@1 19 <li>
gremmie@1 20 <a href="http://www.google.com/calendar/feeds/i81lu3fkh57sgqqenogefd9v78%40group.calendar.google.com/public/basic">
bgneal@312 21 <img src="{{ STATIC_URL }}icons/feed.png" alt="feed" /></a>
gremmie@1 22 <a href="http://www.google.com/calendar/feeds/i81lu3fkh57sgqqenogefd9v78%40group.calendar.google.com/public/basic">
gremmie@1 23 RSS Feed</a>
gremmie@1 24 </li>
gremmie@1 25 <li>
gremmie@1 26 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 27 </li>
gremmie@1 28 </ul>
gremmie@1 29 {% endblock %}