2016-08-08 18:22:53 +00:00
|
|
|
{% extends 'schedule_base.html' %}
|
2016-08-04 21:03:39 +00:00
|
|
|
|
2016-08-08 18:22:53 +00:00
|
|
|
{% block schedule_content %}
|
2016-08-04 21:03:39 +00:00
|
|
|
|
2017-01-22 11:59:57 +00:00
|
|
|
<a href="{% url 'schedule_index' camp_slug=camp.slug %}" class="btn btn-default" style="display: inline-block; padding: 5px;">Overview</a>
|
|
|
|
{% for day in camp.camp_days %}
|
|
|
|
{% with day.lower.date|date:"m" as month_padded %}
|
|
|
|
{% with day.lower.date|date:"d" as day_padded %}
|
|
|
|
<a href="{% url 'schedule_day' camp_slug=camp.slug year=day.lower.date.year month=month_padded day=day_padded %}" class="btn btn-default" style="display: inline-block; padding: 5px;">
|
|
|
|
{{ day.lower.date|date:"l" }}
|
|
|
|
</a>
|
|
|
|
{% endwith %}
|
|
|
|
{% endwith %}
|
2016-08-04 21:03:39 +00:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
2017-01-23 17:57:30 +00:00
|
|
|
<a href="{% url 'schedule_index' camp_slug=camp.slug %}" style="background-color: black; border: 0; color: white; display: inline-block; padding: 5px;">
|
|
|
|
All
|
|
|
|
</a>
|
|
|
|
{% for event_type in camp.event_types %}
|
|
|
|
<a href="{% url 'schedule_index' camp_slug=camp.slug %}?type={{ event_type.slug }}" style="background-color: {{ event_type.color }}; border: 0; color: {% if event_type.light_text %}white{% else %}black{% endif %}; display: inline-block; padding: 5px;">
|
|
|
|
{{ event_type.name }}
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
2016-08-04 21:03:39 +00:00
|
|
|
{% block program_content %}
|
2016-08-08 18:22:53 +00:00
|
|
|
{% endblock program_content %}
|
2016-08-04 21:03:39 +00:00
|
|
|
|
2016-08-08 18:22:53 +00:00
|
|
|
{% endblock schedule_content %}
|