report pdf + export options + work
This commit is contained in:
parent
3caecf63f6
commit
696e603476
9 changed files with 2579 additions and 12 deletions
|
@ -8,5 +8,6 @@ hx-get="/report/{{ report.id }}" hx-target="#main_content" hx-push-url="true" hx
|
|||
>
|
||||
✓
|
||||
</div>
|
||||
{% endif %} {{ report }}
|
||||
{% endif %}
|
||||
<img src="/report/{{ report.id }}/png" class="w-full h-full object-cover">
|
||||
</a>
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{{ title|safe }}
|
||||
|
||||
<main class="flex-grow w-full max-w-4xl mx-auto p-6 bg-white shadow-lg rounded-lg mt-6">
|
||||
<div class="mb-4">
|
||||
<div class="mb-4 flex justify-between">
|
||||
<div>
|
||||
<p class="text-lg font-medium text-gray-700">
|
||||
Berichtsheft <span class="font-semibold">{{ report.year }}</span> / <span class="font-semibold">{{ report.week }}</span>
|
||||
</p>
|
||||
|
@ -12,6 +13,12 @@
|
|||
</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="mt-3">
|
||||
<a href="/report/{{ report.id }}/pdf" class="{{ STYLE.red_btn }}">
|
||||
Download
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="border-t border-gray-200 mt-4 pt-4">
|
||||
<h2 class="text-lg font-medium text-gray-800 mb-2">Content:</h2>
|
||||
|
|
2464
core/templates/report_template/weekly.html
Normal file
2464
core/templates/report_template/weekly.html
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue