server/onyx/tpl/bootstrap/teams/exercice.tpl
Quentin Grosyeux 33935063a4 New templates
2013-11-04 23:20:16 +01:00

36 lines
782 B
Smarty

{extends file="layout-nav.tpl"}
{block name=head}
<link href="/css/common.css" rel="stylesheet">
{/block}
{block name=content}
<!-- TODO: resolved number -->
<div>
<h1>Exercice 0 - X</h1>
<ul>
<li>Difficulté : {$Exercice->statement}</li>
<li>Gain :</li>
<!-- Dowloads files -->
<li>Description</li>
<!-- Input solution -->
</ul>
<ol>
{foreach from=$top10 item=team key=pos}
<li>{$team->get_name()} <small>({$team->get_pts()})</small></li>
{/foreach}
</ol>
<div id="my_team">
{$my_team->get_rank(10)}/{Team::get_nbTeams()}
</div>
<div id="theme_list">
{foreach from=$themes item=theme key=k}
<strong>{$theme->get_name()}</strong><br>
{$my_team->get_nbResExercisesByTheme($theme->get_id())}/{$theme->get_nbExercices()}<br>
{/foreach}
</div>
{/block}