ui: Add option to remove expired offers and bids.
This commit is contained in:
8 files changed
+138
-40
No files matched your search
@@ -67,6 +67,13 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<form method="post">
|
||||
<tr class="opacity-100 text-gray-500 dark:text-gray-100">
|
||||
<td class="py-3 px-6 bold">Remove expired offers and bids</td>
|
||||
<td td class="py-3 px-6 ">
|
||||
<button name="remove_expired" type="submit" value="Yes" class="flex flex-wrap justify-center py-2 px-4 bg-blue-500 hover:bg-blue-600 font-medium text-sm text-white border border-blue-500 rounded-md shadow-button focus:ring-0 focus:outline-none" onclick="return confirmRemoveExpired();">
|
||||
Yes - Remove Data</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="opacity-100 text-gray-500 dark:text-gray-100">
|
||||
<td class="py-3 px-6 bold">Reinitialise XMR wallet</td>
|
||||
<td td class="py-3 px-6 ">
|
||||
@@ -82,8 +89,8 @@
|
||||
</g>
|
||||
</svg>Yes - Start Process</button>
|
||||
</td>
|
||||
<input type="hidden" name="formid" value="{{ form_id }}">
|
||||
</tr>
|
||||
<input type="hidden" name="formid" value="{{ form_id }}">
|
||||
</form>
|
||||
</table>
|
||||
</div>
|
||||
@@ -121,4 +128,9 @@
|
||||
{% include 'footer.html' %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<script>
|
||||
function confirmRemoveExpired() {
|
||||
return confirm("This will remove all expired offers and bids from the database - Are you sure?");
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
Reference in new issue
Block a user