aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/manage
diff options
context:
space:
mode:
authorLibravatar bai 2020-07-22 03:33:44 -0400
committerLibravatar bai 2020-07-22 03:33:44 -0400
commitd4b0e27b70f5c7c324edbbaa930197970dfe55c8 (patch)
tree6c66e59d959f7beecf104bb4376d91d951e1bd39 /cgi/templates/manage
parentcff1db8bcacb369938384c9b99116b7a3d9842b9 (diff)
downloadweabot-d4b0e27b70f5c7c324edbbaa930197970dfe55c8.tar.gz
weabot-d4b0e27b70f5c7c324edbbaa930197970dfe55c8.tar.xz
weabot-d4b0e27b70f5c7c324edbbaa930197970dfe55c8.zip
Ajustado manejo de globs y CIDR
Diffstat (limited to 'cgi/templates/manage')
-rw-r--r--cgi/templates/manage/bans.html13
1 files changed, 11 insertions, 2 deletions
diff --git a/cgi/templates/manage/bans.html b/cgi/templates/manage/bans.html
index 96e1ed1..eee4471 100644
--- a/cgi/templates/manage/bans.html
+++ b/cgi/templates/manage/bans.html
@@ -16,7 +16,7 @@
<hr />
<table class="managertable">
<tr>
- <th>Dirección IP</th>
+ <th>Dirección o Rango IP</th>
<th>Boards</th>
<th>Agregado</th>
<th>Expira</th>
@@ -47,7 +47,16 @@
<?py elif mode == 1: ?>
<form action="#{cgi_url}manage/ban" name="banform" method="post">
<table>
- <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">IP o Rango</td><td><input type="text" name="ip" value="${ip}" size="20" style="width:100%;" />
+ <small>
+ <br>Formatos soportados:
+ <ul>
+ <li><b>IPv4 o IPv6.</b><br>Ejemplo: <em>160.25.60.122 o 2001:db8::7334</em></li>
+ <li><b>Rango glob.</b> Sólo IPv4.<br>Ejemplo: <em>192.16.*.* o 200.20.4.10-80</em></li>
+ <li><b>Rango CIDR.</b> IPv4 y IPv6.<br>Ejemplo: <em>190.6.0.0/16 o 2620:0:2d0:200::7/32</em></li>
+ </ul>
+ </small>
+ </td></tr>
<tr>
<td class="postblock">Board(s)</td>
<td>