Initial commit
This commit is contained in:
95
templates/backOffice/default/import-page.html
Normal file
95
templates/backOffice/default/import-page.html
Normal file
@@ -0,0 +1,95 @@
|
||||
{extends file="admin-layout.tpl"}
|
||||
|
||||
{block name="no-return-functions"}
|
||||
{$admin_current_location = 'tools'}
|
||||
{/block}
|
||||
|
||||
{block name="page-title"}{intl l='Import'}: {$TITLE}{/block}
|
||||
|
||||
{block name="check-resource"}admin.import{/block}
|
||||
{block name="check-access"}view{/block}
|
||||
|
||||
{block name="main-content"}
|
||||
{loop type="import" name="import" id=$importId}
|
||||
<div id="wrapper" class="container">
|
||||
<nav>
|
||||
<ul class="breadcrumb">
|
||||
<li>
|
||||
<a href="{url path='admin/home'}">{intl l='Home'}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{url path='admin/tools'}">{intl l='Tools'}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{url path='admin/import'}">{intl l="Imports"}</a>
|
||||
</li>
|
||||
<li>
|
||||
{intl l="Import"} : {$TITLE}
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
{if $general_error}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="alert alert-danger">{$general_error}</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{flash type="thelia.import.error"}
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class=" alert alert-danger">
|
||||
{$MESSAGE nofilter}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/flash}
|
||||
|
||||
{flash type="thelia.import.success"}
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class=" alert alert-success">
|
||||
{$MESSAGE nofilter}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/flash}
|
||||
|
||||
{form name="thelia.import"}
|
||||
<form action="{$URL nofilter}" method="post" {form_enctype}>
|
||||
{form_hidden_fields}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="general-block-decorator">
|
||||
<div class="title title-without-tabs">
|
||||
{intl l='Import'}: {$TITLE}
|
||||
</div>
|
||||
|
||||
{if $form_error}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="alert alert-danger">{$form_error_message}</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{include 'includes/import-form-body.html'}
|
||||
|
||||
<div>
|
||||
<button class="btn btn-primary" type="submit" title="{intl l="Import this file"}">{intl l="Import this file"}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{/form}
|
||||
</div>
|
||||
{/loop}
|
||||
{/block}
|
||||
|
||||
{block name="javascript-last-call"}
|
||||
{hook name="import.js" location="import-js" }
|
||||
{/block}
|
||||
Reference in New Issue
Block a user