diff options
-rw-r--r-- | cgi/templates/txt_board.en.html | 16 | ||||
-rw-r--r-- | cgi/templates/txt_board.html | 20 | ||||
-rw-r--r-- | cgi/templates/txt_thread.html | 6 | ||||
-rw-r--r-- | static/css/txt/bbs.css | 20 | ||||
-rw-r--r-- | static/css/txt/futanari.css | 3 |
5 files changed, 28 insertions, 37 deletions
diff --git a/cgi/templates/txt_board.en.html b/cgi/templates/txt_board.en.html index ff101b5..13a1554 100644 --- a/cgi/templates/txt_board.en.html +++ b/cgi/templates/txt_board.en.html @@ -89,7 +89,7 @@ <input type="submit" value="Reply" /> <input type="button" name="preview" value="Preview"> <span><span>Name: </span><input type="text" name="fielda" size="13" /> <span>E-mail: </span><input type="text" name="fieldb" size="13" /></span> <div class="formpad"> <div id="preview#{thread['id']}" class="msg" style="display:none"></div> - <textarea name="message" cols="70" rows="5"></textarea> + <textarea name="message" cols="70" rows="6"></textarea> <?py if allow_image_replies: ?><br /><input type="file" name="file" /><?py #endif ?> <?py else: ?> <form class="postform"><div class="locked"><b>Thread has been closed. You cannot reply anymore.</b></div><div class="formpad"> @@ -124,27 +124,27 @@ <tr> <td class="pblock">Subject:</td> <td colspan="3" style="width:100%"><input type="text" name="subject" size="50" maxlength="100" /></td> - <td><input type="submit" value="Create new thread" /></td> + <td><input type="submit" value="Create new thread" accesskey="z" /></td> </tr> <tr> <td class="pblock">Name:</td> - <td><input type="text" name="fielda" /></td> + <td><input type="text" name="fielda" accesskey="n" /></td> <td class="pblock">E-mail:</td> - <td><input type="text" name="fieldb" /></td> - <td><input type="button" name="preview" value="Previsualizar" /></td> + <td><input type="text" name="fieldb" accesskey="e" /></td> + <td><input type="button" name="preview" value="Previsualizar" accesskey="p" /></td> </tr> <tr id="tr_preview" style="display:none"> <td></td> - <td colspan="4"><div id="preview#{thread['id']}" class="msg"></div></td> + <td colspan="4"><div id="preview0" class="msg"></div></td> </tr> <tr> <td class="pblock">Body:</td> - <td colspan="4"><textarea name="message" cols="90" rows="12"></textarea></td> + <td colspan="4"><textarea name="message" cols="90" rows="12" accesskey="m"></textarea></td> </tr> <?py if allow_images: ?> <tr> <td class="pblock">File:</td> - <td colspan="4"><input type="file" name="file" /></td> + <td colspan="4"><input type="file" name="file" accesskey="i" /></td> </tr> <?py #endif ?> </table> diff --git a/cgi/templates/txt_board.html b/cgi/templates/txt_board.html index 817f8d6..98cb159 100644 --- a/cgi/templates/txt_board.html +++ b/cgi/templates/txt_board.html @@ -25,7 +25,11 @@ <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 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="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: ?> @@ -89,7 +93,7 @@ <input type="submit" value="Responder" /> <input type="button" name="preview" 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"> <div id="preview#{thread['id']}" class="msg" style="display:none"></div> - <textarea name="message" cols="70" rows="5"></textarea> + <textarea name="message" cols="70" rows="6"></textarea> <?py if allow_image_replies: ?><br /><input type="file" name="file" /><?py #endif ?> <?py else: ?> <form class="postform"><div class="locked"><b>El hilo ha sido cerrado. Ya no se puede postear en él.</b></div><div class="formpad"> @@ -124,14 +128,14 @@ <tr> <td class="pblock">Asunto:</td> <td colspan="3" style="width:100%"><input type="text" name="subject" size="50" maxlength="100" /></td> - <td><input type="submit" value="Crear nuevo hilo" /></td> + <td><input type="submit" value="Crear nuevo hilo" accesskey="z" /></td> </tr> <tr> <td class="pblock">Nombre:</td> - <td><input type="text" name="fielda" /></td> + <td><input type="text" name="fielda" accesskey="n" /></td> <td class="pblock">E-mail:</td> - <td><input type="text" name="fieldb" /></td> - <td><input type="button" name="preview" value="Previsualizar" /></td> + <td><input type="text" name="fieldb" accesskey="e" /></td> + <td><input type="button" name="preview" value="Previsualizar" accesskey="p" /></td> </tr> <tr id="tr_preview" style="display:none"> <td></td> @@ -139,12 +143,12 @@ </tr> <tr> <td class="pblock">Mensaje:</td> - <td colspan="4"><textarea name="message" cols="90" rows="12"></textarea></td> + <td colspan="4"><textarea name="message" cols="90" rows="12" accesskey="m"></textarea></td> </tr> <?py if allow_images: ?> <tr> <td class="pblock">Archivo:</td> - <td colspan="4"><input type="file" name="file" /></td> + <td colspan="4"><input type="file" name="file" accesskey="i" /></td> </tr> <?py #endif ?> </table> diff --git a/cgi/templates/txt_thread.html b/cgi/templates/txt_thread.html index 611cf82..1989104 100644 --- a/cgi/templates/txt_thread.html +++ b/cgi/templates/txt_thread.html @@ -90,13 +90,13 @@ <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">No tocar: <input type="text" name="name" /><input type="text" name="email" /></div> - <input type="submit" value="Responder" /> <input type="button" name="preview" 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> + <input type="submit" value="Responder" accesskey="z" /> <input type="button" name="preview" value="Previsualizar" accesskey="p" /> <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 /> <div id="preview#{thread['id']}" class="msg" style="display:none"></div> - <textarea name="message" cols="80" rows="7"></textarea> + <textarea name="message" cols="80" rows="7" accesskey="m"></textarea> <?py if allow_image_replies: ?> <br /> - <input type="file" name="file" /> + <input type="file" name="file" accesskey="i" /> <?py #endif ?> <?py else: ?> <div class="locked"><b>El hilo ha sido cerrado. Ya no se puede postear en él.</b></div> diff --git a/static/css/txt/bbs.css b/static/css/txt/bbs.css index bdac557..fef3acd 100644 --- a/static/css/txt/bbs.css +++ b/static/css/txt/bbs.css @@ -27,7 +27,6 @@ h5 { } h2 { font-size: 1em; - line-height: 1.3em; margin: 0 0 0.5em; } h2 a { @@ -36,7 +35,6 @@ h2 a { } h3 { font-size: 18px; - line-height: 1.2em; margin: 8px 0; } h3 span { @@ -181,7 +179,7 @@ label { .reply, #rules { clear: both; - line-height: 18px; + line-height: 19px; overflow: hidden; } .num { @@ -350,10 +348,6 @@ form .msg { } @media (max-width: 600px) { - body, - textarea { - font-size: 14px; - } body.threadpage { margin: 4px; } @@ -371,23 +365,19 @@ form .msg { margin: 3px; padding: 3px; } - h1, - h2 a, - h5 { - font-size: 18px; - } + h2, h3 { text-align: center; } + h2 span { + display: block; + } h2 span, #rules, .pblock { font-size: 12px; line-height: 14px; } - .reply { - line-height: 16px; - } .reply h4, .quoted { font-size: 10px; diff --git a/static/css/txt/futanari.css b/static/css/txt/futanari.css index ed60b85..342c011 100644 --- a/static/css/txt/futanari.css +++ b/static/css/txt/futanari.css @@ -189,9 +189,6 @@ form .msg { .outerbox .innerbox { padding: 7px; } - h2 { - text-align: center; - } .postform { padding: 4px !important; } |