diff options
Diffstat (limited to 'cgi/templates/txt_threadlist.html')
-rw-r--r-- | cgi/templates/txt_threadlist.html | 38 |
1 files changed, 21 insertions, 17 deletions
diff --git a/cgi/templates/txt_threadlist.html b/cgi/templates/txt_threadlist.html index 74df30e..9d366ee 100644 --- a/cgi/templates/txt_threadlist.html +++ b/cgi/templates/txt_threadlist.html @@ -25,25 +25,29 @@ <a name="menu"></a> <div id="threadbox" class="outerbox"><div class="innerbox"> <div id="threadlinks"><a href="#{boards_url}#{board}/"><b>Volver al BBS</b></a> <a href="/#{board}/kako/"><b>Ver hilos archivados</b></a> <a href="#newthread"><b>Crear nuevo hilo</b></a></div> - <div id="listmenu">Orden: <a class="l_s" href="#">Normal</a> <a class="l_s" href="#">Edad</a> <a class="l_s" href="#">Largo</a> <a class="l_s" href="#">Rapidez</a> <a class="l_s" href="#">Aleatorio</a> / Modo: <a class="l_d" href="#">Lista</a> <a class="l_d" href="#">Malla</a> / Filtrar: <input id="l_sr" style="padding:0px;width:100px;" type="text"></div> + <div id="listmenu">Orden: <a class="l_s" href="#">Normal</a> <a class="l_s" href="#">Edad</a> <a class="l_s" href="#">Largo</a> <a class="l_s" href="#">Rapidez</a> <a class="l_s" href="#">Aleatorio</a> / Filtrar: <input id="l_sr" style="padding:0px;width:100px;" type="text"></div> </div></div> -<div id="content" class="list"> -<div id="header" class="row"> - <div>#</div> - <div style="width:100%;">Asunto</div> - <div>Posts</div> - <div class="hdate">Último</div> +<div class="thread"> +<div class="innerbox"> +<table id="threads" summary="Lista de hilos"> + <tr> + <th>#</th> + <th style="width:100%;">Asunto</th> + <th>Posts</th> + <th class="hh">Último</th> + </tr> + <?py iter = 1 ?> + <?py for thread in more_threads: ?> + <tr> + <td>#{iter}:</td> + <td><a href="#{boards_url}#{board}/read/#{thread['timestamp']}/${'l50' if int(thread['length']) > 50 else ''}">#{thread["subject"]}</a></td> + <td>#{thread["length"]}</td> + <td class="hh">#{timestamps[iter-1][1]}</td> + </tr> + <?py iter += 1 ?> + <?py #endfor ?> +</table> </div> -<?py iter = 1 ?> -<?py for thread in more_threads: ?> -<div class="row"> - <div class="pos">#{iter}:</div> - <div class="thread"><a href="#{boards_url}#{board}/read/#{thread['timestamp']}/${'l50' if int(thread['length']) > 50 else ''}">#{thread["subject"]}</a></div> - <div class="com">#{thread["length"]}</div> - <div class="date" data-unix="#{timestamps[iter-1][0]}">#{timestamps[iter-1][1]}</div> -</div> -<?py iter += 1 ?> -<?py #endfor ?> </div> <a name="newthread"></a> <div id="createbox" class="outerbox"> |