add buttons for other schedule pages to base template
This commit is contained in:
parent
1b2b729c28
commit
c9bd93582c
|
@ -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;">
|
<a href="{% url 'schedule:index' %}" class="btn btn-default" style="display: inline-block; padding: 5px;">
|
||||||
Overview
|
Overview
|
||||||
|
@ -18,6 +18,6 @@
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
{% block program_content %}
|
{% block program_content %}
|
||||||
{% endblock %}
|
{% endblock program_content %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock schedule_content %}
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
{% extends 'program_base.html' %}
|
{% extends 'program_base.html' %}
|
||||||
|
|
||||||
{% block program_content %}
|
{% 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 & Events</a>
|
|
||||||
</p>
|
|
||||||
<a href="{% url 'schedule:index' %}" style="background-color: black; border: 0; color: white; display: inline-block; padding: 5px;">
|
<a href="{% url 'schedule:index' %}" style="background-color: black; border: 0; color: white; display: inline-block; padding: 5px;">
|
||||||
All
|
All
|
||||||
</a>
|
</a>
|
||||||
|
|
16
program/templates/schedule_base.html
Normal file
16
program/templates/schedule_base.html
Normal 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 & Events</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
{% block schedule_content %}
|
||||||
|
{% endblock schedule_content %}
|
||||||
|
|
||||||
|
{% endblock content %}
|
Loading…
Reference in a new issue