aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/templates')
-rw-r--r--cgi/templates/manage/recent.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/cgi/templates/manage/recent.html b/cgi/templates/manage/recent.html
new file mode 100644
index 0000000..1e72d88
--- /dev/null
+++ b/cgi/templates/manage/recent.html
@@ -0,0 +1,41 @@
+<?py include('templates/base_top.html') ?>
+<?py include('templates/manage/menu.html') ?>
+<center>
+ <div class="replymode">Lista de posts recientes</div>
+ <table class="managertable">
+ <thead>
+ <th>ID</th>
+ <th>Board</th>
+ <th>Archivo</th>
+ <th>Timestamp</th>
+ <th>Mensaje</th>
+ <th>IP</th>
+ <th>Acciones</th>
+ </thead>
+ <tbody>
+ <?py for post in posts: ?>
+ <tr>
+ <td>#{posts['id']}</td>
+ <td>/#{posts['boardid']}/</td>
+ <td>#{posts['file']}</td>
+ <td>#{posts['timestamp']}</td>
+ <td>#{posts['message']}</td>
+ <td>
+ <a href="#{cgi_url}manage/mod/ipshow?ip=#{posts['ip']}">#{posts['ip']}</a>
+ </td>
+ <th>
+ <a title="Eliminar mensaje" href="#{cgi_url}manage/mod/delete/#{posts['boardid']}/#{posts['id']}"><img
+ src="/icons/comment_delete.png" /></a>
+ <a title="Banear" href="#{cgi_url}manage/ban?ip=#{posts['ip']}"><img
+ src="/static/icons/user_delete.png" /></a>
+ <a title="Eliminar y Banear"
+ href="#{cgi_url}manage/mod/delete/#{posts['boardid']}/#{posts['id']}?ban=true"><img
+ src="/static/icons/cross.png" /></a>
+ </th>
+ </tr>
+ <?py #endfor ?>
+ </tbody>
+ </table>
+</center>
+<hr />
+<?py include('templates/base_bottom.html') ?> \ No newline at end of file