annotate gpp/templates/gcalendar/google_sync.html @ 201:bc958bc3c6eb

Futzing with CSS side blocks
author Brian Neal <bgneal@gmail.com>
date Mon, 12 Apr 2010 02:56:31 +0000
parents 6a5549c2efb5
children 9a4bffdf37c3
rev   line source
gremmie@1 1 {% extends 'admin/base_site.html' %}
gremmie@1 2 {% block title %}Sync Events w/Google Calendar{% endblock %}
gremmie@1 3 {% block breadcrumbs %}
gremmie@1 4 <div class="breadcrumbs">
gremmie@1 5 <a href="../../../">Home</a> &rsaquo;
gremmie@1 6 <a href="../../">Gcalendar</a> &rsaquo;
gremmie@1 7 <a href="../">Events</a> &rsaquo; Google Sync
gremmie@1 8 </div>
gremmie@1 9 {% endblock %}
gremmie@1 10 {% block content %}
gremmie@1 11 <h1>Synchronize Approved Events with Google Calendar</h1>
bgneal@69 12 {% if err_msg %}
gremmie@1 13 <ul class="errorlist">
bgneal@69 14 <li>{{ err_msg }}</li>
gremmie@1 15 </ul>
gremmie@1 16 {% endif %}
gremmie@1 17 {% if events %}
gremmie@1 18 <p>To synchronize the following approved events with the Google calendar, please enter the password for the
gremmie@1 19 account and click submit.</p>
gremmie@1 20 <ol>
gremmie@1 21 {% for event in events %}
gremmie@1 22 {% if not event.on_calendar %}
gremmie@1 23 <li><a href="../../{{ event.id }}">{{ event.start_date|date:"M d, Y" }} - {{ event.what }}</a>
gremmie@1 24 &bull; Submitted by {{ event.user.username }} &bull; <strong>{{ event.get_status_display }}</strong></li>
gremmie@1 25 {% endif %}
gremmie@1 26 {% endfor %}
gremmie@1 27 </ol>
bgneal@194 28 <form action="." method="POST">{% csrf_token %}
gremmie@1 29 {{ form.as_p }}
gremmie@1 30 <p><input type="submit" name="submit" value="Submit" /></p>
gremmie@1 31 </form>
gremmie@1 32 {% else %}
gremmie@1 33 <p>No events to synchronize at this time.</p>
gremmie@1 34 {% endif %}
gremmie@1 35 {% endblock %}