agenda/templates/conference_list.html

46 lines
1.1 KiB
HTML
Raw Normal View History

2023-11-21 19:47:37 +00:00
{% 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>
|
<a href="{{ url_for("travel_list") }}">travel</a>
|
<strong>conference</strong>
</p>
2023-11-21 19:47:37 +00:00
<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 %}