diff options
author | Choom | 2022-12-11 01:49:21 -0300 |
---|---|---|
committer | Choom | 2022-12-11 02:18:41 -0300 |
commit | 7d31509782c87713e30cc7a400b9b9ee6f7eb0ff (patch) | |
tree | ffcebdbfcf942c3b39b5be110a1c7cd4c9ef9ef6 /cgi/templates/txt_thread.en.html | |
parent | f38017151f3efdd162cdba302bb8366afef66350 (diff) | |
download | weabot-7d31509782c87713e30cc7a400b9b9ee6f7eb0ff.tar.gz weabot-7d31509782c87713e30cc7a400b9b9ee6f7eb0ff.tar.xz weabot-7d31509782c87713e30cc7a400b9b9ee6f7eb0ff.zip |
Agregando div a respuestas
Agregando div a respuestas
Agregando div a respuestas
Agregando div a respuestas
Agregando div a respuestas
Agregando div a respuestas
Diffstat (limited to 'cgi/templates/txt_thread.en.html')
-rw-r--r-- | cgi/templates/txt_thread.en.html | 108 |
1 files changed, 0 insertions, 108 deletions
diff --git a/cgi/templates/txt_thread.en.html b/cgi/templates/txt_thread.en.html deleted file mode 100644 index c8348a1..0000000 --- a/cgi/templates/txt_thread.en.html +++ /dev/null @@ -1,108 +0,0 @@ -<?py include('templates/txt_base_top.html') ?> -<body class="threadpage" data-brd="#{board}"> -<?py if threads: ?> -<?py for thread in threads: ?> -<div id="thread_nav"> - <a href="/" name="top" target="_top">Bienvenido a Internet</a> - <a href="#{boards_url}#{board}/">■Return to BBS■</a> - <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/">Entire thread</a> - <?py if thread['length'] > 100: ?> - <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/1-100">First 100</a> - <?py #endif ?> - <?py for i in range(thread['length'] // 100): ?> - <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{(i+1)*100+1}-#{(i+2)*100}">#{(i+1)*100+1}-</a> - <?py #endfor ?> - <?py if thread['length'] > 51: ?> - <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/l50">Last 50</a> - <?py #endif ?> - <a href="#bottom">▼Bottom▼</a> -</div> -<hr /> -<?py if thread['length'] > 1000: ?> - <div class="stop red">The thread got over 1000 posts and has been closed.</div> -<?py elif thread['length'] > 950: ?> - <div class="warn yellow">The thread has reached 950 posts. When it reaches 1000 posts it will be closed.</div> -<?py elif thread['length'] > 900: ?> - <div class="warn yellow">The thread has reached 900 posts. When it reaches 1000 posts it will be closed.</div> -<?py #endif ?> -<div class="thread" data-length="#{thread['length']}"> - <h3>#{thread['subject']} <span>(${(str(thread['length'])+" replies") if thread['length']>1 else "1 reply"})</span></h3> - <?py for post in thread['posts']: ?> - <?py if post['IS_DELETED'] == 1: ?> - <div class="reply deleted" id="p#{post['id']}" data-n="#{post['num']}"><h4>#{post['num']} : Post deleted by user.</h4></div> - <?py elif post['IS_DELETED'] == 2: ?> - <div class="reply deleted" id="p#{post['id']}" data-n="#{post['num']}"><h4>#{post['num']} : Post deleted by staff.</h4></div> - <?py else: ?> - <div class="reply#{' first' if post['num'] == 1 else ''}" id="p#{post['id']}" data-n="#{post['num']}"> - <h4>#{post['num']} : - <?py if post['email']: ?> - <?py if post['tripcode']: ?> - <a href="mailto:#{post['email']}"><span class="name"><b>#{post['name']}</b> #{post['tripcode']}</span></a> - <?py else: ?> - <a href="mailto:#{post['email']}"><span class="name"><b>#{post['name']}</b></span></a> - <?py #endif ?> - <?py else: ?> - <?py if post['tripcode']: ?> - <span class="name"><b>#{post['name']}</b> #{post['tripcode']}</span> - <?py else: ?> - <span class="name"><b>#{post['name']}</b></span> - <?py #endif ?> - <?py #endif ?> : <span class="date" data-unix="#{post['timestamp']}">#{post['timestamp_formatted']}</span> - <span class="del"><a href="#{cgi_url}report/#{board}/#{post['id']}/#{post['num']}">rep</a> <a href="#">del</a></span></h4> - <?py if post['file']: ?> - <a href="/#{board}/src/#{post['file']}" target="_blank" class="thumb"><img src="#{'/static/' if post['thumb'].startswith('mime') else ('/'+board+'/thumb/')}#{post['thumb']}" width="#{post['thumb_width']}" height="#{post['thumb_height']}" title="${post['file']}-(${post['file_size']} B)" /></a> - <?py #endif ?> - <div class="msg"> - #{post['message']} - </div> - </div> - <?py #endif ?> - <?py #endfor ?> - <div id="size">#{thread['size']}</div> -</div> -<hr /> -<?py if not thread['locked']: ?> - <div class="lastposts"><a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{thread['length']}-n" id="n">Show new posts</a></div> - <hr /> -<?py #endif ?> -<?py if thread['length'] > 1000: ?> - <div class="stop red">The thread got over 1000 posts and has been closed.</div> -<?py elif thread['length'] > 950: ?> - <div class="warn red">The thread has reached 950 posts. When it reaches 1000 posts it will be closed.</div> -<?py elif thread['length'] > 900: ?> - <div class="warn yellow">The thread has reached 900 posts. When it reaches 1000 posts it will be closed.</div> -<?py #endif ?> -<form id="postform#{thread['id']}" class="postform" name="postform" action="#{cgi_url}post" method="post" enctype="multipart/form-data"> - <div class="threadlinks"> - <a href="#{boards_url}#{board}">■Return to BBS■</a> - <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/">Entire thread</a> - <?py if prevrange: ?> - <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{prevrange}">Previous 100</a> - <?py #endif ?> - <?py if nextrange: ?> - <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{nextrange}">Next 100</a> - <?py #endif ?> - <?py if thread['length'] > 51: ?> - <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/l50">Last 50</a> - <?py #endif ?> - <a href="#top">▲Top▲</a> - </div> - <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"><input type="text" name="name" size="13" /> <input type="text" name="email" size="13" /></div> - <span><input type="submit" value="Responder" accesskey="z" /> <input type="button" name="preview" value="Previsualizar" /></span> <span><span>Name: </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 /> - <textarea name="message" cols="80" rows="7" accesskey="m"></textarea><br /> - <div id="preview#{thread['id']}" class="msg" style="display:none"></div> - <?py if allow_image_replies: ?> - <input type="file" name="file" /> - <?py #endif ?> - <?py else: ?> - <div class="locked">This thread has been closed. You cannot post in it any longer.</div> - <?py #endif ?> -</form> -<?py #endfor ?> -<?py #endif ?> -<div class="end">weabot.py ver <?py include('templates/revision.html') ?> Bienvenido a Internet BBS/IB</div> -<a name="bottom"></a> -</body> -</html> |