aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorLibravatar Choom 2023-01-12 03:02:57 -0300
committerLibravatar Choom 2023-01-12 03:42:11 -0300
commit35d073467ceef2f099b6a60d276dce89fa5635fb (patch)
tree60ad8d4c61e8f3ec6109a1998abac087a78b136b /cgi
parent83a32f4b1607edf124cc75d5f38e01b6ed0edb2e (diff)
downloadweabot-35d073467ceef2f099b6a60d276dce89fa5635fb.tar.gz
weabot-35d073467ceef2f099b6a60d276dce89fa5635fb.tar.xz
weabot-35d073467ceef2f099b6a60d276dce89fa5635fb.zip
Atajos
Diffstat (limited to 'cgi')
-rw-r--r--cgi/templates/txt_board.en.html16
-rw-r--r--cgi/templates/txt_board.html20
-rw-r--r--cgi/templates/txt_thread.html6
3 files changed, 23 insertions, 19 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:&nbsp;</span><input type="text" name="fielda" size="13" /><span>&nbsp;E-mail:&nbsp;</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:&nbsp;</span><input type="text" name="fielda" size="13" /><span>&nbsp;E-mail:&nbsp;</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:&nbsp;</span><input type="text" name="fielda" size="13" accesskey="n" /><span>&nbsp;E-mail:&nbsp;</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>