Update download button

This commit is contained in:
Joel Addison 2019-12-15 18:01:39 +10:00
parent 9644af2fe6
commit 40f3169aba

View file

@ -8,6 +8,19 @@
{% block page_title %}Conference Schedule{% endblock %} {% block page_title %}Conference Schedule{% endblock %}
{% block content %} {% block content %}
<div class="float-right d-print-none">
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="downloadMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Download
</button>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="downloadMenuButton">
<h6 class="dropdown-header">Format</h6>
<a class="dropdown-item" href="{% url "ical_feed" %}">iCal (ICS)</a>
<a class="dropdown-item" href="{% url "schedule_json" %}">JSON</a>
</div>
</div>
</div>
<div class="row d-print-none"> <div class="row d-print-none">
<div class="col"> <div class="col">
<ul class="nav nav-pills flex-column flex-md-row" id="schedule-tabs" role="tablist"> <ul class="nav nav-pills flex-column flex-md-row" id="schedule-tabs" role="tablist">
@ -45,14 +58,6 @@
{% endcache %} {% endcache %}
{% endfor %} {% endfor %}
</div> </div>
<div>
<ul class="list-group list-group-horizontal">
<li class="list-group-item"><a href="conference.ics">ics</a></li>
<li class="list-group-item"><a href="conference.json">json</a></li>
</ul>
</div>
{% endblock %} {% endblock %}
{% block scripts_extra %} {% block scripts_extra %}