timetracker/src/web/tracker/templates/index.html

17 lines
638 B
HTML
Raw Normal View History

2023-01-04 16:22:36 +00:00
{% extends 'base.html' %}
{% block title %}{{ title }}{% endblock title %}
{% block content %}
<div class="text-slate-300 mx-auto max-w-screen-lg text-center">
{% if session_count > 0 %}
2023-01-05 10:24:07 +00:00
You have played a total of {{ session_count }} sessions for a total of {{ total_duration }}.
2023-01-05 16:15:14 +00:00
{% elif not game_available or not platform_available %}
There are no games in the database. Start by clicking "New Game" and "New Platform".
{% elif not purchase_available %}
There are no owned games. Click "New Purchase" at the top.
2023-01-04 16:22:36 +00:00
{% else %}
2023-01-05 16:15:14 +00:00
You haven't played any games yet. Click "New Session" to add one now.
2023-01-04 16:22:36 +00:00
{% endif %}
</div>
{% endblock content %}