add buttons for other schedule pages to base template

This commit is contained in:
Thomas Steen Rasmussen 2016-08-08 20:22:53 +02:00
parent 1b2b729c28
commit c9bd93582c
3 changed files with 20 additions and 9 deletions

View file

@ -1,6 +1,6 @@
{% extends 'base.html' %}
{% extends 'schedule_base.html' %}
{% block content %}
{% block schedule_content %}
<a href="{% url 'schedule:index' %}" class="btn btn-default" style="display: inline-block; padding: 5px;">
Overview
@ -18,6 +18,6 @@
<hr />
{% block program_content %}
{% endblock %}
{% endblock program_content %}
{% endblock %}
{% endblock schedule_content %}

View file

@ -1,11 +1,6 @@
{% extends 'program_base.html' %}
{% block program_content %}
<p>
<a href="{% url 'call-for-speakers' %}" class="btn btn-default">Call for Speakers</a>
<a href="{% url 'schedule:speaker_index' %}" class="btn btn-default">Speakers</a>
<a href="{% url 'schedule:event_index' %}" class="btn btn-default">Talks &amp; Events</a>
</p>
<a href="{% url 'schedule:index' %}" style="background-color: black; border: 0; color: white; display: inline-block; padding: 5px;">
All
</a>

View file

@ -0,0 +1,16 @@
{% extends 'base.html' %}
{% block content %}
<p>
<a href="{% url 'schedule:index' %}" class="btn btn-default">Schedule</a>
<a href="{% url 'call-for-speakers' %}" class="btn btn-default">Call for Speakers</a>
<a href="{% url 'schedule:speaker_index' %}" class="btn btn-default">Speakers</a>
<a href="{% url 'schedule:event_index' %}" class="btn btn-default">Talks &amp; Events</a>
</p>
<hr />
{% block schedule_content %}
{% endblock schedule_content %}
{% endblock content %}