Switch from bootstrap to old-school minimal style.

This commit is contained in:
Edward Betts 2023-09-17 10:54:38 +05:30
parent 301c389ba9
commit 926c2370c6
3 changed files with 36 additions and 27 deletions

View file

@ -16,31 +16,32 @@
</form>
<ul>
<li>{{ "{:,d}".format(count.conference) }} conferences</li>
<li>{{ "{:,d}".format(count.event) }} talks -
<a href="{{ url_for("events_page") }}">most common titles</a>
</li>
<li>
{{ "{:,d}".format(count.person) }} speakers
<a href="{{ url_for("top_speakers_page") }}">top speakers</a>
</li>
</ul>
<div style="margin-bottom:1rem">
{{ "{:,d}".format(count.conference) }} conferences<br/>
{{ "{:,d}".format(count.event) }} talks -
<a href="{{ url_for("events_page") }}">most common titles</a><br/>
{{ "{:,d}".format(count.person) }} speakers
<a href="{{ url_for("top_speakers_page") }}">top speakers</a><br/>
</div>
<table class="table w-auto">
<tbody>
{% for item in items %}
<tr>
<td>
<a href="{{ url_for("conference_page", short_name=item.short_name) }}">{{ item.title }}</a>
</td>
<td class="text-end">{{ item.start.strftime("%d %b %Y") }}</td>
<td class="text-end">{{ (item.end - item.start).days + 1 }} days</td>
<td class="text-end">{{ item.events.count() }} talks</td>
<td class="text-end">{{ item.people_detail.count() }} speakers</td>
</tr>
<div style="margin-bottom:1.5rem">
<a href="{{ url_for("conference_page", short_name=item.short_name) }}">{{ item.title }}</a>
{{ item.start.strftime("%d %b %Y") }}
<br/>
{% if item.venue %}
{{ item.venue.name }}
&ndash;
{{ item.venue.city.name }},
{{ item.venue.city.country.name }}
<br/>
{% endif %}
{{ (item.end - item.start).days + 1 }} days,
{{ item.events.count() }} talks,
{{ item.people_detail.count() }} speakers<br/>
</div>
{% endfor %}
</tbody>
</table>
</div>