Add admin pages: import_users and import_exercices
This commit is contained in:
parent
1733afb963
commit
ef983a3a82
5 changed files with 180 additions and 79 deletions
16
onyx/tpl/bootstrap/admin/import_exercices.tpl
Normal file
16
onyx/tpl/bootstrap/admin/import_exercices.tpl
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{extends file="layout-nav.tpl"}
|
||||
{block name=head}
|
||||
<link href="/css/home.css" rel="stylesheet">
|
||||
{/block}
|
||||
{block name=content}
|
||||
<h1>
|
||||
Import d'exercices
|
||||
</h1>
|
||||
<form action="/exercices/import" method="post" enctype="multipart/form-data">
|
||||
<div class="form-group">
|
||||
<label for="inputFile">File to import:</label>
|
||||
<input type="file" id="inputFile" name="inputFile">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-default">Submit</button>
|
||||
</form>
|
||||
{/block}
|
||||
16
onyx/tpl/bootstrap/admin/import_users.tpl
Normal file
16
onyx/tpl/bootstrap/admin/import_users.tpl
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{extends file="layout-nav.tpl"}
|
||||
{block name=head}
|
||||
<link href="/css/home.css" rel="stylesheet">
|
||||
{/block}
|
||||
{block name=content}
|
||||
<h1>
|
||||
Import d'utilisateurs
|
||||
</h1>
|
||||
<form action="/users/import" method="post" enctype="multipart/form-data">
|
||||
<div class="form-group">
|
||||
<label for="inputFile">File to import:</label>
|
||||
<input type="file" id="inputFile" name="inputFile">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-default">Submit</button>
|
||||
</form>
|
||||
{/block}
|
||||
Reference in a new issue