diff options
Diffstat (limited to 'cgi/templates')
-rw-r--r-- | cgi/templates/home.html | 13 | ||||
-rw-r--r-- | cgi/templates/mobile/latest.html | 11 | ||||
-rw-r--r-- | cgi/templates/navbar.html | 1 | ||||
-rw-r--r-- | cgi/templates/txt_base_top.html | 3 | ||||
-rw-r--r-- | cgi/templates/txt_board.html | 4 |
5 files changed, 23 insertions, 9 deletions
diff --git a/cgi/templates/home.html b/cgi/templates/home.html index ffd9c4e..fb06465 100644 --- a/cgi/templates/home.html +++ b/cgi/templates/home.html @@ -7,7 +7,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Bienvenido a Internet BBS/IB</title> <link rel="shortcut icon" href="favicon.ico" /> - <link rel="stylesheet" type="text/css" href="/home.css?v=1" /> + <link rel="stylesheet" type="text/css" href="/home.css?v=2" /> <link rel="stylesheet" type="text/css" href="/home_ib.css?v=1" title="IB" /> <link rel="alternate stylesheet" type="text/css" href="/home_vintage.css?v=1" title="Vintage" /> <link rel="alternate stylesheet" type="text/css" href="/home_bbs.css?v=1" title="BBS" /> @@ -31,7 +31,6 @@ <a href="/tech/">Tecnología</a> <a href="/juegos/">Juegos</a> <a href="/musica/">Música</a> - <a href="/tv/">TV y Cine</a> <a href="/letras/">Humanidades</a> </div> <div class="cat"> @@ -69,8 +68,16 @@ <tr> <td rowspan="2" class="tab"> <h2 id="newposts">Hilos activos <div id="counter"></div></h2> + <h4>BBS</h4> <div id="postlist" class="threads"> - <?py for thread in latest_age: ?> + <?py for thread in latest_age_bbs: ?> + <a href="${thread['url']}" class="thread"><span class="brd">[${thread['board_name']}]</span> <span class="cont">#{thread['content']}</span> <span class="rep">(${thread['length']})</span></a> + <?py #endfor ?> + </div> + <hr /> + <h4>IB</h4> + <div id="postlist" class="threads"> + <?py for thread in latest_age_ib: ?> <a href="${thread['url']}" class="thread"><span class="brd">[${thread['board_name']}]</span> <span class="cont">#{thread['content']}</span> <span class="rep">(${thread['length']})</span></a> <?py #endfor ?> </div> diff --git a/cgi/templates/mobile/latest.html b/cgi/templates/mobile/latest.html index 615b21c..91c3514 100644 --- a/cgi/templates/mobile/latest.html +++ b/cgi/templates/mobile/latest.html @@ -6,9 +6,16 @@ </div> <div class="bar"><a href="//m.bienvenidoainternet.org">Secciones</a><a href="/cgi/mobilehome" class="sel">Hilos activos</a><a href="/cgi/mobilenewest">Nuevos hilos</a></div> <div class="list"> - <?py for thread in latest_age: ?> + <h3 style="text-align:center">BBS</h3> + <?py for thread in latest_age_bbs: ?> + <a href="/cgi/mobileread${thread['url']}">#{thread['content']}<div>${thread['board_fulln']} <span>R:<span>#{int(thread['length'])-1}</span></span></div></a> + <?py #endfor ?> +</div> +<div class="list"> + <h3 style="text-align:center">IB</h3> + <?py for thread in latest_age_ib: ?> <a href="/cgi/mobileread${thread['url']}">#{thread['content']}<div>${thread['board_fulln']} <span>R:<span>#{int(thread['length'])-1}</span></span></div></a> <?py #endfor ?> </div> </body> -</html>
\ No newline at end of file +</html> diff --git a/cgi/templates/navbar.html b/cgi/templates/navbar.html index e5b1f85..e545776 100644 --- a/cgi/templates/navbar.html +++ b/cgi/templates/navbar.html @@ -2,7 +2,6 @@ <a href="/tech/">Tecnología</a> <a href="/juegos/">Juegos</a> <a href="/musica/">Música</a> -<a href="/tv/">TV y Cine</a> <a href="/letras/">Humanidades</a> <a href="/zonavip/">Club VIP</a> <a href="/world/">World Lobby</a> diff --git a/cgi/templates/txt_base_top.html b/cgi/templates/txt_base_top.html index 7499fb4..35b871f 100644 --- a/cgi/templates/txt_base_top.html +++ b/cgi/templates/txt_base_top.html @@ -28,8 +28,9 @@ <?py else: ?> <link rel="stylesheet" type="text/css" href="#{force_css}" /> <?py #endif ?> -<?py if board in ['zonavip', 'world']: ?> +<?py if board == 'zonavip': ?> <link rel="stylesheet" href="/static/css/txt/sjis.css" /> + <link rel="stylesheet" href="/static/css/txt/vipper.css" /> <?py #endif ?> <script type="text/javascript" src="#{static_url}js/weabotxt.js"></script> <script type="text/javascript" src="#{static_url}js/aquiencitas.js"></script> diff --git a/cgi/templates/txt_board.html b/cgi/templates/txt_board.html index d3bc72e..63913ea 100644 --- a/cgi/templates/txt_board.html +++ b/cgi/templates/txt_board.html @@ -50,7 +50,7 @@ <?py elif post['IS_DELETED'] == '2': ?> <h4 class="deleted">#{post['num']} Mensaje eliminado por miembro del staff.</h4> <?py else: ?> - <div class="reply#{' first' if post['num'] == 1 else ''}" data-n="#{post['num']}"> + <div class="reply#{' first' if post['num'] == 1 else ''}" data-id="#{post['id']}" data-n="#{post['num']}"> <h4>#{post['num']} : <?py if post['email']: ?> <?py if post['tripcode']: ?> @@ -135,4 +135,4 @@ </div> <center id="footer"><a href="/" target="_top">Bienvenido a Internet BBS/IB</a> weabot.py <?py include('templates/revision.html') ?> + FastCGI + tenjin<br />No se ponga sensible, baisano...</center> </body> -</html>
\ No newline at end of file +</html> |