MarseyWorld/files/templates/admin/under_siege.html

23 lines
921 B
HTML
Raw Normal View History

2024-02-05 04:17:39 +00:00
{% extends "default.html" %}
2024-01-31 23:28:39 +00:00
{% block pagetitle %}Under Siege Thresholds{% endblock %}
{% block content %}
2024-02-14 09:43:00 +00:00
<section class="settings-section-section mx-3">
2024-01-31 23:28:39 +00:00
<h5>Thresholds in Minutes</h5>
<div class="settings-section rounded mt-4">
<form action="/admin/under_siege" method="post" data-nonce="{{g.nonce}}" data-onsubmit="sendFormXHR(this)">
<div class="body">
{% for name, value in thresholds.items() %}
2024-02-14 09:43:00 +00:00
<div class="d-flex mb-4">
<label for="{{name}}" class="mb-0 w-50 w-md-25 my-auto">{{name.title()}}</label>
<input autocomplete="off" class="form-control w-75 w-md-100" type="number" min="0" step="1" id="{{name}}" name="{{name}}" value="{{value}}" required>
2024-01-31 23:28:39 +00:00
</div>
{% endfor %}
</div>
2024-01-31 23:36:40 +00:00
<div class="footer d-flex">
<input autocomplete="off" class="btn btn-primary ml-auto" type="submit" value="Submit">
2024-01-31 23:28:39 +00:00
</div>
</form>
</div>
</section>
{% endblock %}