diff options
author | Choom | 2022-12-30 04:33:10 -0300 |
---|---|---|
committer | Choom | 2023-01-09 17:53:50 -0300 |
commit | 65fd303962d7744a5268db83a72fe66c7378565a (patch) | |
tree | 423403211c6006ed9eeaf101f8856ace78e81ffe /cgi/templates/txt_board.html | |
parent | b7e1bbd2c15961f3871e02cb3657cecc5f72b45f (diff) | |
download | weabot-65fd303962d7744a5268db83a72fe66c7378565a.tar.gz weabot-65fd303962d7744a5268db83a72fe66c7378565a.tar.xz weabot-65fd303962d7744a5268db83a72fe66c7378565a.zip |
Devolviendo previews
Diffstat (limited to 'cgi/templates/txt_board.html')
-rw-r--r-- | cgi/templates/txt_board.html | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/cgi/templates/txt_board.html b/cgi/templates/txt_board.html index 3e279fc..a6899bf 100644 --- a/cgi/templates/txt_board.html +++ b/cgi/templates/txt_board.html @@ -25,7 +25,7 @@ <a name="menu"></a> <?py if threads: ?> <div id="threadbox" class="outerbox"><div class="innerbox"> - <div id="threadlinks"><a href="#{cgi_url}threadlist/#{board}"><b>Ver todos los hilos</b></a> <a href="kako/"><b>Ver hilos archivados</b></a> <a href="#newthread"><b>Crear nuevo hilo</b></a></div> + <div id="threadlinks"><a href="#{cgi_url}threadlist/#{board}"><b>Ver lista de hilos</b></a> <a href="kako/"><b>Hilos archivados</b></a> <a href="#newthread"><b>Crear nuevo hilo</b></a></div> <div id="threadlist"> <?py iter = 1 ?> <?py for thread in threads: ?> @@ -85,13 +85,14 @@ <?py if thread['locked'] != 1: ?> <form id="postform#{thread['id']}" class="postform" action="#{cgi_url}post" method="post" enctype="multipart/form-data"> <input type="hidden" name="board" value="#{board}" /><input type="hidden" name="parent" value="#{thread['id']}" /><input type="hidden" name="password" value="" /> - <div style="display:none;"><input type="text" name="name" size="15" /> <input type="text" name="email" size="15" /></div> - <input type="submit" value="Responder" /> <span><span>Nombre: </span><input type="text" name="fielda" size="15" /> <span>E-mail: </span><input type="text" name="fieldb" size="15" /></span> + <div style="display:none">No tocar: <input type="text" name="name" /><input type="text" name="email" /></div> + <input type="submit" value="Responder" /> <input type="button" name="preview" data-thread="#{thread['id']}" value="Previsualizar" /> <span><span>Nombre: </span><input type="text" name="fielda" size="13" /><span> E-mail: </span><input type="text" name="fieldb" size="13" /></span> <div class="formpad"> - <textarea name="message" cols="70" rows="5"></textarea> + <div id="preview#{thread['id']}" class="msg" style="display:none"></div> + <textarea name="message" cols="90" rows="5"></textarea> <?py if allow_image_replies: ?><br /><input type="file" name="file" /><?py #endif ?> <?py else: ?> -<form class="postform"><div class="locked">El hilo ha sido cerrado. Ya no se puede postear en él.</div><div class="formpad"> +<form class="postform"><div class="locked"><b>El hilo ha sido cerrado. Ya no se puede postear en él.</b></div><div class="formpad"> <?py #endif ?> <div class="threadlinks"> <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/"><b>Hilo completo</b></a> @@ -119,7 +120,7 @@ <h5>Formulario de nuevo hilo</h5> <form id="postform0" action="#{cgi_url}post" method="post" enctype="multipart/form-data"> <input type="hidden" name="board" value="#{board}" /><input type="hidden" name="password" value="" /> - <table style="max-width:600px"> + <table style="max-width:700px"> <tr> <td class="pblock">Asunto:</td> <td colspan="3" style="width:100%"><input type="text" name="subject" size="50" maxlength="100" /></td> @@ -132,13 +133,13 @@ <td><input type="text" name="fieldb" /></td> <td><input type="button" name="preview" value="Previsualizar" /></td> </tr> - <tr id="options" style="display:none;"> + <tr id="tr_preview" style="display:none"> <td></td> <td colspan="4"><div id="preview0" class="msg"></div></td> </tr> <tr> <td class="pblock">Mensaje:</td> - <td colspan="4"><textarea name="message" cols="70" rows="10"></textarea></td> + <td colspan="4"><textarea name="message" cols="90" rows="12" data-h-limit="512"></textarea></td> </tr> <?py if allow_images: ?> <tr> @@ -147,7 +148,7 @@ </tr> <?py #endif ?> </table> - <div style="display:none;">Trampa: <input type="text" name="name" maxlength="50" /> <input type="text" name="email" maxlength="50" /></div> + <div style="display:none">No tocar: <input type="text" name="name" /><input type="text" name="email" /></div> </form> </div> </div> |