aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar junk 2021-05-08 11:57:10 -0400
committerLibravatar junk 2021-05-08 13:35:21 -0400
commite85319f9e58c6ff3ed2d2d6f33596d8bb71a1f92 (patch)
treed26c36c66dbcf2f373c01897b1ce00da6ddc255e
parent91e3d67dd123561c1604ce37da8dd0e2e987ef88 (diff)
downloadweabot-e85319f9e58c6ff3ed2d2d6f33596d8bb71a1f92.tar.gz
weabot-e85319f9e58c6ff3ed2d2d6f33596d8bb71a1f92.tar.xz
weabot-e85319f9e58c6ff3ed2d2d6f33596d8bb71a1f92.zip
Cambiando home
-rw-r--r--cgi/templates/home.html30
-rw-r--r--cgi/templates/manage/news.html2
-rw-r--r--cgi/templates/navbar.html2
-rw-r--r--static/ico/nsa.pngbin0 -> 7790 bytes
-rw-r--r--static/ico/sweep.gifbin0 -> 718 bytes
-rw-r--r--static/ico/toot.gifbin0 -> 461 bytes
-rw-r--r--static/icons/comment_delete.pngbin548 -> 0 bytes
-rw-r--r--static/icons/cross.pngbin655 -> 0 bytes
-rw-r--r--static/icons/user_delete.pngbin767 -> 0 bytes
-rw-r--r--static/js/home.js2
10 files changed, 16 insertions, 20 deletions
diff --git a/cgi/templates/home.html b/cgi/templates/home.html
index 1bac4c5..bc37431 100644
--- a/cgi/templates/home.html
+++ b/cgi/templates/home.html
@@ -7,12 +7,10 @@
<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=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" />
- <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>
+ <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">
@@ -42,7 +40,7 @@
<h3>IB</h3>
<a href="/dqn/">Club DQN</a>
<a href="/2d/">二次元画像</a>
- <a href="/n/">Naturaleza</a>
+ <a href="/z/">BaIAZ</a>
<a href="/o/">Oekaki</a>
</div>
<div class="cat">
@@ -54,13 +52,11 @@
<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="/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>
@@ -71,14 +67,14 @@
<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']}]</span> <span class="cont">#{thread['content']}</span> <span class="rep">(${thread['length']})</span></a>
+ <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']}]</span> <span class="cont">#{thread['content']}</span> <span class="rep">(${thread['length']})</span></a>
+ <a href="${thread['url']}" class="thread"><span class="brd">[${thread['board_name']}:${'%03d' % thread['length']}]</span> #{thread['content']}</a>
<?py #endfor ?>
</div>
<hr />
@@ -101,12 +97,12 @@
<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>
+ <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>
+<tr><td colspan="2" id="footer">Bienvenido a Internet ★ 2010-2021</td></tr>
</table>
<div id="preview" style="display:none;"></div>
</body>
diff --git a/cgi/templates/manage/news.html b/cgi/templates/manage/news.html
index feec2a5..30fd9b7 100644
--- a/cgi/templates/manage/news.html
+++ b/cgi/templates/manage/news.html
@@ -37,7 +37,7 @@
<th>ID</th>
<th>Fecha</th>
<?py if action != 2: ?><th>Título</th><?py #endif ?>
- <th>${"Noticia" if action != 2 else Tweet}</th>
+ <th>${"Noticia" if action != 2 else "Tweet"}</th>
<th></th>
</tr>
<?py for post in posts: ?>
diff --git a/cgi/templates/navbar.html b/cgi/templates/navbar.html
index e40e420..29e5276 100644
--- a/cgi/templates/navbar.html
+++ b/cgi/templates/navbar.html
@@ -8,7 +8,7 @@
|
<a href="/dqn/">Club DQN</a>
<a href="/2d/">二次元画像</a>
-<a href="/n/">Naturaleza</a>
+<a href="/z/">BaIAZ</a>
<a href="/o/">Oekaki</a>
<a href="/0/">Cero</a>
|
diff --git a/static/ico/nsa.png b/static/ico/nsa.png
new file mode 100644
index 0000000..2320da6
--- /dev/null
+++ b/static/ico/nsa.png
Binary files differ
diff --git a/static/ico/sweep.gif b/static/ico/sweep.gif
new file mode 100644
index 0000000..a832175
--- /dev/null
+++ b/static/ico/sweep.gif
Binary files differ
diff --git a/static/ico/toot.gif b/static/ico/toot.gif
new file mode 100644
index 0000000..b75a98d
--- /dev/null
+++ b/static/ico/toot.gif
Binary files differ
diff --git a/static/icons/comment_delete.png b/static/icons/comment_delete.png
deleted file mode 100644
index 643fdbe..0000000
--- a/static/icons/comment_delete.png
+++ /dev/null
Binary files differ
diff --git a/static/icons/cross.png b/static/icons/cross.png
deleted file mode 100644
index 1514d51..0000000
--- a/static/icons/cross.png
+++ /dev/null
Binary files differ
diff --git a/static/icons/user_delete.png b/static/icons/user_delete.png
deleted file mode 100644
index acbb563..0000000
--- a/static/icons/user_delete.png
+++ /dev/null
Binary files differ
diff --git a/static/js/home.js b/static/js/home.js
index 0a90627..c8a2921 100644
--- a/static/js/home.js
+++ b/static/js/home.js
@@ -196,7 +196,7 @@ document.addEventListener("DOMContentLoaded", function() {
opcs = { style: "IB", auto: false, sound: false, last: 0 };
parse();
}
- set_stylesheet(opcs.style);
+ //set_stylesheet(opcs.style);
var css = document.getElementById("change_style").getElementsByTagName("a");
for (var j = 0; j < css.length; j++) {