aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/home.html
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/templates/home.html')
-rw-r--r--cgi/templates/home.html106
1 files changed, 106 insertions, 0 deletions
diff --git a/cgi/templates/home.html b/cgi/templates/home.html
new file mode 100644
index 0000000..4e1f217
--- /dev/null
+++ b/cgi/templates/home.html
@@ -0,0 +1,106 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
+ <meta name="description" content="Bienvenido a Internet es un sitio para la discusión de distintos temas, sin necesidad de registrarse." />
+ <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_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" />
+ <link rel="alternate stylesheet" type="text/css" href="/home_retro.css?v=1" title="Retro" />
+ <script type="text/javascript" src="#{static_url}js/home.js"></script>
+</head>
+<body class="home">
+<table id="all">
+<tr>
+ <td id="main">
+ <div id="logo" style="margin:0 auto;"></div>
+ <h1>#{header}</h1>
+ <em>#{slogan}</em>
+ </td>
+ <td class="tab">
+ <h2>Secciones</h2>
+ <div id="boards">
+ <div class="cat">
+ <h3>Discusión</h3>
+ <a href="/noticias/">Actualidad</a>
+ <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">
+ <h3>Conversación</h3>
+ <a href="/zonavip/">Club VIP</a>
+ <a href="/world/">World Lobby</a>
+ </div>
+ <div class="cat">
+ <h3>IB</h3>
+ <a href="/img/">Imágenes</a>
+ <a href="/2d/">二次元画像</a>
+ <a href="/n/">Naturaleza</a>
+ <a href="/o/">Oekaki</a>
+ </div>
+ <div class="cat">
+ <h3>Área 51</h3>
+ <a href="/bai/">Meta</a>
+ <a href="/0/" class="cero">0</a>
+ </div>
+ </div>
+ <hr />
+ <div id="links"><a href="/" target="_top"><b>Portada</b></a> · <a href="/guia.html"><b>¿Eres nuevo?</b></a> · <a href="/faq.html"><b>Preguntas Frecuentes</b></a></div>
+ <div id="extra">
+ <span id="change_style">Estilo:
+ <a href="#">Vintage</a>
+ <a href="#">BBS</a>
+ <a href="#">IB</a>
+ <a href="#">Retro</a></span> ·
+ <a href="/bai.html" target="_top">Frames</a> ·
+ <a href="//tv.bienvenidoainternet.org/" target="_blank">BaI TV</a> ·
+ <a href="/cgi/stats" target="_blank">Estadísticas</a>
+ </div>
+ </td>
+</tr>
+<tr>
+ <td rowspan="2" class="tab">
+ <h2 id="newposts">Hilos activos <div id="counter"></div></h2>
+ <div id="postlist" class="threads">
+ <?py for thread in latest_age: ?>
+ <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 />
+ <div id="ctrl"><a id="refresh" href="/home.html">Actualizar</a>
+ <span><input id="autorefresh" type="checkbox" /><label for="autorefresh">Automático</label><audio id="machina"><source src="msn.ogg" type="audio/ogg" /></audio></span>
+ <span><input id="autosound" type="checkbox" checked="checked" disabled="disabled" /><label for="autosound">Sonido</label><input type="hidden" name="limit" id="limit" value="#{latest_age_num}" /></span>
+ <a href="bai.rss"><img src="/rss.png" style="width:12px;height:12px;margin-right:4px;">RSS</a></div>
+ </td>
+ <td id="newstab" class="tab">
+ <h2>Blotter</h2>
+ <div id="news">
+ <?py for article in latest_news: ?>
+ <div class="ni" data-t="#{article['timestamp']}"><div class="ni-d">${article['timestamp_formatted']}</div><div class="ni-m">#{article['message']}</div></div>
+ <?py #endfor ?>
+ </div>
+ </td>
+</tr>
+<tr>
+ <td class="tab">
+ <h2>Hilos nuevos</h2>
+ <div id="new_ib" class="threads">
+ <?py for thread in new_threads: ?>
+ <a href="${thread['url']}" class="thread"><span class="brd">[${thread['board_name']}]</span> <span class="cont">#{thread['content']}</span></a>
+ <?py #endfor ?>
+ </div>
+ </td>
+</tr>
+<tr><td colspan="2" id="footer">★ Bienvenido a Internet 2010-2019 ★</td></tr>
+</table>
+<div id="preview" style="display:none;"></div>
+</body>
+</html> \ No newline at end of file