* Tue Apr 22 2025 Brian Read <brianr@koozali.org> 11.0.0-2.sme
- Add some styling to the hardware information and quick navigation
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
% 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
|
Reference in New Issue
Block a user