Plein de trucs fonctionnent maintenant
This commit is contained in:
parent
8758598104
commit
e3384eaa6b
22 changed files with 321 additions and 352 deletions
14
onyx/tpl/bootstrap/teams/theme.tpl
Normal file
14
onyx/tpl/bootstrap/teams/theme.tpl
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{extends file="teams/layout.tpl"}
|
||||
|
||||
{block name=content}
|
||||
<div class="jumbotron">
|
||||
<h3 style="font-variant: small-caps">{$cur_theme->get_name()}</h3>
|
||||
<p>
|
||||
{foreach from=$cur_theme->get_exercicesOrdered() item=exercice}
|
||||
<a class="btn btn-{if $exercice->has_solved($my_team)}success{elseif $exercice->is_unlocked($my_team)}primary{else}danger{/if}" role="button" href="/{$SALT_USER}/{$my_team->get_id()}/{$cur_theme->get_id()}-{$cur_theme->get_name()}/{$exercice->get_id()}">{$exercice->get_name()}</a>
|
||||
{/foreach}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{block name=exercices}{/block}
|
||||
{/block}
|
||||
Reference in a new issue