aboutsummaryrefslogblamecommitdiff
path: root/cgi/templates/manage/recent.html
blob: 510d1b7b30ec996fed9359f03bed145696b307a7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                       




                                     
            
                                                                                  

             
                                                                                                              
                                                    
                                                                                                                        
                                      
                                                                                              








                                                  
<?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['boardid']}/</td>
        <td>#{post['file']}</td>
        <td>#{post['timestamp']}</td>
        <td>#{post['message']}</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>
          <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/#{posts['boardid']}/#{post['id']}?ban=true"><img
              src="/static/icons/cross.png" /></a>
        </th>
      </tr>
      <?py #endfor ?>
    </tbody>
  </table>
</center>
<hr />
<?py include('templates/base_bottom.html') ?>