%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/thread-self/root/www/varak.net/losik.varak.net/templates/
Upload File :
Create Path :
Current File : //proc/thread-self/root/www/varak.net/losik.varak.net/templates/match-detail.tpl

{extends file='layout.tpl'}
{block name=content}
    <h2>{$matchName}</h2>
    <div class="col-lg-12">
        {assign var=pos value=1}
        <div class="col-lg12" style="margin-top: 12px;" id="matchResults">
            <table border="0">
                <tr>
                    <th>&nbsp;</th>
                    <th>Name</th>
                    <th>Division</th>
                    <th>Percent total</th>
                    {foreach $stagenames as $stagenm}
                        <th>{$stagenm->name}</th>
                    {/foreach}
                </tr>
                {foreach $results as $result}
                    <tr>
                        <td>{$pos++}</td>
                        <td>{$result->name}</td>
                        <td>{$result->division}</td>
                        <td>{$result->finalPercent}</td>
                        {foreach $result->stages as $stage}
                            <td>{$stage}</td>
                        {/foreach}
                    </tr>
                {/foreach}
            </table>
            <a href="{$baseUrl}/detailed/{$uuid}.html" target="_blank" class="btn btn-sm btn-info">Detailní výsledky</a>
            {*<a href="{$baseUrl}/index.php?action=results-file&amp;format=xls&amp;id={$id}" class="btn btn-sm btn-info">XLS soubor</a>*}
            {if $isAdmin}
                <a href="{$baseUrl}/index.php?action=mail-list&amp;id={$id}" class="btn btn-sm btn-info">Seznam mailů</a>
                <a href="{$baseUrl}/index.php?action=results-file&amp;format=xlsx&amp;id={$id}" class="btn btn-sm btn-info">XLSX soubor</a>
                <a href="{$baseUrl}/index.php?action=generate-detailed-results&amp;id={$id}" target="_blank" class="btn btn-sm btn-warning">Regenerovat detailní výsledky</a>
            {/if}
        </div>
    </div>

{/block}
{block name=head}
<style>
    th
    {
        padding-right: 10px;
    }
    td
    {
        padding-right: 10px;
    }
</style>
{/block}

Zerion Mini Shell 1.0