Add missing conference list template

This commit is contained in:
Edward Betts 2023-11-21 19:47:37 +00:00
parent 30cd3f7b86
commit 26e194c20b

View file

@ -0,0 +1,39 @@
{% extends "base.html" %}
{% block style %}
<style>
.grid-container {
display: grid;
grid-template-columns: repeat(6, auto); /* 7 columns for each piece of information */
gap: 10px;
justify-content: start;
}
.grid-item {
/* Additional styling for grid items can go here */
}
</style>
{% endblock %}
{% block content %}
<div class="container-fluid mt-2">
<h1>Conferences</h1>
<p><a href="{{ url_for("index") }}">&larr; back to agenda</a></p>
<div class="grid-container">
{% for item in item_list %}
<div class="grid-item text-end">{{ item.start.strftime("%a, %d %b %Y") }}</div>
<div class="grid-item text-end">{{ item.end.strftime("%a, %d %b") }}</div>
<div class="grid-item">{{ item.name }}</div>
<div class="grid-item">{{ item.topic }}</div>
<div class="grid-item">{{ item.location }}</div>
<div class="grid-item"><a href="{{ item.url }}">{{ item.url }}</a></div>
{% endfor %}
</div>
</div>
{% endblock %}