Lobby at challenge end
This commit is contained in:
parent
3f15b7187e
commit
2a9cac24f7
5 changed files with 75 additions and 21 deletions
20
onyx/tpl/bootstrap/rank.tpl
Normal file
20
onyx/tpl/bootstrap/rank.tpl
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<table class="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Team</th>
|
||||
<th>Slogan</th>
|
||||
<th>Points</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$rank item=t key=k}
|
||||
<tr{if $t->id == $my_team->id} class="active" style="font-weight: bold"{/if}>
|
||||
<th>{$t->get_rank()}</th>
|
||||
<td>{$t->get_name()}</td>
|
||||
<td>{$t->slogan}</td>
|
||||
<td>{$t->get_pts()}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in a new issue