From Redis to Postgres - Part 1 (Getting started)
[gruntmaster-page.git] / tmpl / ct.en
CommitLineData
9da2f495
MG
1<tmpl_if running>
2<h1>Running contests</h1>
3<table border class="table table-bordered table-striped">
4<thead>
d3200993 5<tr><th>Name<th>Start date<th>Stop date<th>Owner
9da2f495 6<tbody>
3a70241a 7<tmpl_loop running><tr><td><a href="<tmpl_var id>/"><tmpl_var name></a>
81cce380 8<td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{start}; %>
d3200993 9<td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{stop}; %>
dbd32f6f 10<td><a href="/us/<tmpl_var owner>"><tmpl_if owner_name><tmpl_var owner_name><tmpl_else><tmpl_var owner></tmpl_if></a>
9da2f495
MG
11</tmpl_loop>
12</table>
13</tmpl_if>
14
d3200993
MG
15<tmpl_if pstoping>
16<h1>Pstoping contests</h1>
9da2f495
MG
17<table border class="table table-bordered table-striped">
18<thead>
d3200993 19<tr><th>Name<th>Start date<th>Stop date<th>Owner
9da2f495 20<tbody>
d3200993 21<tmpl_loop pstoping><tr><td><a href="<tmpl_var id>/"><tmpl_var name></a>
81cce380 22<td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{start}; %>
d3200993 23<td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{stop}; %>
dbd32f6f 24<td><a href="/us/<tmpl_var owner>"><tmpl_if owner_name><tmpl_var owner_name><tmpl_else><tmpl_var owner></tmpl_if></a>
9da2f495
MG
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>
d3200993 33<tr><th>Name<th>Start date<th>Stop date<th>Owner
9da2f495 34<tbody>
3a70241a 35<tmpl_loop finished><tr><td><a href="<tmpl_var id>/"><tmpl_var name></a>
81cce380 36<td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{start}; %>
d3200993 37<td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{stop}; %>
dbd32f6f 38<td><a href="/us/<tmpl_var owner>"><tmpl_if owner_name><tmpl_var owner_name><tmpl_else><tmpl_var owner></tmpl_if></a>
9da2f495
MG
39</tmpl_loop>
40</table>
41</tmpl_if>
This page took 0.013984 seconds and 4 git commands to generate.