Make a proper front page

This commit is contained in:
2022-11-29 07:20:39 +00:00
parent a39a5c3857
commit 242c9fbaed
5 changed files with 93 additions and 55 deletions

View File

@@ -15,10 +15,10 @@
<th>currency</th>
</thead>
{% for item in object_list %}
<tr class="
{% if item.pl > 0 %}has-background-success-light
{% elif item.pl < 0 %}has-background-danger-light
{% endif %}">
<tr class="
{% if item.pl > 0 %}has-background-success-light
{% elif item.pl < 0 %}has-background-danger-light
{% endif %}">
<td>{{ item.account.id }}</td>
<td>{{ item.account.name }}</td>
<td>{{ item.pl }}</td>