From 7287fb79591a457951964189e4a4230d4ef9b23d Mon Sep 17 00:00:00 2001 From: TheCoreDev Date: Wed, 8 Sep 2021 23:31:54 +0200 Subject: [PATCH] Finalisation du module "DeliveryModulesInFooter" --- .../frontOffice/default/assets/style.css | 15 +++++++-------- .../templates/frontOffice/default/footer.html | 6 +++--- templates/frontOffice/default2020/layout.tpl | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/local/modules/DeliveryModulesInFooter/templates/frontOffice/default/assets/style.css b/local/modules/DeliveryModulesInFooter/templates/frontOffice/default/assets/style.css index cf2b6e8c..1aeda9de 100644 --- a/local/modules/DeliveryModulesInFooter/templates/frontOffice/default/assets/style.css +++ b/local/modules/DeliveryModulesInFooter/templates/frontOffice/default/assets/style.css @@ -1,12 +1,11 @@ -#delivery-modes { - display: flex; - justify-content: space-between; +#delivery-modes ul { + width: 100%; + display: inline-flex; align-items: center; - flex-wrap: wrap; - margin-bottom: 5px; + justify-content: space-between; } - -#delivery-modes .item { - margin: 10px 0; +#delivery-modes img { + width: 85px; + vertical-align: center; } \ No newline at end of file diff --git a/local/modules/DeliveryModulesInFooter/templates/frontOffice/default/footer.html b/local/modules/DeliveryModulesInFooter/templates/frontOffice/default/footer.html index c5de5570..1b1473e4 100644 --- a/local/modules/DeliveryModulesInFooter/templates/frontOffice/default/footer.html +++ b/local/modules/DeliveryModulesInFooter/templates/frontOffice/default/footer.html @@ -1,9 +1,9 @@
-
    - {loop type="module" active="yes" module_type="2" name="delivery_list"} +
      + {loop type="module" active="yes" module_type="2" name="delivery_list" order="manual"} {loop type="image" name="delivery_image" source="module" source_id={$ID}} -
    • +
    • {$TITLE}
      diff --git a/templates/frontOffice/default2020/layout.tpl b/templates/frontOffice/default2020/layout.tpl index cda8a3e3..9bfbc9e3 100644 --- a/templates/frontOffice/default2020/layout.tpl +++ b/templates/frontOffice/default2020/layout.tpl @@ -227,7 +227,7 @@ GNU General Public License : http://www.gnu.org/licenses/
      {hookblock name="main.footer-body" fields="id,class,title,content"} {forhook rel="main.footer-body"} -
      +

      {$title}