diff options
Diffstat (limited to 'templates/displayheaders/_folders.html.ep')
-rw-r--r-- | templates/displayheaders/_folders.html.ep | 49 |
1 files changed, 32 insertions, 17 deletions
diff --git a/templates/displayheaders/_folders.html.ep b/templates/displayheaders/_folders.html.ep index b341768..457a838 100644 --- a/templates/displayheaders/_folders.html.ep +++ b/templates/displayheaders/_folders.html.ep @@ -1,29 +1,44 @@ -<div id=display-folders class="pure-g jwm-nav"> +<div class="columns"> - <div class="pure-u-1-1 pure-u-md-1-2"> - <nav class="pure-menu pure-menu-horizontal"> + <div class="column"> + <nav class="navbar"> - <strong class="pure-menu-heading"> - %= l($folder || '_mailbox_root') - </strong> + <div class="navbar-brand"> + <span class=navbar-item> + <%= l($folder || '_mailbox_root') %> + </span> + <a role="button" class="navbar-burger" data-target="navMenu" id=navbar-toggle> + <span aria-hidden="true"></span> + <span aria-hidden="true"></span> + <span aria-hidden="true"></span> + </a> + </div> - <ul class="pure-menu-list"> + <div class="navbar-menu" id="navMenu"> + <div class=navbar-start> % for (grep {$_ ne $folder} @$mail_folders) { - <li class="pure-menu-item"> - %= link_to '' => {folder => $_} => (class => 'bright') => begin + %= link_to '' => {folder => $_} => (class => 'navbar-item') => begin %= l($_ || '_mailbox_root') % end - </li> % } - </ul> - + </div> + </div> </nav> </div> - <p class="pure-u-1-1 pure-u-md-1-2"> - <%= l('[_1] of [_2] messages', $pgn->{this_page}[1] - $pgn->{this_page}[0], $pgn->{total_items}) %>\ - <%= l(', [_1] new', $total_new_mails) if $total_new_mails > 0 =%> - <%= l(' - mailbox size: [_1]', $v->print_sizes10($total_size)) if $total_size %> - </p> + <div class="column"> + <div class="columns is-multiline is-mobile"> + <span class="column is-half-mobile has-text-centered"><%= l('[_1] of [_2] messages', $pgn->{this_page}[1] - $pgn->{this_page}[0], $pgn->{total_items}) %> + </span> + <span class="column is-half-mobile has-text-centered"><%= l('[_1] new', $total_new_mails) if $total_new_mails > 0 =%> + </span> + <span class="column has-text-centered"> + % if ($total_size) { + %= l('mailbox size: ') + %= $v->print_sizes10($total_size) + % } + </span> + </div> + </div> </div> |