-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="/ct/<tmpl_var id>/pb/">Problems</a><br>
-<a href="/ct/<tmpl_var id>/log/">Job log</a><br>
-<a href="/ct/<tmpl_var id>/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>