Brian Read a369b719c5 * Tue Apr 22 2025 Brian Read <brianr@koozali.org> 11.0.0-2.sme
- Add some styling to the hardware information and quick navigation
2025-04-22 15:54:58 +01:00

26 lines
620 B
Plaintext

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