6aa4be3b3c3ade35dbb406a9d9acc07f3034711f
[zzz-spline-forum.git] / splinext / forum / templates / forum / forums.mako
1 <%inherit file="/base.mako" />
2 <%namespace name="forumlib" file="/forum/lib.mako" />
3
4 <%def name="title()">Forums</%def>
5
6 <h1>Forums</h1>
7 <table class="forum-list striped-rows">
8 <thead>
9     <tr class="header-row">
10         <th class="name">
11             <img src="${h.static_uri('spline', 'icons/folders-stack.png')}" alt="">
12             Forum
13         </th>
14         <th class="stats">Volume</th>
15         <th class="stats">Activity</th>
16     </tr>
17 </thead>
18 <tbody>
19     % for forum in c.forums:
20     <tr>
21         <td class="name">
22             <a href="${url(controller='forum', action='threads', forum_id=forum.id)}">${forum.name}</a>
23             ${forumlib.forum_access_level(forum)}
24         </td>
25         <td class="stats">xxx</td>
26         <td class="stats">xxx</th>
27     </tr>
28     % endfor
29 </tbody>
30 </table>