diff options
Diffstat (limited to 'cgi')
-rw-r--r-- | cgi/templates/txt_thread.en.html | 4 | ||||
-rw-r--r-- | cgi/templates/txt_thread.html | 4 |
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 ?> |