Commit | Line | Data |
---|---|---|
5d0d2729 | 1 | <tmpl_if running> |
6b7defc1 | 2 | <div class="well"> |
c6d6209f | 3 | <h1>Running contests</h1> |
5d0d2729 MG |
4 | <table class="table"> |
5 | <thead> | |
6 | <tr><th>Name<th>Start date<th>End date<th>Owner | |
7 | <tbody> | |
8 | <tmpl_loop running><tr class="success"><td><a href="<tmpl_var id>"><tmpl_var name></a> | |
9 | <td><tmpl_var start> | |
10 | <td><tmpl_var end> | |
11 | <td><tmpl_var owner> | |
12 | </tmpl_loop> | |
13 | </table> | |
14 | </div> | |
15 | </tmpl_if> | |
16 | ||
17 | <tmpl_if pending> | |
6b7defc1 | 18 | <div class="well"> |
c6d6209f | 19 | <h1>Pending contests</h1> |
5d0d2729 MG |
20 | <table class="table"> |
21 | <thead> | |
22 | <tr><th>Name<th>Start date<th>End date<th>Owner | |
23 | <tbody> | |
24 | <tmpl_loop pending><tr class="active"><td><a href="<tmpl_var id>"><tmpl_var name></a> | |
25 | <td><tmpl_var start> | |
26 | <td><tmpl_var end> | |
27 | <td><tmpl_var owner> | |
28 | </tmpl_loop> | |
29 | </table> | |
30 | </div> | |
31 | </tmpl_if> | |
32 | ||
33 | <tmpl_if finished> | |
6b7defc1 | 34 | <div class="well"> |
c6d6209f | 35 | <h1>Finished contests</h1> |
5d0d2729 MG |
36 | <table class="table"> |
37 | <thead> | |
38 | <tr><th>Name<th>Start date<th>End date<th>Owner | |
39 | <tbody> | |
40 | <tmpl_loop finished><tr><td><a href="<tmpl_var id>"><tmpl_var name></a> | |
41 | <td><tmpl_var start> | |
42 | <td><tmpl_var end> | |
43 | <td><tmpl_var owner> | |
44 | </tmpl_loop> | |
45 | </table> | |
46 | </div> | |
47 | </tmpl_if> | |
65ac4e4b | 48 |