add admin templates

This commit is contained in:
Etienne Roudeix
2013-09-24 09:15:41 +02:00
parent ac40705c80
commit fbd91c1925
2 changed files with 354 additions and 343 deletions

View File

@@ -30,6 +30,7 @@
<div class="tab-content"> <div class="tab-content">
<div class="tab-pane fade active in" id="cart"> <div class="tab-pane fade active in" id="cart">
<div class="table-responsive">
<table class="table table-striped table-condensed table-left-aligned"> <table class="table table-striped table-condensed table-left-aligned">
<caption class="clearfix"> <caption class="clearfix">
{intl l='Information about order 01201303540354'} {intl l='Information about order 01201303540354'}
@@ -70,9 +71,11 @@
</tr> </tr>
</tfoot> </tfoot>
</table> </table>
</div>
</div> <!-- #cart --> </div> <!-- #cart -->
<div class="tab-pane fade" id="bill"> <div class="tab-pane fade" id="bill">
<div class="table-responsive">
<table class="table table-striped table-condensed table-left-aligned"> <table class="table table-striped table-condensed table-left-aligned">
<caption> <caption>
{intl l='Information about the bill'} {intl l='Information about the bill'}
@@ -95,6 +98,7 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
</div> <!-- #bill --> </div> <!-- #bill -->
<div class="tab-pane fade" id="carriage"> <div class="tab-pane fade" id="carriage">
@@ -116,7 +120,7 @@
</div> <!-- #carriage --> </div> <!-- #carriage -->
<div class="tab-pane fade" id="settlement"> <div class="tab-pane fade" id="settlement">
<div class="table-responsive">
<table class="table table-striped table-condensed table-left-aligned"> <table class="table table-striped table-condensed table-left-aligned">
<caption class="clearfix"> <caption class="clearfix">
{intl l='Information about the settlement'} {intl l='Information about the settlement'}
@@ -156,12 +160,13 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
</div> <!-- #settlement --> </div> <!-- #settlement -->
<div class="tab-pane fade clearfix" id="address"> <div class="tab-pane fade clearfix" id="address">
<div class="col-md-6"> <div class="col-md-6">
<div class="table-responsive">
<table class="table table-striped table-condensed table-left-aligned"> <table class="table table-striped table-condensed table-left-aligned">
<caption class="clearfix"> <caption class="clearfix">
{intl l='Billing address'} {intl l='Billing address'}
@@ -217,8 +222,10 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div>
<div class="col-md-6"> <div class="col-md-6">
<div class="table-responsive">
<table class="table table-striped table-condensed table-left-aligned"> <table class="table table-striped table-condensed table-left-aligned">
<caption class="clearfix"> <caption class="clearfix">
{intl l='Delivery address'} {intl l='Delivery address'}
@@ -274,10 +281,12 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div>
</div> <!-- #address --> </div> <!-- #address -->
<div class="tab-pane fade clearfix" id="supplements"> <div class="tab-pane fade clearfix" id="supplements">
<div class="table-responsive">
<table class="table table-striped table-condensed table-left-aligned"> <table class="table table-striped table-condensed table-left-aligned">
<caption> <caption>
{intl l='Further information'} {intl l='Further information'}
@@ -322,8 +331,8 @@
<td><a href="#" class="btn btn-default btn-primary"><span class="glyphicon glyphicon-cloud-download"></span> {intl l='Download delivery to pdf'}</a></td> <td><a href="#" class="btn btn-default btn-primary"><span class="glyphicon glyphicon-cloud-download"></span> {intl l='Download delivery to pdf'}</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
</div> <!-- #supplements --> </div> <!-- #supplements -->
</div> </div>

View File

@@ -19,6 +19,7 @@
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<div class="general-block-decorator"> <div class="general-block-decorator">
<div class="table-responsive">
<table class="table table-striped table-condensed table-left-aligned"> <table class="table table-striped table-condensed table-left-aligned">
<caption class="clearfix"> <caption class="clearfix">
{intl l='Orders'} {intl l='Orders'}
@@ -59,7 +60,7 @@
<div class="btn-group"> <div class="btn-group">
{loop type="auth" name="can_change" roles="ADMIN" permissions="admin.orders.edit"} {loop type="auth" name="can_change" roles="ADMIN" permissions="admin.orders.edit"}
<a class="btn btn-default btn-xs" title="{intl l='Edit this order'}" href="{url path='/admin/order/update/$ID'}"><span class="glyphicon glyphicon-edit"></span></a> <a class="btn btn-default btn-xs" title="{intl l='Edit this order'}" href="{url path="/admin/order/update/$ID"}"><span class="glyphicon glyphicon-edit"></span></a>
{/loop} {/loop}
{loop type="auth" name="can_delete" roles="ADMIN" permissions="admin.orders.delete"} {loop type="auth" name="can_delete" roles="ADMIN" permissions="admin.orders.delete"}
@@ -83,7 +84,7 @@
<div class="btn-group"> <div class="btn-group">
{loop type="auth" name="can_change" roles="ADMIN" permissions="admin.orders.edit"} {loop type="auth" name="can_change" roles="ADMIN" permissions="admin.orders.edit"}
<a class="btn btn-default btn-xs" title="{intl l='Edit this order'}" href="{url path='/admin/order/update/$ID'}"><span class="glyphicon glyphicon-edit"></span></a> <a class="btn btn-default btn-xs" title="{intl l='Edit this order'}" href="{url path="/admin/order/update/$ID"}"><span class="glyphicon glyphicon-edit"></span></a>
{/loop} {/loop}
{loop type="auth" name="can_delete" roles="ADMIN" permissions="admin.orders.delete"} {loop type="auth" name="can_delete" roles="ADMIN" permissions="admin.orders.delete"}
@@ -107,7 +108,7 @@
<div class="btn-group"> <div class="btn-group">
{loop type="auth" name="can_change" roles="ADMIN" permissions="admin.orders.edit"} {loop type="auth" name="can_change" roles="ADMIN" permissions="admin.orders.edit"}
<a class="btn btn-default btn-xs" title="{intl l='Edit this order'}" href="{url path='/admin/order/update/$ID'}"><span class="glyphicon glyphicon-edit"></span></a> <a class="btn btn-default btn-xs" title="{intl l='Edit this order'}" href="{url path="/admin/order/update/$ID"}"><span class="glyphicon glyphicon-edit"></span></a>
{/loop} {/loop}
{loop type="auth" name="can_delete" roles="ADMIN" permissions="admin.orders.delete"} {loop type="auth" name="can_delete" roles="ADMIN" permissions="admin.orders.delete"}
@@ -130,6 +131,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
{module_include location='orders_bottom'} {module_include location='orders_bottom'}