%PDF- %PDF-
Direktori : /proc/thread-self/root/www/varak.net/losik.varak.net/templates/ |
Current File : //proc/thread-self/root/www/varak.net/losik.varak.net/templates/csv-prepare.tpl |
{extends file='layout.tpl'} {block name=content} <div class="col-lg-12"> <table width="100%" border="0"> <thead> <tr> <th>Závod</th> <th>Akce</th> </tr> </thead> <tbody> {foreach $sessMatches as $match} <tr> <td>{$match.name}</td> <td> <a href="{$baseUrl}/index.php?action=session-csv&id={$match.guid}" class="btn btn-default">CSV</a> <a href="{$baseUrl}/index.php?action=session-presence&id={$match.guid}" class="btn btn-default">Prezence</a> <a href="{$baseUrl}/index.php?action=session-delete&id={$match.guid}" class="btn btn-xs btn-danger">Smazat</a> </td> </tr> {/foreach} </tbody> </table> <hr> <form action="{$baseUrl}/index.php?action=csv-prepare-process" method="post" enctype="multipart/form-data"> <table width="100%" border="0"> <tr> <td width="30%"><label for="name">Název závodu (pro identifikaci)</label></td> <td><input type="text" name="name" id="name" maxlength="60" size="60"></td> </tr> <tr> <td><label for="import-file">Seznam závodníků ze ZbraneKvalitne</label></td> <td><input type="file" id="import-file" name="file"></td> </tr> <tr> <td><label for="import-squads">Rozdělení do squadů</label></td> <td><input type="file" id="import-squads" name="squads"></td> </tr> <tr> <td> </td> <td><input type="submit" name="submit" id="import-submit" value="Send"></td> </tr> </table> </form> </div> {/block}