add logbook history
This commit is contained in:
@ -17,6 +17,10 @@
|
||||
STATS
|
||||
<span class="sr-only">Logbuch</span>
|
||||
</a>
|
||||
<a href="/log/show" class="inline-flex justify-center rounded-md bg-primary-600 mx-1 px-3 py-2 text-sm font-semibold text-white hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 cursor-pointer">
|
||||
LGBUCH HISTORY
|
||||
<span class="sr-only">Logbuch History</span>
|
||||
</a>
|
||||
<a href="/log" class="inline-flex justify-center rounded-md bg-primary-600 mx-1 px-3 py-2 text-sm font-semibold text-white hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 cursor-pointer">
|
||||
LOGBUCH
|
||||
<span class="sr-only">Logbuch</span>
|
||||
|
16
templates/log.completed.html.tera
Normal file
16
templates/log.completed.html.tera
Normal file
@ -0,0 +1,16 @@
|
||||
{% import "includes/macros" as macros %}
|
||||
{% import "includes/forms/log" as log %}
|
||||
|
||||
{% extends "base" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="max-w-screen-lg w-full">
|
||||
<h1 class="h1">Logbuch</h1>
|
||||
{% for log in logs %}
|
||||
{{ log::show(log=log, state="completed", only_ones=false) }}
|
||||
<hr />
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% endblock content%}
|
@ -22,12 +22,6 @@
|
||||
{% endif %}
|
||||
<hr />
|
||||
{% endfor %}
|
||||
|
||||
<h2 style="font-size: 100px">Einträge</h2>
|
||||
{% for log in completed %}
|
||||
{{ log::show(log=log, state="completed", only_ones=false) }}
|
||||
<hr />
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% endblock content%}
|
||||
|
Reference in New Issue
Block a user