Color signals
This commit is contained in:
parent
6a549f3fd7
commit
62c37a7a45
|
@ -18,7 +18,10 @@
|
||||||
<th>actions</th>
|
<th>actions</th>
|
||||||
</thead>
|
</thead>
|
||||||
{% for item in object_list %}
|
{% for item in object_list %}
|
||||||
<tr>
|
<tr class="
|
||||||
|
{% if item.direction == 'buy' %}has-background-success-light
|
||||||
|
{% elif item.direction == 'sell' %}has-background-danger-light
|
||||||
|
{% endif %}">
|
||||||
<td>{{ item.id }}</td>
|
<td>{{ item.id }}</td>
|
||||||
<td>{{ item.user }}</td>
|
<td>{{ item.user }}</td>
|
||||||
<td>{{ item.name }}</td>
|
<td>{{ item.name }}</td>
|
||||||
|
|
Loading…
Reference in New Issue