diff --git a/pinaxcon/templates/symposion/schedule/_grid.html b/pinaxcon/templates/symposion/schedule/_grid.html index b1ce1b12b5e03a2800eb9d8cc4f3e63917873f83..36d1ad564cfc4f157a7c684c9b1f2a576925a542 100644 --- a/pinaxcon/templates/symposion/schedule/_grid.html +++ b/pinaxcon/templates/symposion/schedule/_grid.html @@ -10,7 +10,7 @@ {% for row in timetable %} - {{ row.time|date:"h:iA" }} +

{{ row.time|date:"h:iA" }}

{% for slot in row.slots %} {% if slot.kind.label == "talk" or slot.kind.label == "tutorial" %} @@ -22,11 +22,14 @@ {{ slot.content.speakers|join:", " }} + + {{ slot.rooms|join:", "}} + {% endif %} {% elif slot.kind.label == "shortbreak" %} {% else %} - {% if slot.content_override.raw %} - {{ slot.content_override.rendered|safe }} + {% if slot.content_override %} + {{ slot.content_override_html|safe }} {% else %} {{ slot.kind.label }} {% endif %} diff --git a/pinaxcon/templates/symposion/schedule/presentation_detail.html b/pinaxcon/templates/symposion/schedule/presentation_detail.html index 9ae0d5d9b5103bd8cc42d07f309ce629576c640d..580a30ac31a0e8978e1f1700ba2e7f6ab0cea2d3 100644 --- a/pinaxcon/templates/symposion/schedule/presentation_detail.html +++ b/pinaxcon/templates/symposion/schedule/presentation_detail.html @@ -49,6 +49,24 @@ {% include "lca2017/_right_floating_image.html" with image_url=speaker_photo_url %}

{{ speaker }}

+ + {% if speaker.homepage or speaker.twitter_username %} +

+ {% if speaker.homepage %} + + {% include "cms_pages/home_page_blocks/btn_generic_link.html" %} + + {% endif %} + {% if speaker.twitter_username %} + + {% include "cms_pages/home_page_blocks/btn_twitter.html" %} + + {% endif %} +

+ {% endif %} + + + {{ speaker.biography_html|safe}} {% endfor %} diff --git a/pinaxcon/templates/symposion/schedule/schedule_conference.html b/pinaxcon/templates/symposion/schedule/schedule_conference.html index 8c6022e1b1ae709bb63ccc05c7f1605c0d3762d8..eee41e5e08190d84a9d6c443a6c0faee89a3be35 100644 --- a/pinaxcon/templates/symposion/schedule/schedule_conference.html +++ b/pinaxcon/templates/symposion/schedule/schedule_conference.html @@ -15,19 +15,36 @@ {% block right %} {% endblock %} -{% block content %} +{% block content_base %}
{% block breadcrumbs %}{% endblock %}
- {% for section in sections %} - {% cache 600 "schedule-table" section.schedule.section %} - {% for timetable in section.days %} -

{{ section.schedule.section.name }} — {{ timetable.day.date|date:"l" }}, {{ timetable.day.date }}

- {% include "symposion/schedule/_grid.html" %} +
+
+ +
+
+ {% for section in sections %} + {% for timetable in section.days %} + {{ timetable.day.date|date:"l"}} + {% endfor %} + {% endfor %} +
+
+ + {% for section in sections %} + {% cache 600 "schedule-table" section.schedule.section %} + {% for timetable in section.days %} +
+

{{ section.schedule.section.name }} — {{ timetable.day.date|date:"l" }}, {{ timetable.day.date }}

+ {% include "symposion/schedule/_grid.html" %} +
+ {% endfor %} + {% endcache %} {% endfor %} - {% endcache %} - {% endfor %} +
+
{% endblock %} diff --git a/static/src/lca2017/css/app.css b/static/src/lca2017/css/app.css index 2c7fcddf16190a840be12ba3821d93612bbddc56..d1f30eb47e8bf411f0fb8a0c7f4b2f0398f5fbcc 100644 --- a/static/src/lca2017/css/app.css +++ b/static/src/lca2017/css/app.css @@ -1607,43 +1607,89 @@ table.alt tr:not(:last-of-type) { margin-top: 2em; } -/* Schedule timetable needs some more specific font sizes */ -.calendar td { - font-size: 0.9vw; -} +/* Schedule timetable for mobile */ -.slot { - padding-left: 0.625rem; - padding-top: 0.2rem; - padding-bottom: 0.625rem; - padding-right: 0.625rem; - vertical-align: middle; -} +@media only screen and (max-width: 480px) { -.calendar th { - border-bottom: 1px solid #0c486c; - border-left: 0px !important; -} + .calendar { + line-height: 1.0; + } -.calendar .title { - display: block; - padding-bottom: 0.5vh; -} + .calendar thead { + display: none; + } -.slot-shortbreak { - color: #fff ; -} + .calendar tr, + .calendar td + { + display: block; + padding: 0.5ex; + } -.slot-tutorial { - vertical-align: top; + .calendar td, + .calendar td:not(:first-of-type) { + border: 0px; + } + + .calendar .slot .title, + .calendar .slot .speaker, + .calendar .slot .room + { + display: block; + line-height: 1.2; + } + + .calendar .slot .room + { + font-style: italic; + } } -.time { - font-size: 0.5vw; - line-height: 0.4; - vertical-align: middle; - padding-top: 0.25rem; +/* Schedule timetable needs some more specific font sizes */ + +@media not screen and (max-width: 480px) { + + .calendar td { + font-size: 0.9vw; + } + + .slot { + padding-left: 0.625rem; + padding-top: 0.2rem; + padding-bottom: 0.625rem; + padding-right: 0.625rem; + vertical-align: middle; + } + + .calendar th { + border-bottom: 1px solid #0c486c; + border-left: 0px !important; + } + + .calendar .title { + display: block; + padding-bottom: 0.5vh; + } + + .slot-shortbreak { + color: #fff ; + } + + .slot-tutorial { + vertical-align: top; + } + + .time { + font-size: 0.5vw; + line-height: 0.4; + vertical-align: middle; + padding-top: 0.25rem; + } + + .calendar .slot .room { + display: none; + } }