aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/manage/manage.html
blob: 06b1737ccca6aaa603345e030df0e6ccf1d51d47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?py include('templates/base_top.html') ?>
<?py include('templates/manage/menu.html') ?>
<center>
  <div style="margin:0.5em 0;"><strong>BANDEJA DE ENTRADA</strong>
  <br />
  Denuncias:
  <?py if int(reports) > 0: ?>
    <a href="#{cgi_url}manage/reports" style="color:red;font-weight:bold;">#{reports}</a>
  <?py else: ?>
    0
  <?py #endif ?></div>
  <hr />
  <strong>NOTICIAS DEL STAFF</strong>
</center>
<dl style="margin:0 2.5%">
<?py for post in posts: ?>
  <dt><strong>#{post['title'] if post['title'] else "Sin asunto"}</strong><br />#{post['id']} : <b class="name">${post['name']}</b> : <span class="date" data-unix="${post['timestamp']}"}>${post['timestamp_formatted']}</span></dt>
  <dd style="margin-bottom:1em;">#{post['message']}</dd>
<?py #endfor ?>
</dl>
<hr />
<?py include('templates/base_bottom.html') ?>