plugin
upstream
Templates in the website are disabled now. Editing them will not have any effect on the live website.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
$def with (path="", limit=50, use_repr=False) $ page = safeint(query_param("page", "0")) $ pages = list_pages(path, limit=limit, offset=page * limit) <!--islist--> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td class="historyheader">Title</td> <td class="historyheader">Author</td> <td class="historyheader" style="white-space: nowrap">Scan Status</td> </tr> $for p in pages: $if use_repr: <tr>$:thingrepr(p)</tr> $else: <tr><td><a href="$homepath()$p.key">$p.key</a></td></tr> </table> |