From 2927db78f8d97659921fc6ee39a52395bca4903b Mon Sep 17 00:00:00 2001 From: rommmka Date: Thu, 29 Dec 2022 16:58:03 +0200 Subject: [PATCH] Virtual theme: visual fix all button added --- Block/Adminhtml/Config/Form/Field/FixAll.php | 25 +++++++++++++++++++ etc/adminhtml/system.xml | 4 +++ .../config/field/virtual_check.phtml | 12 +++++---- 3 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 Block/Adminhtml/Config/Form/Field/FixAll.php diff --git a/Block/Adminhtml/Config/Form/Field/FixAll.php b/Block/Adminhtml/Config/Form/Field/FixAll.php new file mode 100644 index 0000000..85310ad --- /dev/null +++ b/Block/Adminhtml/Config/Form/Field/FixAll.php @@ -0,0 +1,25 @@ + + +
+ +
+ + + +HTML; + } +} diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml index dbaaacc..3c3d3e3 100644 --- a/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -24,6 +24,10 @@ Swissup\Core\Block\Adminhtml\Config\Form\Field\VirtualCheck + + + Swissup\Core\Block\Adminhtml\Config\Form\Field\FixAll + diff --git a/view/adminhtml/templates/config/field/virtual_check.phtml b/view/adminhtml/templates/config/field/virtual_check.phtml index 65c932a..4aefd50 100644 --- a/view/adminhtml/templates/config/field/virtual_check.phtml +++ b/view/adminhtml/templates/config/field/virtual_check.phtml @@ -1,10 +1,11 @@