From bb896b56abcb634f4dcca340f23cf54b7808fdc0 Mon Sep 17 00:00:00 2001 From: mespeche Date: Fri, 13 Sep 2013 11:57:49 +0200 Subject: [PATCH] Insert pagination inside tfoot --- .../default/assets/less/thelia/tables.less | 19 ++++++ templates/admin/default/customers.html | 60 ++++++++++--------- 2 files changed, 51 insertions(+), 28 deletions(-) diff --git a/templates/admin/default/assets/less/thelia/tables.less b/templates/admin/default/assets/less/thelia/tables.less index d8b3a9e4e..1b4645ebd 100755 --- a/templates/admin/default/assets/less/thelia/tables.less +++ b/templates/admin/default/assets/less/thelia/tables.less @@ -1,3 +1,22 @@ +tfoot{ + + .pagination{ + margin: 0; + } + +} + +.table-condensed { + tfoot { + > tr { + > th, + > td { + padding: 20px 5px 5px; + } + } + } +} + .table-striped { caption { diff --git a/templates/admin/default/customers.html b/templates/admin/default/customers.html index a43c59131..54a1075bf 100644 --- a/templates/admin/default/customers.html +++ b/templates/admin/default/customers.html @@ -102,6 +102,38 @@ {/loop} + + + + +
+ +
+ + + + {/ifloop} @@ -110,34 +142,6 @@ {module_include location='customer_bottom'} -
-
- -
    - {if $customer_page != 1} -
  • «
  • - {else} -
  • «
  • - {/if} - - {pageloop rel="customer_list"} - {if $PAGE != $CURRENT} -
  • {$PAGE}
  • - - {else} -
  • {$PAGE}
  • - {/if} - - {if $PAGE == $LAST && $LAST != $CURRENT} -
  • »
  • - {else} -
  • »
  • - {/if} - {/pageloop} -
- -
-
{* Adding a new Category *}