ui: Add sent filter to offers page.

This commit is contained in:
tecnovert
2022-04-10 22:24:56 +02:00
parent 7bc9d64233
commit a4683c8450
2 changed files with 16 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{% include 'header.html' %}
<h3>{{ page_type }} Offers</h3>
<h3>Network Offers</h3>
{% if refresh %}
<p>Page Refresh: {{ refresh }} seconds</p>
{% endif %}
@@ -35,6 +35,12 @@
<option value="desc"{% if filters.sort_dir=='desc' %} selected{% endif %}>Descending</option>
</select>
</td></tr>
<tr><td>Sent From Node</td><td>
<select name="sent_from">
<option value="any"{% if filters.sent_from=='any' %} selected{% endif %}>Any</option>
<option value="only"{% if filters.sent_from=='only' %} selected{% endif %}>Only</option>
</select>
</td></tr>
<tr><td><input type="submit" name='applyfilters' value="Apply Filters"></td><td><input type="submit" name='clearfilters' value="Clear Filters"></td></tr>
<tr><td><input type="submit" name='pageback' value="Page Back"></td><td>Page: {{ filters.page_no }}</td><td><input type="submit" name='pageforwards' value="Page Forwards"></td></tr>