2022-12-05 05:22:08 +00:00
|
|
|
{% extends "default.html" %}
|
|
|
|
|
|
|
|
{% block pagetitle %}Edit {{SITE_NAME}}'s rules{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2022-12-11 23:44:34 +00:00
|
|
|
{% if msg %}{{macros.alert(msg, false)}}{% endif %}
|
2022-12-05 05:22:08 +00:00
|
|
|
<div class="row my-5">
|
2022-12-05 05:33:32 +00:00
|
|
|
<div class="col">
|
|
|
|
<div class="settings mx-3">
|
2022-12-05 05:22:08 +00:00
|
|
|
<div id="description">
|
|
|
|
<h2>Edit the Rules</h2>
|
|
|
|
<br>
|
|
|
|
</div>
|
|
|
|
<div class="body d-lg-flex">
|
|
|
|
<div class="w-lg-100">
|
|
|
|
<form id="edit_rules" action="/admin/edit_rules" method="post">
|
2023-01-24 05:10:16 +00:00
|
|
|
<input hidden name="formkey" value="{{v|formkey}}">
|
2022-12-25 02:10:56 +00:00
|
|
|
<textarea autocomplete="off" maxlength="10000" class="form-control rounded" placeholder="Enter rules here..." rows="50" name="rules" form="edit_rules">{% if rules %}{{rules}}{% endif %}</textarea>
|
2022-12-05 05:22:08 +00:00
|
|
|
|
|
|
|
<div class="d-flex mt-2">
|
2022-12-30 12:14:18 +00:00
|
|
|
<input autocomplete="off" class="btn btn-primary ml-auto" type="submit" data-nonce="{{g.nonce}}" data-onclick="disable(this)" value="Save">
|
2022-12-05 05:22:08 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|