beta #4

Merged
doug713705 merged 203 commits from beta into master 2023-04-21 00:11:59 +11:00
2 changed files with 5 additions and 4 deletions
Showing only changes of commit 95d1cdf741 - Show all commits

View File

@ -2,6 +2,7 @@
{% block content %} {% block content %}
<div class="content"> <div class="content">
{% for slot in slots %} {% for slot in slots %}
{% set loop_index = loop.index %}
{% if filter %} {% if filter %}
{% if slot.submission_type.en | lower in filter %} {% if slot.submission_type.en | lower in filter %}
{% include "slot.html" %} {% include "slot.html" %}

View File

@ -1,7 +1,7 @@
<div class="slot"> <div class="slot">
<div class="slot_header"> <div class="slot_header">
<div class="slot_title {{ slot.slot.start | date2dayclass}}" <div class="slot_title {{ slot.slot.start | date2dayclass}}"
onclick="switch_visibility(document.getElementById('{{slot.code}}'))"> onclick="switch_visibility(document.getElementById('{{slot.code}}_{{loop_index}}'))">
<i class="black {{slot.submission_type.fr | toicon }}"></i> <i class="black {{slot.submission_type.fr | toicon }}"></i>
<span class="title">{{slot.title}}</span> <span class="title">{{slot.title}}</span>
</div> </div>
@ -17,12 +17,12 @@
<div class="speakers"> <div class="speakers">
{% for speaker in slot.speakers %} {% for speaker in slot.speakers %}
<div class="speaker"> <div class="speaker">
<div class="name" onclick="switch_visibility(document.getElementById('{{speaker.code}}'))"> <div class="name" onclick="switch_visibility(document.getElementById('{{speaker.code}}_{{loop_index}}'))">
<i class="fa-solid fa-user"></i> <i class="fa-solid fa-user"></i>
<span>{{speaker.name | title}}</span> <span>{{speaker.name | title}}</span>
</div> </div>
{% if speaker.avatar or speaker.biography %} {% if speaker.avatar or speaker.biography %}
<div id="{{speaker.code}}" class="speaker_details"> <div id="{{speaker.code}}_{{loop_index}}" class="speaker_details">
{% if speaker.avatar %} {% if speaker.avatar %}
<div class="speaker_avatar"> <div class="speaker_avatar">
<img class="speaker_img" <img class="speaker_img"
@ -43,7 +43,7 @@
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
<div id="{{slot.code}}" class="slot_details"> <div id="{{slot.code}}_{{loop_index}}" class="slot_details">
<div class="abstract"> <div class="abstract">
{% if slot.image %} {% if slot.image %}
<img class="slot_img" <img class="slot_img"