aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/manage
diff options
context:
space:
mode:
authorLibravatar bai 2020-07-21 06:41:28 -0400
committerLibravatar bai 2020-07-21 06:41:28 -0400
commitcce54237952b104efc98afec3f3edfd0cb5ed714 (patch)
tree6dfdebde0a8bc3e7fef05e6e54496c3aff7de36d /cgi/templates/manage
parentacedc645c398d6afeff3a8f2e500220da3c8549d (diff)
downloadweabot-cce54237952b104efc98afec3f3edfd0cb5ed714.tar.gz
weabot-cce54237952b104efc98afec3f3edfd0cb5ed714.tar.xz
weabot-cce54237952b104efc98afec3f3edfd0cb5ed714.zip
Implementados bans de rangos compatibles con IPv4 y IPv6
Diffstat (limited to 'cgi/templates/manage')
-rw-r--r--cgi/templates/manage/bans.html9
1 files changed, 3 insertions, 6 deletions
diff --git a/cgi/templates/manage/bans.html b/cgi/templates/manage/bans.html
index 81e0f71..96e1ed1 100644
--- a/cgi/templates/manage/bans.html
+++ b/cgi/templates/manage/bans.html
@@ -4,7 +4,7 @@
<center>
<div class="replymode">Bans</div>
<?py if mode == 0: ?>
-<form action="#{cgi_url}manage/ban/" name="banform" method="post">
+<form action="#{cgi_url}manage/ban/" name="banform" method="get">
<table>
<tr>
<td class="postblock">Dirección IP</td>
@@ -17,7 +17,6 @@
<table class="managertable">
<tr>
<th>Dirección IP</th>
- <th>Máscara de red</th>
<th>Boards</th>
<th>Agregado</th>
<th>Expira</th>
@@ -30,7 +29,6 @@
<?py for ban in bans: ?>
<tr>
<td>${ban['ip']}</td>
- <td>${ban['netmask']}</td>
<td>${ban['boards']}</td>
<td>${ban['added']}</td>
<td>${ban['until']}</td>
@@ -49,8 +47,7 @@
<?py elif mode == 1: ?>
<form action="#{cgi_url}manage/ban" name="banform" method="post">
<table>
- <tr><td class="postblock">IP</td><td><input type="text" name="ip" value="${ip}" size="20" style="width:100%;" /></td></tr>
- <tr><td class="postblock">Máscara de red</td><td><input type="text" name="netmask" value="${startvalues['netmask']}" style="width:100%;" /></td></tr>
+ <tr><td class="postblock">IP o Rango</td><td><input type="text" name="ip" value="${ip}" size="20" style="width:100%;" /></td></tr>
<tr>
<td class="postblock">Board(s)</td>
<td>
@@ -89,4 +86,4 @@
<?py #endif ?>
</center>
<hr />
-<?py include('templates/base_bottom.html') ?> \ No newline at end of file
+<?py include('templates/base_bottom.html') ?>