ability to ban based on IP

This commit is contained in:
Kyle Drake 2013-10-15 10:35:43 -07:00
parent 6b424a2e88
commit 70d7c0a92f
2 changed files with 41 additions and 11 deletions

View file

@ -14,6 +14,16 @@
input type="text" name="username" placeholder="edwardsnowden" autocapitalize="off" autocorrect="off"
br
input.btn.btn-danger type="submit" value="Ban"
h3 Ban By IP
p All sites with this IP address will be removed.
form action="/admin/banip" method="POST"
input name="csrf_token" type="hidden" value="#{csrf_token}"
p Site Name:
input type="text" name="ip" placeholder="3.1.33.7" autocapitalize="off" autocorrect="off"
br
input.btn.btn-danger type="submit" value="Ban"
.col.col-50
h2 Banned Terrorists
.scroll-Admin