aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/txt_board.en.html
diff options
context:
space:
mode:
authorLibravatar Choom 2022-12-30 04:33:10 -0300
committerLibravatar Choom 2023-01-09 17:53:50 -0300
commit65fd303962d7744a5268db83a72fe66c7378565a (patch)
tree423403211c6006ed9eeaf101f8856ace78e81ffe /cgi/templates/txt_board.en.html
parentb7e1bbd2c15961f3871e02cb3657cecc5f72b45f (diff)
downloadweabot-65fd303962d7744a5268db83a72fe66c7378565a.tar.gz
weabot-65fd303962d7744a5268db83a72fe66c7378565a.tar.xz
weabot-65fd303962d7744a5268db83a72fe66c7378565a.zip
Devolviendo previews
Diffstat (limited to 'cgi/templates/txt_board.en.html')
-rw-r--r--cgi/templates/txt_board.en.html23
1 files changed, 12 insertions, 11 deletions
diff --git a/cgi/templates/txt_board.en.html b/cgi/templates/txt_board.en.html
index 7f280b4..9327c77 100644
--- a/cgi/templates/txt_board.en.html
+++ b/cgi/templates/txt_board.en.html
@@ -85,13 +85,14 @@
<?py if not thread['locked']: ?>
<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>Name: </span><input type="text" name="fielda" size="15" /> <span>E-mail: </span><input type="text" name="fieldb" size="15" /></span>
+ <div style="display:none"><input type="text" name="name" size="13" /><input type="text" name="email" size="13" /></div>
+ <input type="submit" value="Reply" /> <input type="button" name="preview" data-thread="#{thread['id']}" 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">
- <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">Thread has been closed. You cannot reply anymore.</div><div class="formpad">
+<form class="postform"><div class="locked"><b>Thread has been closed. You cannot reply anymore.</b></div><div class="formpad">
<?py #endif ?>
<div class="threadlinks">
<a href="#{boards_url}#{board}/read/#{thread['timestamp']}/"><b>Entire thread</b></a>
@@ -119,26 +120,26 @@
<h5>New thread form</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">Subject:</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="Create new thread" /></td>
</tr>
<tr>
<td class="pblock">Name:</td>
<td><input type="text" name="fielda" /></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="button" name="preview" data-thread="0" 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>
+ <td colspan="4"><div id="preview#{thread['id']}" class="msg"></div></td>
</tr>
<tr>
<td class="pblock">Body:</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>