blob: 457a838ac40ee7886725f136d0db7631e35a8464 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
<div class="columns">
<div class="column">
<nav class="navbar">
<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>
<div class="navbar-menu" id="navMenu">
<div class=navbar-start>
% for (grep {$_ ne $folder} @$mail_folders) {
%= link_to '' => {folder => $_} => (class => 'navbar-item') => begin
%= l($_ || '_mailbox_root')
% end
% }
</div>
</div>
</nav>
</div>
<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>
|