aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/home.html
blob: bc37431c82c25535ebf28d371f1accbb0089ad7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!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=9998" />
  <link rel="stylesheet" type="text/css" href="/home_1.css?v=9999" title="main" />
  <link rel="alternate stylesheet" type="text/css" href="/home_2.css" title="alt" />
  <script type="text/javascript" src="#{static_url}js/home.js?v=9999"></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="/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="/dqn/">Club DQN</a>
        <a href="/2d/">二次元画像</a>
        <a href="/z/">BaIAZ</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">
      <a href="/bai.html" target="_top">Frame</a> ·
      <a href="/movil.html">BaI Móvil</a> ·
      <a href="http://bai5vj7eniqkrau5.onion/" target="_top">Onion</a> ·
      <a href="//tv.bienvenidoainternet.org/" target="_blank">BaI TV</a> ·
      <a href="//radio.bienvenidoainternet.org/" target="_blank">BaI Radio</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>
    <h4>BBS</h4>
    <div id="postlist" class="threads">
      <?py for thread in latest_age_bbs: ?>
        <a href="${thread['url']}" class="thread"><span class="brd">[${thread['board_name']}:${'%03d' % thread['length']}]</span> #{thread['content']}</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']}:${'%03d' % thread['length']}]</span> #{thread['content']}</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> #{thread['content']}</a>
    <?py #endfor ?>
    </div>
  </td>
</tr>
<tr><td colspan="2" id="footer">Bienvenido a Internet ★ 2010-2021</td></tr>
</table>
<div id="preview" style="display:none;"></div>
</body>
</html>