thsf.net/build/lib/thsf/templates/planning.html

63 lines
2.2 KiB
HTML
Raw Normal View History

2023-04-09 06:17:34 +11:00
{% extends "base.html" %}
{% block headers %}
<link rel="stylesheet"
href="{{ url_for('static', filename='css/planning.css') }}">
{% endblock %}
{% block content %}
<div id="main_wrapper">
<div id="#schedule">
{% for slot in slots %}
<div class="slot">
<div class="metadata">
2023-04-09 11:12:29 +11:00
<i class="button planning_tooltip black {{slot['submission_type']['fr'] | toicon }}"
title="{{slot['submission_type']['fr']}}"
alt="{{slot['submission_type']['fr']}}">
<span class="planning_tooltiptext thin">{{slot['submission_type']['fr']}}</span><span class="title white">{{slot["title"]}}</span>
</i>
2023-04-09 06:17:34 +11:00
<div class="speakers">
{% for speaker in slot["speakers"] %}
2023-04-09 11:12:29 +11:00
{{speaker["name"] | title}}
<i class="speaker_details fa-solid fa-user">
{% if speaker['avatar'] or speaker["biography"] %}
<div class="details">
{% if speaker['avatar'] %}
<img src="{{speaker['avatar']}}" />
{% endif %}
{% if speaker['biography'] %}
<p class="thin">{{speaker["biography"]}}</p>
{% endif %}
</div>
{% endif %}
</i> {{ ", " if not loop.last else "" }}
2023-04-09 06:17:34 +11:00
{% endfor %}
</div>
</div>
<div class="data">
2023-04-09 11:12:29 +11:00
<div class="details">
<div class="room">{{slot["slot"]["room"]["fr"]}}</div>
<div class="start">{{slot["slot"]["start"] | date2dmyhm}} - {{slot["duration"]}} minutes ({{slot["content_locale"] | capitalize}})</div>
</div>
<div class="abstract">
{% if slot['image'] %}
<img class="data_img" src="{{slot['image']}}"/>
{% endif %}
<p>{{slot["abstract"]}}</p>
</div>
2023-04-09 06:17:34 +11:00
<div class="description">{{slot["description"]}}</div>
2023-04-09 11:12:29 +11:00
{% if slot["resources"] %}
2023-04-09 06:17:34 +11:00
<div class="resources">
2023-04-09 11:12:29 +11:00
<h3>Ressources</h3>
2023-04-09 06:17:34 +11:00
{% for resource in slot["resources"] %}
2023-04-09 11:12:29 +11:00
<div class="resource">
<a class="thin" href="{{resource['resource']}}">{{resource["description"]}}</a>
2023-04-09 06:17:34 +11:00
</div>
{% endfor %}
</div>
2023-04-09 11:12:29 +11:00
{% endif %}
2023-04-09 06:17:34 +11:00
</div>
</div>
{% endfor %}
</div>
</div>
{% endblock %}