From d25067a0645c84a1480e671f0749980e352e9e9c Mon Sep 17 00:00:00 2001 From: Dinesh Salunke Date: Mon, 6 Nov 2023 14:36:07 +0530 Subject: [PATCH 01/10] refactor: style the customer sign in for the header --- .../ps_customersignin/ps_customersignin.tpl | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/modules/ps_customersignin/ps_customersignin.tpl b/modules/ps_customersignin/ps_customersignin.tpl index 0383acf..35df7fd 100644 --- a/modules/ps_customersignin/ps_customersignin.tpl +++ b/modules/ps_customersignin/ps_customersignin.tpl @@ -23,15 +23,19 @@ * International Registered Trademark & Property of PrestaShop SA *}
-
+
{if $logged} - - {l s='Sign out' d='Shop.Theme.Actions'} + + + + + + {else} Date: Mon, 6 Nov 2023 14:36:23 +0530 Subject: [PATCH 02/10] refactor: style the link block --- modules/ps_linklist/views/templates/hook/linkblock.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/ps_linklist/views/templates/hook/linkblock.tpl b/modules/ps_linklist/views/templates/hook/linkblock.tpl index 61a1bbb..c319477 100644 --- a/modules/ps_linklist/views/templates/hook/linkblock.tpl +++ b/modules/ps_linklist/views/templates/hook/linkblock.tpl @@ -22,16 +22,16 @@ * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} -
+
{foreach $linkBlocks as $linkBlock} -
+
{$linkBlock.title}
-
    +
      {foreach $linkBlock.links as $link} -
    • - +
    • + {$link.title}
    • From 8a849a7941a7b27cbcdc19e7c2753268060d03b6 Mon Sep 17 00:00:00 2001 From: Dinesh Salunke Date: Mon, 6 Nov 2023 14:36:54 +0530 Subject: [PATCH 03/10] refactor: add spacer in the breadcrumb --- templates/_partials/breadcrumb.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/_partials/breadcrumb.tpl b/templates/_partials/breadcrumb.tpl index 037ceff..17ffcec 100644 --- a/templates/_partials/breadcrumb.tpl +++ b/templates/_partials/breadcrumb.tpl @@ -31,9 +31,9 @@ {$path.title} - - / - + {if !$smarty.foreach.breadcrumb.last} + / + {/if} {/block} From 440be0218ede3e78c407c3096800b4663444227e Mon Sep 17 00:00:00 2001 From: Dinesh Salunke Date: Mon, 6 Nov 2023 14:37:11 +0530 Subject: [PATCH 04/10] refactor: add some basic styling for the form fields and errors --- templates/_partials/form-errors.tpl | 4 ++-- templates/_partials/form-fields.tpl | 24 ++++++------------------ 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/templates/_partials/form-errors.tpl b/templates/_partials/form-errors.tpl index 73e3948..8b9d251 100644 --- a/templates/_partials/form-errors.tpl +++ b/templates/_partials/form-errors.tpl @@ -23,11 +23,11 @@ * International Registered Trademark & Property of PrestaShop SA *} {if $errors|count} -
      +
      {block name='form_errors'}
        {foreach $errors as $error} -
      • {$error|nl2br nofilter}
      • +
      • {$error|nl2br nofilter}
      • {/foreach}
      {/block} diff --git a/templates/_partials/form-fields.tpl b/templates/_partials/form-fields.tpl index 32ffe5a..ce2d197 100644 --- a/templates/_partials/form-fields.tpl +++ b/templates/_partials/form-fields.tpl @@ -30,8 +30,8 @@ {else} -
      -