Add clear filters button, display tx statuses on active page.

This commit is contained in:
tecnovert
2019-07-31 10:41:35 +02:00
parent ef77a9e012
commit 1baf13c5a8
5 changed files with 31 additions and 23 deletions

View File

@@ -6,9 +6,9 @@
{% endif %}
<table>
<tr><th>Bid ID</th><th>Offer ID</th><th>Bid Status</th></tr>
<tr><th>Bid ID</th><th>Offer ID</th><th>Bid Status</th><th>ITX Status</th><th>PTX Status</th></tr>
{% for s in active_swaps %}
<tr><td><a href=/bid/{{ s[0] }}>{{ s[0] }}</a></td><td><a href=/offer/{{ s[1] }}>{{ s[1] }}</a></td><td>{{ s[2] }}</td></tr>
<tr><td><a href=/bid/{{ s[0] }}>{{ s[0] }}</a></td><td><a href=/offer/{{ s[1] }}>{{ s[1] }}</a></td><td>{{ s[2] }}</td><td>{{ s[3] }}</td><td>{{ s[4] }}</td></tr>
{% endfor %}
</table>

View File

@@ -25,7 +25,7 @@
</select>
</td></tr>
<tr><td><input type="submit" value="Apply Filters"></td></tr>
<tr><td><input type="submit" name='applyfilters' value="Apply Filters"></td><td><input type="submit" name='clearfilters' value="Clear Filters"></td></tr>
</table>
<input type="hidden" name="formid" value="{{ form_id }}">
</form>