This repository has been archived on 2025-06-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
server/onyx/tpl/bootstrap/rank.tpl
2015-01-23 01:59:26 +01:00

20 lines
457 B
Smarty

<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>