diff options
Diffstat (limited to 'cgi/templates/manage/recent.html')
-rw-r--r-- | cgi/templates/manage/recent.html | 67 |
1 files changed, 32 insertions, 35 deletions
diff --git a/cgi/templates/manage/recent.html b/cgi/templates/manage/recent.html index fd47592..13e5b42 100644 --- a/cgi/templates/manage/recent.html +++ b/cgi/templates/manage/recent.html @@ -12,42 +12,39 @@ <tbody> <?py for post in posts: ?> <tr> - <td> - <?py if post['file']: ?><a href="/${post['dir']}/src/#{post['file']}" target="_blank"><img - src="/${post['dir']}/mobile/${post['thumb']}" /></a> + <td style="text-align:center;"> + <?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 class="recentpost"> + <div class="recentinfo"> + #{post['id']} + <?py if post['subject']: ?> + : <b><i>#{post['subject']}</i></b> <?py #endif ?> - </td> - <td> - <div class="recentPostHeader"> - ##{post['id']} <b>#{post['subject']}</b> en - <i>#{post['board_name']}</i> hace - <span name="timestamp" data-ts="#{post['timestamp']}">#{post['timestamp_formatted']}</span> - por <b>#{post['name']}</b> - <code>#{post['email']} #{post['tripcode']}</code> - </div> - <?py if post['dir'] == 'zonavip': ?> - <div class="message vip">#{post['message']}</div> - <?py else: ?> - <div class="message">#{post['message']}</div> - <?py #endif ?> - <div class="actions"> - <?py if post['parentid'] != '0': ?> - <a href="#{cgi_url}manage/mod/${post['dir']}?thread=#{post['parentid']}">Ver hilo completo</a> - <?py #endif ?> - <a href="#{cgi_url}manage/goto/?dir=${post['dir']}&type=#{post['board_type']}&thread=#{post['parentid']}">Ver - hilo en BaI</a> - </div> - </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> + : <b>#{post['name']}</b>#{post['tripcode']} + : Hace <span name="timestamp" data-ts="#{post['timestamp']}">#{post['timestamp_formatted']}</span> + @ #{post['board_name']} + </div> + <div class="recentmsg">#{post['message']}</div> + <div class="actions"> + <a href="#{cgi_url}manage/mod/${post['dir']}/#{post['parentid']}">Ver hilo completo</a> + <?py if post['board_type'] == '1': ?> + <a href="#{cgi_url}manage/goto/${post['dir']}/#{post['parentid']}">Ver hilo en BaI</a> + <?py else: ?> + <a href="/${post['dir']}/res/#{post['parentid'] if post['parentid'] != '0' else post['id']}.html">Ver hilo en BaI</a> + <?py #endif ?> + </div> + </td> + <td> + <a href="#{cgi_url}manage/ipshow?ip=#{post['ip']}">#{post['ip']}</a> + </td> + <td style="white-space:nowrap;"> + <a href="#{cgi_url}manage/delete/#{post['dir']}/#{post['id']}">Eliminar</a> + <a href="#{cgi_url}manage/delete/#{post['dir']}/#{post['id']}?ban=true">&</a> + <a href="#{cgi_url}manage/ban?ip=#{post['ip']}">Ban</a> + </td> </tr> <?py #endfor ?> </tbody> |