2022-11-10 19:27:46 +00:00
|
|
|
{% load pretty %}
|
2022-10-30 19:11:07 +00:00
|
|
|
{% include 'partials/notify.html' %}
|
|
|
|
|
2022-10-21 22:57:32 +00:00
|
|
|
<h1 class="title">Live information</h1>
|
|
|
|
<table class="table is-fullwidth is-hoverable">
|
|
|
|
<thead>
|
|
|
|
<th>attribute</th>
|
|
|
|
<th>value</th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for key, item in live_info.items %}
|
|
|
|
<tr>
|
|
|
|
<th>{{ key }}</th>
|
|
|
|
<td>
|
|
|
|
{% if item is not None %}
|
|
|
|
{{ item }}
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<h1 class="title">Stored information</h1>
|
|
|
|
<table class="table is-fullwidth is-hoverable">
|
|
|
|
<thead>
|
|
|
|
<th>attribute</th>
|
|
|
|
<th>value</th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for key, item in db_info.items %}
|
2022-11-10 19:27:46 +00:00
|
|
|
{% if key == 'instruments' %}
|
|
|
|
<tr>
|
|
|
|
<th>{{ key }}</th>
|
|
|
|
<td>
|
|
|
|
{% if item is not None %}
|
|
|
|
<pre>{{ item|pretty }}</pre>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% else %}
|
|
|
|
<tr>
|
|
|
|
<th>{{ key }}</th>
|
|
|
|
<td>
|
|
|
|
{% if item is not None %}
|
|
|
|
{{ item }}
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endif %}
|
2022-10-21 22:57:32 +00:00
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|