Show only last 30 days on homepage

Fixes #47
This commit is contained in:
2023-01-30 22:16:28 +01:00
parent 6b00a950ce
commit 4892218c83
6 changed files with 12 additions and 12 deletions

View File

@ -17,7 +17,7 @@
<div class="dark:bg-gray-800 min-h-screen">
<nav class="mb-4 bg-white dark:bg-gray-900 border-gray-200 rounded">
<div class="container flex flex-wrap items-center justify-between mx-auto">
<a href="{% url 'index' %}" class="flex items-center">
<a href="{% url 'list_sessions_recent' %}" class="flex items-center">
<span class="text-4xl"></span>
<span class="self-center text-xl font-semibold whitespace-nowrap text-white">Timetracker</span>
</a>

View File

@ -1,6 +1,6 @@
{% extends 'base.html' %}
{% block title %}Sessions{% endblock title %}
{% block title %}{{ title }}{% endblock title %}
{% block content %}
<div class="text-center text-xl mb-4 dark:text-slate-400">