Admin part: can import, export and drop themes
This commit is contained in:
parent
4d1a860a01
commit
ffe0c2a7c4
8 changed files with 217 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{extends file="layout-nav.tpl"}
|
||||
{extends file="admin/layout.tpl"}
|
||||
{block name=head}
|
||||
<link href="/css/common.css" rel="stylesheet">
|
||||
{/block}
|
||||
|
|
@ -6,11 +6,11 @@
|
|||
<h1>
|
||||
Import d'exercices
|
||||
</h1>
|
||||
<form action="/exercices/import" method="post" enctype="multipart/form-data">
|
||||
<form action="/{$SALT_ADMIN}/themes/import" method="post" enctype="multipart/form-data">
|
||||
<div class="form-group">
|
||||
<label for="inputFile">File to import:</label>
|
||||
<label for="inputFile">Fichier XML à importer :</label>
|
||||
<input type="file" id="inputFile" name="inputFile">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-default">Submit</button>
|
||||
<button type="submit" class="btn btn-primary">Importer</button>
|
||||
</form>
|
||||
{/block}
|
||||
|
|
|
|||
Reference in a new issue