Hide editorial link before contest is finished
[plack-app-gruntmaster.git] / tmpl / ct_entry.en
index af533d618b21a071ebf7f84f2e20373135eb00ed..13d2e9eb6e877c37c750992db96d3cb1c9c470b6 100644 (file)
@@ -1,8 +1,16 @@
-Contest start time: <%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{start}; %><br>
-Contest stop  time: <%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{stop};  %><p>
+<dl>
+<dt>Contest start time</dt> <dd id="start">start</dd>
+<dt>Contest stop time</dt>  <dd id="stop">stop</dd>
+</dl>
 
-<tmpl_var ESCAPE=0 description>
+<div id="ctcountdown" class="reqjs">
+Contest <span id="status">starts/ends</span> in: <span class="timer" data-stop="...">
+</div>
+<div id="description">description</div>
 
-<tmpl_if started><a href="pb/">Problems</a><br>
-<a href="log/">Job log</a><br>
-<a href="log/st">Standings</a></tmpl_if>
+<div id="links">
+<a href="/pb/?contest=contest_id">Problems</a><br>
+<a href="/ed/contest_id" id="editorial">Editorial</a><br>
+<a href="/log/?contest=contest_id">Job log</a><br>
+<a href="/st/contest_id">Standings</a>
+</div>
This page took 0.009675 seconds and 4 git commands to generate.