diff options
author | junk | 2021-03-28 07:51:40 -0300 |
---|---|---|
committer | junk | 2021-03-31 05:27:26 -0300 |
commit | f7baf0c69606d49c6be86d3f27bc88d9d58cd4ba (patch) | |
tree | f0d72c1a497f73863078f1970e3ba692ffec860d /cgi/templates/board.html | |
parent | aa8a6056f4c3cd8c6663d1714782f972bcb87b8f (diff) | |
download | weabot-f7baf0c69606d49c6be86d3f27bc88d9d58cd4ba.tar.gz weabot-f7baf0c69606d49c6be86d3f27bc88d9d58cd4ba.tar.xz weabot-f7baf0c69606d49c6be86d3f27bc88d9d58cd4ba.zip |
Mejor forma de ocultar posts
Diffstat (limited to 'cgi/templates/board.html')
-rw-r--r-- | cgi/templates/board.html | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/cgi/templates/board.html b/cgi/templates/board.html index 43cefd9..7173fde 100644 --- a/cgi/templates/board.html +++ b/cgi/templates/board.html @@ -107,11 +107,9 @@ <ul> #{postarea_desc} <?py if supported_filetypes: ?> - <li>Archivos permitidos: <span id="filetypes">#{', '.join(supported_filetypes).upper()}</span>. Hasta <span id="maxsize">#{maxsize}</span>KB. Miniaturas: #{maxdimensions}x#{maxdimensions}px</li> + <li>Archivos permitidos: #{', '.join(supported_filetypes).upper()}. Hasta #{maxsize}KB. Miniaturas: #{maxdimensions}x#{maxdimensions}px</li> <?py #endif ?> - <?py if not replythread: ?> <li><a href="/cgi/catalog/${board}">Catálogo de hilos</a> (Orden: <a href="/cgi/catalog/${board}?sort=1">Nuevo</a>/<a href="/cgi/catalog/${board}?sort=2">Viejo</a>/<a href="/cgi/catalog/${board}?sort=3">Más</a>/<a href="/cgi/catalog/${board}?sort=4">Menos</a>)</li> - <?py #endif ?> <?py if int(maxage) != 0: ?> <li>Los hilos son automáticamente eliminados a los <b>#{maxage}</b> días de edad.</li> <?py #endif ?> @@ -131,14 +129,14 @@ <input type="hidden" name="board" value="#{board}" /> <?py if threads: ?> <?py for thread in threads: ?> + <div id="t#{thread['id']}" class="thread" data-length="#{thread['length']}"> <?py if not replythread: ?> - <span id="unhide#{thread['id']}#{board}" style="display:none;">Hilo <a href="#{boards_url}#{board}/res/#{thread['id']}.html">#{thread['id']}</a> oculto. <a class="tt" href="#">Ver hilo</a></span> + <span class="unhide" style="display:none;">Hilo <a href="#{boards_url}#{board}/res/#{thread['id']}.html">#{thread['id']}</a> oculto. <a class="tt" href="#">Ver hilo</a></span> <?py #endif ?> - <div id="thread#{thread['id']}#{board}" class="thread" data-length="#{thread['length']}"> <?py for post in thread['posts']: ?> <?py if int(post['parentid']) != 0: ?> <table><tr><td class="ell">…</td> - <td class="reply" id="reply#{post['id']}"> + <td class="reply" id="p#{post['id']}"> <?py elif post['file']: ?> <?py if post['image_width'] != '0': ?> <div class="fs"><span>Nombre de archivo:</span><a href="#{images_url}#{board}/src/#{post['file']}" class="expimg" target="_blank" data-id="#{post['id']}" data-thumb="#{images_url}#{board}/thumb/#{post['thumb']}" data-w="#{post['image_width']}" data-h="#{post['image_height']}" data-tw="#{post['thumb_width']}" data-th="#{post['thumb_height']}">#{post['file']}</a>-(#{post['file_size']} B, #{post['image_width']}x#{post['image_height']}) |