From 20052c7dd295464c7782350628701675b1f07db7 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 15 May 2016 21:20:46 -0400 Subject: User import is now a popover --- app/Template/user_import/show.php | 41 +++++++++++++++++++++++++++++++++ app/Template/user_import/step1.php | 46 -------------------------------------- 2 files changed, 41 insertions(+), 46 deletions(-) create mode 100644 app/Template/user_import/show.php delete mode 100644 app/Template/user_import/step1.php (limited to 'app/Template/user_import') diff --git a/app/Template/user_import/show.php b/app/Template/user_import/show.php new file mode 100644 index 00000000..54a66237 --- /dev/null +++ b/app/Template/user_import/show.php @@ -0,0 +1,41 @@ + + +
+ +
+ +
+ form->csrf() ?> + + form->label(t('Delimiter'), 'delimiter') ?> + form->select('delimiter', $delimiters, $values) ?> + + form->label(t('Enclosure'), 'enclosure') ?> + form->select('enclosure', $enclosures, $values) ?> + + form->label(t('CSV File'), 'file') ?> + form->file('file', $errors) ?> + +

text->bytes($max_size) : $max_size ?>

+ +
+ + + url->link(t('cancel'), 'user', 'index', array(), false, 'close-popover') ?> +
+
diff --git a/app/Template/user_import/step1.php b/app/Template/user_import/step1.php deleted file mode 100644 index 592587a3..00000000 --- a/app/Template/user_import/step1.php +++ /dev/null @@ -1,46 +0,0 @@ -
- - -
- form->csrf() ?> - - form->label(t('Delimiter'), 'delimiter') ?> - form->select('delimiter', $delimiters, $values) ?> - - form->label(t('Enclosure'), 'enclosure') ?> - form->select('enclosure', $enclosures, $values) ?> - - form->label(t('CSV File'), 'file') ?> - form->file('file', $errors) ?> - -

text->bytes($max_size) : $max_size ?>

- -
- -
-
- -
-
    -
  • -
  • -
  • -
  • -
  • -
  • -
-
-

url->link(t('Download CSV template'), 'userImport', 'template') ?>

-
\ No newline at end of file -- cgit v1.2.3