Moved active status to a database entry apposed to a function

Added settings page
Cleaned up rollover page
This commit is contained in:
John Mullins
2023-12-21 16:14:56 +11:00
parent 1240ab2538
commit 25ddf1edfa
12 changed files with 128 additions and 58 deletions
@@ -0,0 +1,16 @@
{% extends "admin/base_site.html" %}
{% block content %}
<div><a href={% url 'settings:index' %}>Run nightly task</a></div>
<div>
<div class="flex-container">
<label for="id_traveller_term_cost">
Per term cost
</label>
<input type="number" name="traveller_term_cost" class="vIntegerField" min="0" id="id_traveller_term_cost">
</div>
</div>
<a class="button" style="position: absolute; left: 50%; transform: translateX(-50%); padding: 15px 50px; background: var(--delete-button-bg);" href={% url 'settings:rollover' %}>Rollover</a>
</div>
{% endblock %}