From a6e6f8be88a93699765f25aee0e6109a3eb0b307 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Tue, 3 May 2022 18:22:43 +0200 Subject: reworked templates based on purecss --- templates/headers/_display_bot_nav.html.ep | 53 +++++++------- templates/headers/_display_folders.html.ep | 29 ++++++++ templates/headers/_display_headers.html.ep | 107 ++++++++++++++++------------- templates/headers/_display_top_nav.html.ep | 49 ++++++------- templates/headers/_displayfolders.html.ep | 32 --------- templates/headers/_pagination1.html.ep | 7 ++ templates/headers/_pagination2.html.ep | 22 ++++++ 7 files changed, 167 insertions(+), 132 deletions(-) create mode 100644 templates/headers/_display_folders.html.ep delete mode 100644 templates/headers/_displayfolders.html.ep create mode 100644 templates/headers/_pagination1.html.ep create mode 100644 templates/headers/_pagination2.html.ep (limited to 'templates/headers') diff --git a/templates/headers/_display_bot_nav.html.ep b/templates/headers/_display_bot_nav.html.ep index ea1ce3c..9064d6e 100644 --- a/templates/headers/_display_bot_nav.html.ep +++ b/templates/headers/_display_bot_nav.html.ep @@ -1,33 +1,26 @@ - - - - - - - - - - - - - - - -
- %= include '_pagination1'; - - : - - - %= form_for move => (id => 'move-mail') => begin - %= label_for 'select-folder' => l('move') . ' ' . l('to') - %= select_field folder => [grep {$_ ne $folder} @$mail_folders] => (id => 'select-folder') - %= csrf_field - %= submit_button l 'move' - % end - -
- +
+ +
+ %= include 'headers/_pagination1' +
+ +
+ + +
+ +
+ %= form_for move => (id => 'move-mail') => (class => 'pure-form') => begin +
+ %= label_for 'select-folder' => l('move') . ' ' . l('to') + %= select_field folder => [grep {$_ ne $folder} @$mail_folders] => (id => 'select-folder') + %= csrf_field + %= submit_button l('move') => (class => 'pure-button') +
+ % end +
+ +