diff options
Diffstat (limited to 'cgi/templates/board.html')
-rw-r--r-- | cgi/templates/board.html | 26 |
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']: ?> |