aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/manage/boardoptions.html
diff options
context:
space:
mode:
authorLibravatar Choom 2023-01-26 01:48:46 -0300
committerLibravatar Choom 2023-01-26 01:54:30 -0300
commit198becec5eb7c6e7827700afb4cc9b6cb1c1b2a8 (patch)
tree9da42f4862cde372002b9fc3512062f30cfaa8c2 /cgi/templates/manage/boardoptions.html
parente396b01348126c1b8d5c3a93cb90bc309046f8e7 (diff)
downloadweabot-198becec5eb7c6e7827700afb4cc9b6cb1c1b2a8.tar.gz
weabot-198becec5eb7c6e7827700afb4cc9b6cb1c1b2a8.tar.xz
weabot-198becec5eb7c6e7827700afb4cc9b6cb1c1b2a8.zip
Agregando lockboard a boards
Diffstat (limited to 'cgi/templates/manage/boardoptions.html')
-rw-r--r--cgi/templates/manage/boardoptions.html16
1 files changed, 13 insertions, 3 deletions
diff --git a/cgi/templates/manage/boardoptions.html b/cgi/templates/manage/boardoptions.html
index 4e33e5b..7e57320 100644
--- a/cgi/templates/manage/boardoptions.html
+++ b/cgi/templates/manage/boardoptions.html
@@ -5,9 +5,19 @@
<div class="replymode">Opciones de Board</div>
<?py if mode == 0: ?>
<table class="managertable">
- <tr><th colspan="2">Sección</th><th>Accion</th></tr>
+ <tr>
+ <th colspan="2">Sección</th>
+ <th>Acciones</th>
+ </tr>
<?py for board in boards: ?>
- <tr><td>/#{board['dir']}/</td><td>#{board['name']}</td><td>[<a href="#{cgi_url}manage/board/#{board['dir']}">Configurar</a>]</td></tr>
+ <tr>
+ <td>/#{board['dir']}/</td>
+ <td>#{board['name']}</td>
+ <td style="white-space:nowrap">
+ [<a href="#{cgi_url}manage/board/#{board['dir']}">Configurar</a>]
+ [<a href="#{cgi_url}manage/boardlock/#{board['dir']}">#{'Abrir' if board['locked'] else 'Cerrar'}</a>]
+ </td>
+ </tr>
<?py #endfor ?>
</table>
<?py elif mode == 1: ?>
@@ -192,4 +202,4 @@
<?py #endif ?>
</center>
<hr />
-<?py include('templates/base_bottom.html') ?> \ No newline at end of file
+<?py include('templates/base_bottom.html') ?>