138 lines
6.9 KiB
HTML
138 lines
6.9 KiB
HTML
{extends file="admin-layout.tpl"}
|
|
|
|
{block name="page-title"}{intl l='Edit a shipping configuration'}{/block}
|
|
|
|
{block name="check-permissions"}admin.configuration.shipping-configuration.edit{/block}
|
|
|
|
{block name="main-content"}
|
|
<div class="shipping-configuration edit-shipping-configuration">
|
|
|
|
<div id="wrapper" class="container">
|
|
|
|
<ul class="breadcrumb">
|
|
<li><a href="{url path='/admin/home'}">{intl l="Home"}</a></li>
|
|
<li><a href="{url path='/admin/configuration'}">{intl l="Configuration"}</a></li>
|
|
<li><a href="{url path='/admin/configuration/shipping_configuration'}">{intl l="Shipping configuration"}</a></li>
|
|
<li>{intl l='Editing shipping configuration "%name"' name="{$TITLE}"}</li>
|
|
</ul>
|
|
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="general-block-decorator">
|
|
|
|
<div class="col-md-12 title title-without-tabs">
|
|
{intl l='Edit shipping configuration %title' title=$TITLE}
|
|
</div>
|
|
|
|
<div class="form-container clearfix">
|
|
<div class="col-md-4">
|
|
|
|
|
|
|
|
<form method="POST" action="">
|
|
<label class="control-label" for="">{intl l="Country"}</label>
|
|
|
|
<div class="input-group">
|
|
<select name="" id="" data-toggle="selectpicker">
|
|
<option value="1">France</option>
|
|
<option value="2">Monaco</option>
|
|
<option value="3">Nouvelle-Calédonie</option>
|
|
</select>
|
|
<span class="input-group-btn">
|
|
<button type="submit" class="btn btn-default btn-primary"><span class="glyphicon glyphicon-plus-sign"></span> {intl l="Add this country"}</button>
|
|
</span>
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-8">
|
|
<div class="table-responsive">
|
|
<table class="table table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>{intl l="Country"}</th>
|
|
<th>{intl l="Actions"}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Wallis-et-Futuna</td>
|
|
<td>
|
|
<a class="btn btn-default btn-xs" title="{intl l='Delete this country'}" href="#delete_country_dialog" data-id="{$ID}" data-toggle="modal">
|
|
<span class="glyphicon glyphicon-trash"></span>
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Polynésie française</td>
|
|
<td>
|
|
<a class="btn btn-default btn-xs" title="{intl l='Delete this country'}" href="#delete_country_dialog" data-id="{$ID}" data-toggle="modal">
|
|
<span class="glyphicon glyphicon-trash"></span>
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>USA - Alabama</td>
|
|
<td>
|
|
<a class="btn btn-default btn-xs" title="{intl l='Delete this country'}" href="#delete_zone_dialog" data-id="{$ID}" data-toggle="modal">
|
|
<span class="glyphicon glyphicon-trash"></span>
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<tfoot>
|
|
<tr class="active">
|
|
<td colspan="2">
|
|
<form method="POST" action="">
|
|
<label for="" class="control-label">{intl l="Freight"}</label>
|
|
<div class="input-group">
|
|
<input type="text" class="form-control" name="" id="" placeholder="Freight value">
|
|
<span class="input-group-addon">€</span>
|
|
<span class="input-group-btn">
|
|
<button type="submit" class="btn btn-default btn-primary"><span class="glyphicon glyphicon-check"></span></button>
|
|
</span>
|
|
</div>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{* Delete related content confirmation dialog *}
|
|
|
|
{capture "delete_country_dialog"}
|
|
|
|
{/capture}
|
|
|
|
{include
|
|
file = "includes/generic-confirm-dialog.html"
|
|
|
|
dialog_id = "delete_country_dialog"
|
|
dialog_title = {intl l="Remove country"}
|
|
dialog_message = {intl l="Do you really want to remove this country ?"}
|
|
|
|
form_action = {url path=''}
|
|
form_content = {$smarty.capture.delete_country_dialog nofilter}
|
|
}
|
|
{/block}
|
|
|
|
{block name="javascript-initialization"}
|
|
{javascripts file='assets/js/main.js'}
|
|
<script src="{$asset_url}"></script>
|
|
{/javascripts}
|
|
{javascripts file='assets/js/bootstrap-select/bootstrap-select.js'}
|
|
<script src="{$asset_url}"></script>
|
|
{/javascripts}
|
|
{/block} |