aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/board.html
diff options
context:
space:
mode:
authorLibravatar Choom 2023-01-23 18:09:26 -0300
committerLibravatar Choom 2023-01-24 09:51:42 -0300
commitc00e0f9f07827630ccba2cf4ac8bf0793d0ba930 (patch)
tree31e6af72056a8369b2d25b50009bcb7a072d5682 /cgi/templates/board.html
parent9bd8d1e527cf90ef8033b8455a96e5caf92f02bd (diff)
downloadweabot-c00e0f9f07827630ccba2cf4ac8bf0793d0ba930.tar.gz
weabot-c00e0f9f07827630ccba2cf4ac8bf0793d0ba930.tar.xz
weabot-c00e0f9f07827630ccba2cf4ac8bf0793d0ba930.zip
Separando .trip de .name
Diffstat (limited to 'cgi/templates/board.html')
-rw-r--r--cgi/templates/board.html26
1 files changed, 14 insertions, 12 deletions
diff --git a/cgi/templates/board.html b/cgi/templates/board.html
index d0e001a..6254bd5 100644
--- a/cgi/templates/board.html
+++ b/cgi/templates/board.html
@@ -14,7 +14,7 @@
<div class="replymode">Modo Respuesta</div>
<?py #endif ?>
<a name="postbox"></a>
-<div class="postarea">
+<div id="postarea">
<?py if allow_oekaki and not oek_finish: ?>
<center>
<form id="oekform" action="#{cgi_url}oekaki/paint" method="post" enctype="multipart/form-data">
@@ -64,7 +64,7 @@
<td>
<input type="text" name="fieldb" size="25" accesskey="e" />
<?py if disable_subject: ?>
- <input type="submit" value="#{'Responder' if replythread else 'Crear hilo'}" accesskey="z" />
+ <input id="sendbtn" type="submit" value="#{'Responder' if replythread else 'Crear hilo'}" accesskey="z" />
<?py #endif ?>
</td>
</tr>
@@ -73,7 +73,7 @@
<td class="postblock">Asunto</td>
<td>
<input type="text" name="subject" size="35" maxlength="100" accesskey="s" />
- <input type="submit" value="#{'Responder' if replythread else 'Crear hilo'}" accesskey="z" />
+ <input id="sendbtn" type="submit" value="#{'Responder' if replythread else 'Crear hilo'}" accesskey="z" />
</td>
</tr>
<?py #endif ?>
@@ -116,7 +116,7 @@
<li>Los hilos son automáticamente eliminados a los <b>#{maxage}</b> días de edad.</li>
<?py #endif ?>
<li>¿Eres nuevo? <a href="/guia.html" target="_blank">Leer antes de postear</a> · <a href="/faq.html" target="_blank">Preguntas frecuentes</a> · <a href="/bai/" target="_blank">Contacto</a></li>
- <li id="search"><form method="get" action="/tools/search.py" style="display:inline-block"><input type="hidden" name="board" value="${board}"><label for="searchin">Buscar: </label><input type="text" name="q" id="searchin" value="" size="10"> <input type="submit" value="Ir"></form></li>
+ <li id="search"><form method="get" action="/tools/search.py" style="display:inline-block"><input type="hidden" name="board" value="${board}"><label for="searchin">Buscar: </label><input type="text" name="q" id="searchin" value="" size="10"> <input id="searchbtn" type="submit" value="Ir"></form></li>
</ul>
</td>
</tr>
@@ -178,15 +178,17 @@
<?py #endif ?>
</label>
<?py if post['email']: ?>
- <a href="mailto:#{post['email']}"><span class="name">
- <b>#{post['name']}</b>
- #{post['tripcode'] if post['tripcode'] else ''}
- </span></a>
+ <?py if post['tripcode']: ?>
+ <a class="email" href="mailto:#{post['email']}"><span class="name">#{post['name']}</span> <span class="trip">#{post['tripcode']}</span></a>
+ <?py else: ?>
+ <a class="email" href="mailto:#{post['email']}"><span class="name">#{post['name']}</span></a>
+ <?py #endif ?>
<?py else: ?>
- <span class="name">
- <b>#{post['name']}</b>
- #{post['tripcode'] if post['tripcode'] else ''}
- </span>
+ <?py if post['tripcode']: ?>
+ <span class="name">#{post['name']} <span class="trip">#{post['tripcode']}</span></span>
+ <?py else: ?>
+ <span class="name">#{post['name']}</span>
+ <?py #endif ?>
<?py #endif ?>
<span class="date" data-unix="#{post['timestamp']}">#{post['timestamp_formatted']}</span>
<?py if post['posterid']: ?>