]> iEval git - gruntmaster-page.git/blob - tmpl/ct.en
Attempt to fix register
[gruntmaster-page.git] / tmpl / 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>Stop date<th>Owner
6 <tbody>
7 <tmpl_loop running><tr><td><a href="/ct/<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__->{stop}; %>
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>Stop date<th>Owner
20 <tbody>
21 <tmpl_loop pending><tr><td><a href="/ct/<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__->{stop}; %>
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>Stop date<th>Owner
34 <tbody>
35 <tmpl_loop finished><tr><td><a href="/ct/<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__->{stop}; %>
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.054081 seconds and 4 git commands to generate.