remotes/1693045480750635534/spooky-22
kek7198 2021-12-31 15:48:25 -06:00
parent 25ec4c6949
commit 0652e6378d
1 changed files with 6 additions and 4 deletions

View File

@ -31,14 +31,16 @@
{% block content %}
<div class="col-span-full my-2 px-2.5 md:px-0">
<form action="/admin/banned_domains" method="post" class="p-4 flex space-x-2 items-center rounded-md bg-gray-300 dark:bg-gray-700 shadow-inset-t-white-10 border border-gray-400 dark:border-gray-900">
<form action="/admin/banned_domains" method="post" class="p-4 flex flex-col rounded-md bg-gray-300 dark:bg-gray-700 shadow-inset-t-white-10 border border-gray-400 dark:border-gray-900">
<label class="label">
Manage a domain
</label>
<input type="hidden" name="formkey" value="{{v.formkey}}">
<input name="domain" placeholder="Enter domain here.." class="form-input" required>
<input name="reason" placeholder="Enter ban reason here.." onchange="document.getElementById('ban-submit').disabled=false" class="form-input">
<input id="ban-submit" type="submit" class="btn btn-primary" value="Toggle ban" disabled>
<div class="w-full flex space-x-2 items-center">
<input name="domain" placeholder="Enter domain here.." class="form-input" required>
<input name="reason" placeholder="Enter ban reason here.." onchange="document.getElementById('ban-submit').disabled=false" class="form-input">
<input id="ban-submit" type="submit" class="btn btn-primary" value="Toggle ban" disabled>
</div>
</form>
{% if banned_domains %}