aboutsummaryrefslogblamecommitdiff
path: root/cgi/templates/mobile/txt_threadlist.html
blob: 5e3d13387950085d506d5f0b43cd9a269e9f0932 (plain) (tree)

























                                                                                                                                                                                                                                                                                          
<?py include('templates/mobile/base_top.html') ?>
<body class="txt">
<div class="top">
  <a href="//m.bienvenidoainternet.org"><img src="#{static_url}css/img/0back.png" /><br />Home</a>
  #{board_name}
</div>
<?py if mode == 1: ?>
<div class="bar"><a href="#{cgi_url}mobile/#{board}" class="sel">Portada</a><a href="#{cgi_url}mobilelist/#{board}">Todos los hilos</a><a href="#{cgi_url}mobilenew/#{board}">Nuevo hilo</a></div>
<?py else: ?>
<div class="bar"><a href="#{cgi_url}mobile/#{board}">Portada</a><a href="#{cgi_url}mobilelist/#{board}" class="sel">Todos los hilos</a><a href="#{cgi_url}mobilenew/#{board}">Nuevo hilo</a></div>
<div class="search"><input id="search" placeholder="Buscar en asuntos" type="text"></div>
<div class="ord"><span>Orden:</span><a data-sort="0" class="sel" href="#">Normal</a><a data-sort="1" href="#">Nuevo</a><a data-sort="2" href="#">Viejo</a><a data-sort="3" href="#">Más</a><a data-sort="4" href="#">Menos</a></div>
<?py #endif ?>
<div id="to_sort" class="list">
  <?py i = 1 ?>
  <?py for thread in more_threads: ?>
  <?py if int(thread["length"]) > 10: ?>
    <a data-num="${i}" data-res="${thread['length']}" data-id="${thread['id']}" href="#{cgi_url}mobileread/#{board}/#{thread['timestamp']}/l10">#{thread['subject']}<br /><span class="info"><span>Última: #{timestamps[i-1][1]}</span> Respuestas: <b>#{thread['length']}</b></span></a>
  <?py else: ?>
    <a data-num="${i}" data-res="#{thread['length']}" data-id="#{thread['id']}" href="#{cgi_url}mobileread/#{board}/#{thread['timestamp']}/l10">#{thread['subject']}<br /><span class="info"><span>Última: #{timestamps[i-1][1]}</span> Respuestas: <b>#{thread['length']}</b></span></a>
  <?py #endif ?>
  <?py i += 1 ?>
  <?py #endfor ?>
</div>
</body>
</html>