aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates
diff options
context:
space:
mode:
authorLibravatar Jay 2019-04-13 02:07:56 -0400
committerLibravatar Jay 2019-04-13 18:09:17 -0400
commitc94708fe9ef9bdca0dd7da35de36e0b21d9108ec (patch)
tree2f498be0474b47517659c6d5af50bfca5d8d191b /cgi/templates
parent1496e160da3c6f6cb8742aedced4edefc1211a0b (diff)
downloadweabot-c94708fe9ef9bdca0dd7da35de36e0b21d9108ec.tar.gz
weabot-c94708fe9ef9bdca0dd7da35de36e0b21d9108ec.tar.xz
weabot-c94708fe9ef9bdca0dd7da35de36e0b21d9108ec.zip
Probando algo con la versión móvil
Diffstat (limited to 'cgi/templates')
-rw-r--r--cgi/templates/txt_thread.en.html4
-rw-r--r--cgi/templates/txt_thread.html4
2 files changed, 8 insertions, 0 deletions
diff --git a/cgi/templates/txt_thread.en.html b/cgi/templates/txt_thread.en.html
index 03b9a6a..c820a78 100644
--- a/cgi/templates/txt_thread.en.html
+++ b/cgi/templates/txt_thread.en.html
@@ -1,11 +1,15 @@
<?py include('templates/txt_base_top.html') ?>
<body class="threadpage" data-brd="#{board}">
+<div id="main_nav" style="display:none;"><a href="/" target="_top">Bienvenido a Internet</a> | <?py include('templates/navbar.html') ?></div>
<?py if threads: ?>
<?py for thread in threads: ?>
<div id="thread_nav">
<a href="/" name="top" target="_top">Bienvenido a Internet</a>
<a href="#{boards_url}#{board}/">■Return to BBS■</a>
<a href="#{boards_url}#{board}/read/#{thread['timestamp']}/">Entire thread</a>
+ <?py if thread['length'] > 100: ?>
+ <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/1-100">First 100</a>
+ <?py #endif ?>
<?py for i in range(thread['length'] / 100): ?>
<a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{(i+1)*100+1}-#{(i+2)*100}">#{(i+1)*100+1}-</a>
<?py #endfor ?>
diff --git a/cgi/templates/txt_thread.html b/cgi/templates/txt_thread.html
index 1c8835d..563450d 100644
--- a/cgi/templates/txt_thread.html
+++ b/cgi/templates/txt_thread.html
@@ -1,11 +1,15 @@
<?py include('templates/txt_base_top.html') ?>
<body class="threadpage" data-brd="#{board}">
+<div id="main_nav" style="display:none;"><a href="/" target="_top">Bienvenido a Internet</a> | <?py include('templates/navbar.html') ?></div>
<?py if threads: ?>
<?py for thread in threads: ?>
<div id="thread_nav">
<a href="/" name="top" target="_top">Bienvenido a Internet</a>
<a href="#{boards_url}#{board}/">■Volver al BBS■</a>
<a href="#{boards_url}#{board}/read/#{thread['timestamp']}/">Hilo completo</a>
+ <?py if thread['length'] > 100: ?>
+ <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/1-100">Primeros 100</a>
+ <?py #endif ?>
<?py for i in range(thread['length'] / 100): ?>
<a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{(i+1)*100+1}-#{(i+2)*100}">#{(i+1)*100+1}-</a>
<?py #endfor ?>