]> iEval git - plack-app-gruntmaster.git/blob - ct.en
55e8392d96c51cf2c17e99260bb99f547252506d
[plack-app-gruntmaster.git] / ct.en
1 <tmpl_if running>
2 <h1>Running contests</h1>
3 <table border class="table table-bordered table-striped">
4 <thead>
5 <tr><th>Name<th>Start date<th>End date<th>Owner
6 <tbody>
7 <tmpl_loop running><tr><td><a href="<tmpl_var id>/"><tmpl_var name></a>
8 <td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{start}; %>
9 <td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{end}; %>
10 <td><a href="/us/<tmpl_var owner>"><tmpl_if owner_name><tmpl_var owner_name><tmpl_else><tmpl_var owner></tmpl_if></a>
11 </tmpl_loop>
12 </table>
13 </tmpl_if>
14
15 <tmpl_if pending>
16 <h1>Pending contests</h1>
17 <table border class="table table-bordered table-striped">
18 <thead>
19 <tr><th>Name<th>Start date<th>End date<th>Owner
20 <tbody>
21 <tmpl_loop pending><tr><td><a href="<tmpl_var id>/"><tmpl_var name></a>
22 <td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{start}; %>
23 <td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{end}; %>
24 <td><a href="/us/<tmpl_var owner>"><tmpl_if owner_name><tmpl_var owner_name><tmpl_else><tmpl_var owner></tmpl_if></a>
25 </tmpl_loop>
26 </table>
27 </tmpl_if>
28
29 <tmpl_if finished>
30 <h1>Finished contests</h1>
31 <table border class="table table-bordered table-striped">
32 <thead>
33 <tr><th>Name<th>Start date<th>End date<th>Owner
34 <tbody>
35 <tmpl_loop finished><tr><td><a href="<tmpl_var id>/"><tmpl_var name></a>
36 <td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{start}; %>
37 <td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{end}; %>
38 <td><a href="/us/<tmpl_var owner>"><tmpl_if owner_name><tmpl_var owner_name><tmpl_else><tmpl_var owner></tmpl_if></a>
39 </tmpl_loop>
40 </table>
41 </tmpl_if>
This page took 0.038558 seconds and 3 git commands to generate.