annotate gpp/templates/gcalendar/index.html @ 21:884839ddbfde
Webinks: added a navigation template tag so views don't have to keep constructing the searc form. Also provided a count of search results on the template.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sun, 19 Apr 2009 21:00:06 +0000 |
parents |
dbd703f7d63a |
children |
daa2916f5b34 |
rev |
line source |
gremmie@1
|
1 {% extends 'base.html' %}
|
gremmie@1
|
2 {% block title %}Event Calendar{% endblock %}
|
gremmie@1
|
3 {% block content %}
|
gremmie@1
|
4 <h2>SurfGuitar101 Event Calendar</h2>
|
gremmie@1
|
5 <p>All times are shown in the US/Central time zone. You can add any event on our calendar to your own
|
gremmie@1
|
6 <a href="http://www.google.com/googlecalendar/overview.html">Google calendar</a>. If you do, the event
|
gremmie@1
|
7 will be displayed in your time zone, and you can have Google send you email or text message reminders for
|
gremmie@1
|
8 the events. Click on any event below to see more details or copy it to your calendar.</p>
|
gremmie@1
|
9 <iframe src="//www.google.com/calendar/embed?showTitle=0&showTz=0&height=540&wkst=1&bgcolor=%23DFDFDF&src=i81lu3fkh57sgqqenogefd9v78%40group.calendar.google.com&color=%231B887A&ctz=America%2FChicago" style=" border:solid 1px #777 " width="720" height="540" frameborder="0" scrolling="no"></iframe>
|
gremmie@1
|
10
|
gremmie@1
|
11 <ul>
|
gremmie@1
|
12 {% if user.is_authenticated %}
|
gremmie@1
|
13 <li><a href="{% url gcalendar-add %}"><img src="{{ MEDIA_URL}}icons/calendar_add.png" alt="Add" /></a>
|
gremmie@1
|
14 <a href="{% url gcalendar-add %}">Add an event to our calendar</a>.</li>
|
gremmie@1
|
15 <li><a href="{% url gcalendar-edit_events %}"><img src="{{ MEDIA_URL}}icons/calendar_edit.png" alt="Edit" /></a>
|
gremmie@1
|
16 <a href="{% url gcalendar-edit_events %}">Change or delete an event you previously added</a>.</li>
|
gremmie@1
|
17 {% endif %}
|
gremmie@1
|
18 <li>
|
gremmie@1
|
19 <a href="http://www.google.com/calendar/feeds/i81lu3fkh57sgqqenogefd9v78%40group.calendar.google.com/public/basic">
|
gremmie@1
|
20 <img src="{{ MEDIA_URL }}icons/feed.png" alt="feed" /></a>
|
gremmie@1
|
21 <a href="http://www.google.com/calendar/feeds/i81lu3fkh57sgqqenogefd9v78%40group.calendar.google.com/public/basic">
|
gremmie@1
|
22 RSS Feed</a>
|
gremmie@1
|
23 </li>
|
gremmie@1
|
24 <li>
|
gremmie@1
|
25 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
|
26 </li>
|
gremmie@1
|
27 </ul>
|
gremmie@1
|
28 {% endblock %}
|