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.jp.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.jp.html')
-rw-r--r-- | cgi/templates/board.jp.html | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/cgi/templates/board.jp.html b/cgi/templates/board.jp.html index a595780..f463dee 100644 --- a/cgi/templates/board.jp.html +++ b/cgi/templates/board.jp.html @@ -107,11 +107,9 @@ <ul> #{postarea_desc} <?py if supported_filetypes: ?> - <li>添付可能:<span id="filetypes">#{', '.join(supported_filetypes).upper()}</span>. <span id="maxsize">#{maxsize}</span>KBまで. #{maxdimensions}x#{maxdimensions}以上は縮小.</li> + <li>添付可能:#{', '.join(supported_filetypes).upper()}. #{maxsize}KBまで. #{maxdimensions}x#{maxdimensions}以上は縮小.</li> <?py #endif ?> - <?py if not replythread: ?> <li><a href="#{cgi_url}catalog/${board}">カタログ</a> (ソート:<a href="/cgi/catalog/${board}?sort=1">新順</a>/<a href="/cgi/catalog/${board}?sort=2">古順</a>/<a href="/cgi/catalog/${board}?sort=3">多順</a>/<a href="/cgi/catalog/${board}?sort=4">少順</a>)</li> - <?py #endif ?> <?py if int(maxage) != 0: ?> <li>スレは<b>#{maxage}</b>日間経つと自動的に消されられます.</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">スレ<a href="#{boards_url}#{board}/res/#{thread['id']}.html">#{thread['id']}</a>は隠しました. <a class="tt" href="#">スレを表示</a></span> + <span class="unhide" style="display:none;">スレ<a href="#{boards_url}#{board}/res/#{thread['id']}.html">#{thread['id']}</a>は隠しました. <a class="tt" href="#">スレを表示</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>画像ファイル名:</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']}) |