% layout 'default', title => "Sme server 2 -  Disk usage";

% content_for 'module' => begin

<div id='Phpsysinfo' class='module phpsysinfo-panel'>
    % if (config->{debug} == 1) {
		<pre>
			%= dumper $c->current_route
			%= dumper $c->stash('phpsysinfo')
		</pre>
    % }
    % if ( stash 'error' ) {
    	<br><div class=sme-error>
			%= $c->render_to_string(inline => stash 'error') 
		</div>
    %}
    
    <%= link_to 'Full Screen' => $c->stash('php_url2'), class => 'button-like', target => '_blank', rel => 'noopener noreferrer' %>
    
    <h1><%= $c->l('psi_phpsysinfo')%></h1><br>
    
    %== "<div id=page-wrapper>".$c->stash('phpsysinfo')."</div>"; 

%end