From 0f74646524cf4754c12da4dc67b227608a6b5f87 Mon Sep 17 00:00:00 2001 From: Kevin Granger Date: Thu, 28 Nov 2013 19:21:55 +0100 Subject: [PATCH] // import --- admin-dev/themes/default/css/admin-theme.css | 2 +- .../scss/admin-theme/_admin-toolbar.sass | 2 + .../controllers/import/helpers/form/form.tpl | 411 +++++++++--------- .../controllers/import/helpers/view/view.tpl | 39 +- controllers/admin/AdminImportController.php | 4 +- 5 files changed, 216 insertions(+), 242 deletions(-) diff --git a/admin-dev/themes/default/css/admin-theme.css b/admin-dev/themes/default/css/admin-theme.css index bf46cdfaf..3718bd052 100644 --- a/admin-dev/themes/default/css/admin-theme.css +++ b/admin-dev/themes/default/css/admin-theme.css @@ -182,7 +182,7 @@ a .icon-rotate-90:before, a .icon-rotate-180:before, a .icon-rotate-270:before, .icon-th-list:before { content: "\f00b"; } -.icon-ok:before { content: "\f00c"; } +.icon-ok:before, .bootstrap .process-icon-ok:before { content: "\f00c"; } .icon-remove:before, .bootstrap .process-icon-cancel:before { content: "\f00d"; } diff --git a/admin-dev/themes/default/scss/admin-theme/_admin-toolbar.sass b/admin-dev/themes/default/scss/admin-theme/_admin-toolbar.sass index 2c9dc972b..93032054d 100644 --- a/admin-dev/themes/default/scss/admin-theme/_admin-toolbar.sass +++ b/admin-dev/themes/default/scss/admin-theme/_admin-toolbar.sass @@ -70,6 +70,8 @@ .process-icon-save, .process-icon-save-and-stay, .process-icon-save-and-preview @extend .icon-save +.process-icon-ok + @extend .icon-ok .process-icon-cancel @extend .icon-remove .process-icon-back diff --git a/admin-dev/themes/default/template/controllers/import/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/import/helpers/form/form.tpl index 52837ce97..9541926e9 100644 --- a/admin-dev/themes/default/template/controllers/import/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/import/helpers/form/form.tpl @@ -49,19 +49,11 @@
-
- +
- {foreach $entities AS $entity => $i }
-
  • {l s='Note that the category import does not support categories of the same name.'}
  • {l s='Note that you can have several products with the same reference.'}
-

{l s='Importing Supply Order Details will reset products ordered, if there are any.'}

-
- -
- +
{l s='or'} - @@ -127,131 +92,45 @@
- - -