aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/manage/recent.html
diff options
context:
space:
mode:
authorLibravatar Renard 2020-03-14 15:58:53 -0300
committerLibravatar Renard 2020-03-14 15:58:53 -0300
commit251505e1c63abf44cf75daef2135b14b51b42557 (patch)
treeda7d80e22bcb6efa2068b507021233ca2e1744d2 /cgi/templates/manage/recent.html
parenta88ff0d55d23474381093eadcb5b1e90cdd878e0 (diff)
downloadweabot-251505e1c63abf44cf75daef2135b14b51b42557.tar.gz
weabot-251505e1c63abf44cf75daef2135b14b51b42557.tar.xz
weabot-251505e1c63abf44cf75daef2135b14b51b42557.zip
Mod: posts recientes
Diffstat (limited to 'cgi/templates/manage/recent.html')
-rw-r--r--cgi/templates/manage/recent.html33
1 files changed, 24 insertions, 9 deletions
diff --git a/cgi/templates/manage/recent.html b/cgi/templates/manage/recent.html
index 7ec6853..c73ba59 100644
--- a/cgi/templates/manage/recent.html
+++ b/cgi/templates/manage/recent.html
@@ -16,20 +16,35 @@
<?py for post in posts: ?>
<tr>
<td>#{post['id']}</td>
- <td>/#{post['boardid']}/</td>
- <td>#{post['file']}</td>
- <td>#{post['timestamp']}</td>
- <td>#{post['message']}</td>
+ <td>/#{post['dir']}/</td>
+ <td>
+ <?py if post['file']: ?><a href="/${dir}/src/#{post['file']}" target="_blank"><img
+ src="/${dir}/mobile/${post['thumb']}" /></a>
+ <?py #endif ?>
+ </td>
+ <td>
+ <div data-ts="#{post['timestamp']}">#{post['timestamp_formatted']}</div>
+ </td>
+ <td>
+ <div style="display: block; margin-bottom: 0.5em;">#{post['subject']} #{post['name']} #{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/#{dir}?thread=#{parentid}">Ver hilo completo</a>
+ </div>
+ <?py #endif ?>
+ </td>
<td>
<a href="#{cgi_url}manage/mod/ipshow?ip=#{post['ip']}">#{post['ip']}</a>
</td>
- <th>
- <a title="Eliminar mensaje" href="#{cgi_url}manage/mod/delete/#{post['boardid']}/#{post['id']}"><img
- src="/icons/comment_delete.png" /></a>
+ <td>
+ <a title="Eliminar mensaje" href="#{cgi_url}manage/mod/delete/#{post['dir']}/#{post['id']}"><img
+ src="/statuc/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/mod/delete/#{post['boardid']}/#{post['id']}?ban=true"><img
+ <a title="Eliminar y Banear" href="#{cgi_url}manage/mod/delete/#{post['dir']}/#{post['id']}?ban=true"><img
src="/static/icons/cross.png" /></a>
- </th>
+ </td>
</tr>
<?py #endfor ?>
</tbody>