blob: 3fed05ffa82062c220a5b4d87f699ff335bee49c (
plain) (
tree)
|
|
<?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>#{post['id']}</td>
<td>/#{post['dir']}/</td>
<td>
<?py if post['file']: ?><a href="/${post['dir']}/src/#{post['file']}" target="_blank"><img
src="/${post['dir']}/mobile/${post['thumb']}" /></a>
<?py #endif ?>
</td>
<td>
<div name="timestamp" data-ts="#{post['timestamp']}">#{post['timestamp_formatted']}</div>
</td>
<td>
<div style="display: block; margin-bottom: 0.5em; font-weight: bold;">#{post['subject']} <i>#{post['name']}</i> <code>#{post['email']}</code>
#{post['tripcode']}
</div>
<div style="display: block">#{post['message']}</div>
<?py if post['parentid'] != '0': ?>
<div style="display: block; margin-top: 0.5em; font-size: 0.75em;"><a
href="#{cgi_url}manage/mod/${post['dir']}?thread=#{post['parentid']}">Ver hilo completo</a>
</div>
<?py #endif ?>
</td>
<td>
<a href="#{cgi_url}manage/ipshow?ip=#{post['ip']}">#{post['ip']}</a>
</td>
<td>
<a title="Eliminar mensaje" href="#{cgi_url}manage/delete/#{post['dir']}/#{post['id']}"><img
src="/static/icons/comment_delete.png" /></a>
<a title="Banear" href="#{cgi_url}manage/ban?ip=#{post['ip']}"><img src="/static/icons/user_delete.png" /></a>
<a title="Eliminar y Banear" href="#{cgi_url}manage/delete/#{post['dir']}/#{post['id']}?ban=true"><img
src="/static/icons/cross.png" /></a>
</td>
</tr>
<?py #endfor ?>
</tbody>
</table>
</center>
<hr />
<?py include('templates/base_bottom.html') ?>
|