23 lines
603 B
Plaintext
23 lines
603 B
Plaintext
% layout 'default', title => "Sme server 2 - Disk usage";
|
|
|
|
% content_for 'module' => begin
|
|
|
|
<div id='Diskusage' class='module diskusage-panel'>
|
|
% if (config->{debug} == 1) {
|
|
<pre>
|
|
%= dumper $c->current_route
|
|
%= dumper $c->stash('diskusage')
|
|
</pre>
|
|
% }
|
|
% if ( stash 'error' ) {
|
|
<br><div class=sme-error>
|
|
%= $c->render_to_string(inline => stash 'error')
|
|
</div>
|
|
%}
|
|
<!--<h1>Legacy-<%#=l('du_diskusage') %></h1><br>-->
|
|
% my $height = $c->stash('height') | '600';
|
|
% if ($height !~ /px$/) { $height = $height.'px';}
|
|
%== $c->stash('diskusage');
|
|
</div>
|
|
|
|
%end |