add margins in under_siege.html
parent
430e643ef2
commit
1c6990142c
|
@ -1,15 +1,15 @@
|
|||
{% extends "default.html" %}
|
||||
{% block pagetitle %}Under Siege Thresholds{% endblock %}
|
||||
{% block content %}
|
||||
<section class="settings-section-section">
|
||||
<section class="settings-section-section mx-3">
|
||||
<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() %}
|
||||
<div class="d-flex">
|
||||
<label for="{{name}}" class="mb-0 w-50 w-md-25">{{name.title()}}</label>
|
||||
<input autocomplete="off" class="form-control mb-2 w-75 w-md-100" type="number" min="0" step="1" id="{{name}}" name="{{name}}" value="{{value}}" required>
|
||||
<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>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue