modifié: core/lib/Thelia/Config/Resources/loop.xml nouveau fichier: core/lib/Thelia/Core/Template/Loop/ImportExportCategory.php nouveau fichier: core/lib/Thelia/Core/Template/Loop/ImportExportType.php nouveau fichier: core/lib/Thelia/Form/ExportForm.php modifié: core/lib/Thelia/Model/Base/ImportExportType.php modifié: core/lib/Thelia/Model/Base/ImportExportTypeQuery.php modifié: core/lib/Thelia/Model/Map/ImportExportTypeTableMap.php modifié: local/config/schema.xml modifié: setup/thelia.sql modifié: templates/backOffice/default/export.html
108 lines
3.8 KiB
HTML
108 lines
3.8 KiB
HTML
{extends file="admin-layout.tpl"}
|
|
|
|
{block name="no-return-functions"}
|
|
{$admin_current_location = 'tools'}
|
|
{/block}
|
|
|
|
{block name="page-title"}{intl l='Exports'}{/block}
|
|
|
|
{block name="check-resource"}admin.export{/block}
|
|
{block name="check-access"}view{/block}
|
|
|
|
{block name="main-content"}
|
|
|
|
{form name="thelia.admin.export"}
|
|
<form id="export-form" method="post" {form_enctype form=$form} class="clearfix">
|
|
<div class="configuration">
|
|
|
|
<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>{intl l="Exports"}</li>
|
|
</ul>
|
|
</nav>
|
|
|
|
{module_include location='tools_top'}
|
|
|
|
{loop name="import-export-category" type="import-export-category"}
|
|
{if $LOOP_COUNT % 3}
|
|
<div class="row">
|
|
{/if}
|
|
|
|
<div class="col-md-4">
|
|
<div class="menu-list-table general-block-decorator">
|
|
<div class="table-responsive">
|
|
<table class="table table-striped table-condensed">
|
|
<caption>
|
|
<!-- add up and down arrows -->
|
|
{$TITLE}
|
|
</caption>
|
|
<thead>
|
|
<tr>
|
|
<th class="col-md-10">
|
|
{intl l="Name"}
|
|
</th>
|
|
<th class="col-md-2">
|
|
{intl l="Position"}
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a href="{url path="/admin/export"}/">n</a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{if $LOOP_COUNT % 3}
|
|
</div>
|
|
{/if}
|
|
{/loop}
|
|
|
|
{module_include location='configuration_bottom'}
|
|
</div>
|
|
</div>
|
|
</form>
|
|
{/form}
|
|
|
|
{/block}
|
|
|
|
|
|
{block name="javascript-initialization"}
|
|
{javascripts file='assets/js/bootstrap-switch/bootstrap-switch.js'}
|
|
<script src="{$asset_url}"></script>
|
|
{/javascripts}
|
|
{/block}
|
|
|
|
{block name="javascript-last-call"}
|
|
<!-- -->
|
|
<script>
|
|
$(document).ready(function() {
|
|
var compression_switch = $(".export-compression-switch");
|
|
var compression_row = $(".export-compression-selection-row");
|
|
|
|
compression_switch.on("switch-change", function(e, data) {
|
|
var is_checked = data.value;
|
|
|
|
if (is_checked) {
|
|
compression_row.show();
|
|
} else {
|
|
compression_row.hide();
|
|
}
|
|
});
|
|
|
|
if ($("input[type=checkbox]", compression_switch).is(":checked")) {
|
|
compression_row.show();
|
|
} else {
|
|
compression_row.hide();
|
|
}
|
|
});
|
|
</script>
|
|
{module_include location='configuration-js'}
|
|
{/block} |