New templates
This commit is contained in:
parent
af58e84324
commit
33935063a4
4 changed files with 35 additions and 4 deletions
|
|
@ -7,13 +7,29 @@
|
|||
{block name=content}
|
||||
<!-- TODO: resolved number -->
|
||||
<div>
|
||||
<h1>Exercice {$Number} - X</h1>
|
||||
<h1>Exercice 0 - X</h1>
|
||||
<ul>
|
||||
<li>Difficulté : {$Exercice->statement}</li>
|
||||
<li>Gain :</li>
|
||||
<!-- Dowloads files -->
|
||||
<li>Description</li>
|
||||
<!-- Input solution -->
|
||||
<ul>
|
||||
</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}
|
||||
|
|
|
|||
Reference in a new issue