aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Choom 2023-02-08 00:42:44 -0300
committerLibravatar Choom 2023-02-09 21:34:21 -0300
commitd54dbda88a88f6cb4d21452f5f9f4cd2c69836ab (patch)
tree0d3b1a94a2aecdc1b0006d1ba6b55a0bc7bd45e0
parenta4ae48c27e6fcfd72658a921f0b6ec2d543a3ea5 (diff)
downloadweabot-d54dbda88a88f6cb4d21452f5f9f4cd2c69836ab.tar.gz
weabot-d54dbda88a88f6cb4d21452f5f9f4cd2c69836ab.tar.xz
weabot-d54dbda88a88f6cb4d21452f5f9f4cd2c69836ab.zip
manage colorido
-rw-r--r--cgi/templates/manage/manage.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/cgi/templates/manage/manage.html b/cgi/templates/manage/manage.html
index 06b1737..1089cdf 100644
--- a/cgi/templates/manage/manage.html
+++ b/cgi/templates/manage/manage.html
@@ -4,7 +4,7 @@
<div style="margin:0.5em 0;"><strong>BANDEJA DE ENTRADA</strong>
<br />
Denuncias:
- <?py if int(reports) > 0: ?>
+ <?py if reports > 0: ?>
<a href="#{cgi_url}manage/reports" style="color:red;font-weight:bold;">#{reports}</a>
<?py else: ?>
0
@@ -12,11 +12,12 @@
<hr />
<strong>NOTICIAS DEL STAFF</strong>
</center>
-<dl style="margin:0 2.5%">
+<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>
+ <dt class="info"><strong class="subj">#{post['title'] if post['title'] else "Sin asunto"}</strong><br />#{post['id']} : <span class="info"><b class="name">${post['name']}</b> : <span class="date" data-unix="${post['timestamp']}"}>${post['timestamp_formatted']}</span></dt>
+ <dd>#{post['message']}</dd>
+ <br />
<?py #endfor ?>
</dl>
<hr />
-<?py include('templates/base_bottom.html') ?> \ No newline at end of file
+<?py include('templates/base_bottom.html') ?>