aboutsummaryrefslogblamecommitdiff
path: root/cgi/templates/catalog.html
blob: 8c0d80eca1df66b1a38e7901843418445cf472cd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13



                                                             








                                                                                                  



                                           

                                            
                                     
                                                                                                                                                                  
                  
                                     
                                                                                                                            
                 
                                                                                                                                                                                                        

                  

                 

                                            
<?py include('templates/base_top.html') ?>
<div id="ctrl">
  &#91;<a href="#{boards_url}#{board}/">Volver al IB</a>&#93;
  &#91;Orden:
  <a href="?sort=0">#{"<b>Normal</b>" if i_sort == "" else "Normal"}</a>
  <a href="?sort=1">#{"<b>Nuevo</b>" if i_sort == "1" else "Nuevo"}</a>
  <a href="?sort=2">#{"<b>Viejo</b>" if i_sort == "2" else "Viejo"}</a>
  <a href="?sort=3">#{"<b>Más</b>" if i_sort == "3" else "Más"}</a>
  <a href="?sort=4">#{"<b>Menos</b>" if i_sort == "4" else "Menos"}</a>&#93;
  &#91;Tamaño: <a id="cat-size" href="#">Pequeño</a>&#93;
  &#91;Texto: <a id="cat-hide" href="#">Ocultar</a>&#93;
  &#91;Filtrar: <input id="cat-srch" type="text">
  <span id="hid-label" style="display:none;">[Hilos ocultos: <a id="hid-num" href="#"></a>]</span>
</div>
<div class="extramode">Modo Catálogo</div>
<div id="catalog" style="margin:1em auto;">
  <?py i = 1 ?>
  <?py for thread in threads: ?>
  <div id="t#{thread['id']}" class="thread">
    <?py if thread['thumb'] != '': ?>
      <a href="#{boards_url}#{board}/res/#{thread['id']}.html" rel="nofollow"><img src="#{images_url}#{board}/cat/#{thread['thumb']}" alt="#{thread['id']}" /></a>
    <?py #endif ?>
    <?py if thread['thumb'] != '': ?>
      <p><strong class="subj">${thread['subject']} <span>(${thread['length']})</span></strong><br />${thread['message']}</p>
    <?py else: ?>
      <p><a href="#{boards_url}#{board}/res/#{thread['id']}.html" rel="nofollow"><strong class="subj">${thread['subject']} <span>(${thread['length']})</span></strong></a><br />${thread['message']}</p>
    <?py #endif ?>
    <?py i += 1 ?>
  </div>
  <?py #endfor ?>
</div>
<?py include('templates/base_bottom.html') ?>