aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorLibravatar Señor X 2019-04-05 03:50:25 -0300
committerLibravatar Señor X 2019-04-05 03:52:47 -0300
commit6e2a0f64d910b6ccb4d09846ea313e3f308fd747 (patch)
treee9752724539336bdf9c14d3af89c2af52ea36ded /cgi
parent7d62e3d0ec4f96d6708e0946dffd81bded9f0aca (diff)
downloadweabot-6e2a0f64d910b6ccb4d09846ea313e3f308fd747.tar.gz
weabot-6e2a0f64d910b6ccb4d09846ea313e3f308fd747.tar.xz
weabot-6e2a0f64d910b6ccb4d09846ea313e3f308fd747.zip
Moviendo funciones de hora local de weabot.js y weabotxt.js a shobon.js + Delegación
Diffstat (limited to 'cgi')
-rw-r--r--cgi/templates/base_top.html2
-rw-r--r--cgi/templates/board.html4
-rw-r--r--cgi/templates/board.jp.html8
-rw-r--r--cgi/templates/navbar.html28
4 files changed, 24 insertions, 18 deletions
diff --git a/cgi/templates/base_top.html b/cgi/templates/base_top.html
index a95a257..6c51bef 100644
--- a/cgi/templates/base_top.html
+++ b/cgi/templates/base_top.html
@@ -39,7 +39,7 @@
<script type="text/javascript" src="#{static_url}js/aquiencitas.js"></script>
<script type="text/javascript" src="#{static_url}js/autorefresh.js?v=3"></script>
</head>
-<body#{' class="res"' if replythread else ''}>
+<body#{' class="res"' if replythread else ''} data-brd="#{board}">
<div id="main_nav">[<a href="/" target="_top">Bienvenido a Internet</a>] [<?py include('templates/navbar.html') ?>]</div>
<div class="logo">
<?py if board: ?>
diff --git a/cgi/templates/board.html b/cgi/templates/board.html
index 09ed67d..0583230 100644
--- a/cgi/templates/board.html
+++ b/cgi/templates/board.html
@@ -184,7 +184,7 @@
<?py #endif ?>
<span class="date" data-unix="#{post['timestamp']}">#{post['timestamp_formatted']}</span>
<?py if replythread: ?>
- <span class="reflink"><a href="##{post['id']}">No.</a><a href="#" class="postid">#{post['id']}</a></span>
+ <span class="reflink"><a href="##{post['id']}">No.</a><a href="#" class="num">#{post['id']}</a></span>
<?py else: ?>
<span class="reflink"><a href="#{boards_url}#{board}/res/#{post['parentid'] if post['parentid'] != "0" else post['id']}.html##{post['id']}">No.</a><a href="#{boards_url}#{board}/res/#{post['parentid'] if post['parentid'] != "0" else post['id']}.html#i#{post['id']}">#{post['id']}</a></span>
<?py #endif ?>
@@ -262,7 +262,7 @@
<div class="pg">#{pagenav}</div>
<?py #endif ?>
<?py if not force_css: ?>
- <div class="selector"><b>Apariencia:</b><select id="styles">
+ <div class="selector"><b>Estilo:</b><select id="styles">
<?py for title in styles: ?><option value="#{title}">#{title}</option><?py #endfor ?>
</select>
</div>
diff --git a/cgi/templates/board.jp.html b/cgi/templates/board.jp.html
index 8045ab1..12772e8 100644
--- a/cgi/templates/board.jp.html
+++ b/cgi/templates/board.jp.html
@@ -186,7 +186,7 @@
<?py #endif ?>
<span class="date" data-unix="#{post['timestamp']}">#{post['timestamp_formatted']}</span>
<?py if replythread: ?>
- <span class="reflink"><a href="##{post['id']}">No.</a><a href="#" class="postid">#{post['id']}</a></span>
+ <span class="reflink"><a href="##{post['id']}">No.</a><a href="#" class="num">#{post['id']}</a></span>
<?py else: ?>
<span class="reflink"><a href="#{boards_url}#{board}/res/#{post['parentid'] if post['parentid'] != "0" else post['id']}.html##{post['id']}">No.</a><a href="#{boards_url}#{board}/res/#{post['parentid'] if post['parentid'] != "0" else post['id']}.html#i#{post['id']}">#{post['id']}</a></span>
<?py #endif ?>
@@ -268,4 +268,10 @@
<?py if pagenav: ?>
<div class="pg">#{pagenav}</div>
<?py #endif ?>
+<?py if not force_css: ?>
+ <div class="selector"><b>外観:</b><select id="styles">
+ <?py for title in styles: ?><option value="#{title}">#{title}</option><?py #endfor ?>
+ </select>
+ </div>
+<?py #endif ?>
<?py include('templates/base_bottom.html') ?> \ No newline at end of file
diff --git a/cgi/templates/navbar.html b/cgi/templates/navbar.html
index 1655f0b..986c7c6 100644
--- a/cgi/templates/navbar.html
+++ b/cgi/templates/navbar.html
@@ -1,16 +1,16 @@
-<a id="noticias" href="/noticias/">Actualidad</a>
-<a id="tech" href="/tech/">Tecnolog&iacute;a</a>
-<a id="juegos" href="/juegos/">Juegos</a>
-<a id="musica" href="/musica/">M&uacute;sica</a>
-<a id="tv" href="/tv/">TV y Cine</a>
-<a id="letras" href="/letras/">Humanidades</a>
-<a id="zonavip" href="/zonavip/">Club VIP</a>
-<a id="world" href="/world/">World Lobby</a>
+<a href="/noticias/">Actualidad</a>
+<a href="/tech/">Tecnolog&iacute;a</a>
+<a href="/juegos/">Juegos</a>
+<a href="/musica/">M&uacute;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>
|
-<a id="img" href="/img/">Imágenes</a>
-<a id="2d" href="/2d/">二次元画像</a>
-<a id="n" href="/n/">Naturaleza</a>
-<a id="o" href="/o/">Oekaki</a>
-<a id="0" href="/0/">Cero</a>
+<a href="/img/">Imágenes</a>
+<a href="/2d/">二次元画像</a>
+<a href="/n/">Naturaleza</a>
+<a href="/o/">Oekaki</a>
+<a href="/0/">Cero</a>
|
-<a id="bai" href="/bai/">Meta</a> \ No newline at end of file
+<a href="/bai/">Meta</a> \ No newline at end of file