2022-10-15 20:51:47 +00:00
|
|
|
{% include 'partials/notify.html' %}
|
|
|
|
|
|
|
|
<table class="table is-fullwidth is-hoverable" id="callbacks-table">
|
|
|
|
<thead>
|
|
|
|
<th>id</th>
|
|
|
|
<th>hook id</th>
|
|
|
|
<th>hook name</th>
|
2022-10-16 12:36:17 +00:00
|
|
|
<th>title</th>
|
2022-10-16 13:37:49 +00:00
|
|
|
<th>message</th>
|
|
|
|
<th>period</th>
|
|
|
|
<th>sent</th>
|
|
|
|
<th>trade</th>
|
|
|
|
<th>exchange</th>
|
2022-10-27 17:08:40 +00:00
|
|
|
<th>symbol</th>
|
|
|
|
<th>price</th>
|
2022-10-16 13:37:49 +00:00
|
|
|
<th>contract</th>
|
2022-10-15 20:51:47 +00:00
|
|
|
<th>actions</th>
|
|
|
|
</thead>
|
2022-10-29 11:43:13 +00:00
|
|
|
{% for item in object_list %}
|
2022-10-15 20:51:47 +00:00
|
|
|
<tr>
|
|
|
|
<td>{{ item.id }}</td>
|
|
|
|
<td>{{ item.hook.id }}</td>
|
|
|
|
<td>
|
|
|
|
<a
|
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
2022-10-29 11:43:13 +00:00
|
|
|
hx-get="{% url 'hook_update' type=type pk=item.hook.id %}"
|
2022-10-15 20:51:47 +00:00
|
|
|
hx-trigger="click"
|
2022-10-29 13:24:09 +00:00
|
|
|
hx-target="#{{ type }}s-here"
|
|
|
|
hx-swap="innerHTML">{{ item.hook.name }}
|
2022-10-15 20:51:47 +00:00
|
|
|
</a>
|
|
|
|
</td>
|
2022-10-16 13:37:49 +00:00
|
|
|
<td>{{ item.title }}</td>
|
|
|
|
<td>{{ item.message }}</td>
|
|
|
|
<td>{{ item.period }}</td>
|
2022-10-27 17:08:40 +00:00
|
|
|
<td>{{ item.sent }}</td>
|
|
|
|
<td>{{ item.trade }}</td>
|
|
|
|
<td>{{ item.exchange }}</td>
|
|
|
|
<td>{{ item.symbol }}</td>
|
|
|
|
<td>{{ item.price }}</td>
|
|
|
|
<td>{{ item.contract }}</td>
|
2022-10-16 13:37:49 +00:00
|
|
|
|
2022-10-15 20:51:47 +00:00
|
|
|
<td>
|
|
|
|
<div class="buttons">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</table>
|