Files
@ 98d58b55484f
Branch filter:
Location: symposion_app/pinaxcon/templates/symposion/schedule/schedule_conference.html
98d58b55484f
4.0 KiB
text/html
Update jsonnet deployment to use 2020 images
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | {% extends "utility_page.html" %}
{% load i18n %}
{% load cache %}
{% load lca2018_tags %}
{% block head_title %}Conference Schedule{% endblock %}
{% block header_title %}Conference Schedule{% endblock %}
{% block body_class %}bg-primary text-secondary{% endblock body_class %}
{% block right %}
{% endblock %}
{% block navbar %}{% include 'nav.html' with color='green' %}{% endblock %}
{% block main_class %}container-fluid{% endblock %}
{% block content %}
<div class="schedule-header text-center">
<h1>Schedule</h1>
<h3 id="schedule-date">wednesday 23 January 2019</h3>
<nav class="mb-4">
<div class="nav schedule-nav" id="schedule-nav" role="tablist">
Monday miniconfs
{% for section in sections %}
{% if "Miniconf" in section.schedule.section.name %}
{% for timetable in section.days %}
{% if timetable.day.date|date:"Y-m-d" == "2019-01-21" %}
{% include "symposion/schedule/_schedule_nav_link.html" with label=section.schedule.section.name|cut:" Miniconf" %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
<br />
Tuesday miniconfs
{% for section in sections %}
{% if "Miniconf" in section.schedule.section.name %}
{% for timetable in section.days %}
{% if timetable.day.date|date:"Y-m-d" == "2019-01-22" %}
{% include "symposion/schedule/_schedule_nav_link.html" with label=section.schedule.section.name|cut:" Miniconf" %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
<br />
{% for section in sections %}
{% if "Miniconf" not in section.schedule.section.name %}
{% for timetable in section.days %}
{% include "symposion/schedule/_schedule_nav_link.html" with active=forloop.first label=timetable.day.date|date:"l" %}
{% endfor %}
{% endif %}
{% endfor %}
</div>
</nav>
</div>
<div class="schedule-page bg-secondary text-primary pt-4 pb-4 mb-0">
<div class="container">
<div class="row">
<div class="col">
<div class="tab-content">
{% for section in sections %}
{% for timetable in section.days %}
<div class="tab-pane fade {% if timetable.day.date|date:'Y-m-d' == '2019-01-23' %}show active{% endif %}" id="{{ section.schedule.section.slug }}-{{ timetable.day.date|date:"l"|lower}}"
role="tabpanel" aria-labelledby="{{ section.schedule.section.slug }}-{{ timetable.day.date|date:"l"|lower}}-tab">
<div class="table-responsive hidden-md-down">
{% include "symposion/schedule/_grid.html" %}
</div>
<div class="mobile-schedule">
{% include "symposion/schedule/_mobile.html" %}
</div>
</div>
{% endfor %}
{% endfor %}
</div>
</div>
</div>
</div>
</div>
{% endblock %}
{%block footer_class %}footer-no-margin{% endblock %}
{% block scripts_extra %}
<script type="text/javascript">
var dates = {
'monday': '21',
'tuesday': '22',
'wednesday': '23',
'thursday': '24',
'friday': '25'
};
var trailing = ' January 2019';
$('a[data-toggle="tab"]').on('show.bs.tab', function (e) {
var controls = e.target.attributes['aria-controls'].value
var day = controls.split('-');
day = day[day.length - 1];
$('#schedule-date').text(day + ' ' + dates[day] + trailing);
var loc = window.location.toString().split('?')[0] += '?schedule=' + controls;
window.history.pushState({path: loc}, '', loc);
})
</script>
<script>
const urlParams = new URLSearchParams(window.location.search);
const scheduleName = urlParams.get('schedule');
if(scheduleName !== null) {
$('a[href="#' + scheduleName + '"]').tab('show');
} else {
var currLoc = $('a[data-toggle="tab"].active').first().attr('aria-controls');
var loc = window.location.toString().split('?')[0] += '?schedule=' + currLoc;
window.history.replaceState({path: loc}, '', loc);
}
</script>
{{ block.super }}
{% endblock %}
|