blob: 5e71a0c96a6c09c9672fb24a1b77b03522a7c315 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<?py include('templates/base_top.html') ?>
<div id="ctrl">
[<a href="#{boards_url}#{board}/">Volver al IB</a>]
[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>]
[Tamaño: <a id="cat-size" href="#">Pequeño</a>]
<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>
<br />
<?py #endif ?>
<?py if thread['thumb'] != '': ?>
<div class="subj">${thread['subject']} <span>(${thread['length']})</span></div>
<?py else: ?>
<a href="#{boards_url}#{board}/res/#{thread['id']}.html" rel="nofollow"><div class="subj">${thread['subject']} <span>(${thread['length']})</span></div></a>
<?py #endif ?>
${thread['message']}
<?py i += 1 ?>
</div>
<?py #endfor ?>
</div>
<hr />
<?py include('templates/base_bottom.html') ?>
|