diff options
Diffstat (limited to 'templates/displayheaders/_bot_nav.html.ep')
-rw-r--r-- | templates/displayheaders/_bot_nav.html.ep | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/templates/displayheaders/_bot_nav.html.ep b/templates/displayheaders/_bot_nav.html.ep index 3eb57d3..454941b 100644 --- a/templates/displayheaders/_bot_nav.html.ep +++ b/templates/displayheaders/_bot_nav.html.ep @@ -1,27 +1,27 @@ <div class="pure-g jwm-nav"> - <div class="pure-u-3-4 pure-u-md-1-4"> - %= include 'displayheaders/_pagination1' + <div class="pure-u-3-4"> + <div class="pure-u-1 pure-u-md-1-2"> + %= include 'displayheaders/_pagination1' + </div><div class="pure-u-1 pure-u-md-1-2"> + % if (grep {$_ ne $folder} @$mail_folders) { + %= form_for move => (id => 'move-mail') => (class => 'pure-form') => begin + <fieldset> + %= label_for 'select-folder' => l('move to') + %= select_field folder => [map { $_ ? $_ : l 'Home' } grep {$_ ne $folder} @$mail_folders] => (id => 'select-folder') + %= csrf_field + %= submit_button l('move') => (class => 'pure-button') + </fieldset> + % end + % } + </div> </div> - <div class="pure-u-1-4 pure-u-md-1-4"> + <div class="pure-u-1-4"> <label for=allbox><%= l 'check all' %></label> <input name=allbox type=checkbox onclick="check_all(this)"> </div> - <div class="pure-u-1 pure-u-md-1-2"> - % if (grep {$_ ne $folder} @$mail_folders) { - %= form_for move => (id => 'move-mail') => (class => 'pure-form') => begin - <fieldset> - %= label_for 'select-folder' => l('move to') - %= select_field folder => [map { $_ ? $_ : l 'Home' } grep {$_ ne $folder} @$mail_folders] => (id => 'select-folder') - %= csrf_field - %= submit_button l('move') => (class => 'pure-button') - </fieldset> - % end - % } - </div> - </div> <script type="text/javascript"> |