work+htmx
This commit is contained in:
parent
34f3367a08
commit
d248c99242
11 changed files with 111 additions and 29 deletions
9
core/templates/component/report.html
Executable file
9
core/templates/component/report.html
Executable file
|
@ -0,0 +1,9 @@
|
|||
<a href="/report/{{ report.id }}" class="{{ style.card }}">
|
||||
{% if report.is_approved %}
|
||||
<div
|
||||
class="absolute top-0 right-0 translate-y-3 -translate-x-3 bg-green-500 text-white rounded-full w-6 h-6 flex items-center justify-center scale-[1.5]"
|
||||
>
|
||||
✓
|
||||
</div>
|
||||
{% endif %} {{ report }}
|
||||
</a>
|
Loading…
Add table
Add a link
Reference in a new issue