aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/txt_thread.html
diff options
context:
space:
mode:
authorLibravatar Choom 2022-12-11 01:49:21 -0300
committerLibravatar Choom 2022-12-11 02:18:41 -0300
commit7d31509782c87713e30cc7a400b9b9ee6f7eb0ff (patch)
treeffcebdbfcf942c3b39b5be110a1c7cd4c9ef9ef6 /cgi/templates/txt_thread.html
parentf38017151f3efdd162cdba302bb8366afef66350 (diff)
downloadweabot-7d31509782c87713e30cc7a400b9b9ee6f7eb0ff.tar.gz
weabot-7d31509782c87713e30cc7a400b9b9ee6f7eb0ff.tar.xz
weabot-7d31509782c87713e30cc7a400b9b9ee6f7eb0ff.zip
Agregando div a respuestas
Agregando div a respuestas Agregando div a respuestas Agregando div a respuestas Agregando div a respuestas Agregando div a respuestas
Diffstat (limited to 'cgi/templates/txt_thread.html')
-rw-r--r--cgi/templates/txt_thread.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/cgi/templates/txt_thread.html b/cgi/templates/txt_thread.html
index d2d3224..907d660 100644
--- a/cgi/templates/txt_thread.html
+++ b/cgi/templates/txt_thread.html
@@ -27,6 +27,7 @@
<?py #endif ?>
<div class="thread" data-length="#{thread['length']}">
<h3>#{thread['subject']} <span>(${(str(thread['length'])+" respuestas") if thread['length']>1 else "Una respuesta"})</span></h3>
+ <div class="replies">
<?py for post in thread['posts']: ?>
<?py if post['IS_DELETED'] == 1: ?>
<div class="reply deleted" id="p#{post['id']}" data-n="#{post['num']}"><h4>#{post['num']} : Mensaje eliminado por usuario.</h4></div>
@@ -56,6 +57,7 @@
</div>
<?py #endif ?>
<?py #endfor ?>
+ </div>
<div id="size">#{thread['size']}</div>
</div>
<hr />
@@ -65,6 +67,8 @@
<?py #endif ?>
<?py if thread['length'] > 1000: ?>
<div class="stop red">El hilo superó los 1000 mensajes y ha sido cerrado. Ya no se puede postear en él.</div>
+<?py elif thread['length'] > 950: ?>
+ <div class="warn red">El hilo ha recibido más de 950 mensajes. Cuando llegue a 1000 será cerrado.</div>
<?py elif thread['length'] > 900: ?>
<div class="warn yellow">El hilo ha recibido más de 900 mensajes. Cuando llegue a 1000 será cerrado.</div>
<?py #endif ?>
@@ -85,7 +89,7 @@
</div>
<input type="hidden" name="board" value="#{board}" /><input type="hidden" name="parent" value="#{thread['id']}" /><input type="hidden" name="password" value="" />
<?py if thread['locked'] != 1: ?>
- <div style="display:none"><input type="text" name="name" size="13" /> <input type="text" name="email" size="13" /></div>
+ <div style="display:none;"><input type="text" name="name" size="13" /> <input type="text" name="email" size="13" /></div>
<input type="submit" value="Responder" accesskey="z" /> <input type="button" name="preview" value="Previsualizar" /> <span><span>Nombre: </span><input type="text" name="fielda" size="13" accesskey="n" /> <span>E-mail: </span><input type="text" name="fieldb" size="13" accesskey="e" /></span><br />
<textarea name="message" cols="80" rows="7" accesskey="m"></textarea><br />
<div id="preview#{thread['id']}" class="msg" style="display:none"></div>