Files
smeserver-manager/root/usr/share/smanager/themes/default/templates/bugreport2.html.ep
Brian Read 74c9beb587 * Mon Aug 11 2025 Brian Read <brianr@koozali.org> 11.0.0-113.sme
- Re-factor all template files to make them nicely formatted  [SME: 13103]
2025-08-12 06:20:31 +01:00

35 lines
889 B
Plaintext

% layout 'default', title => 'Sme server 2 - Bug report 2';
% content_for 'module' => begin
<div id='module' class='module bugreport2-panel'>
% if (config->{debug} == 1) {
<p>
(DBG)route: <%= $c->current_route %><br>
(DBG)trt: <%= $bugr_datas->{trt} %><br>
</p>
% }
<h1><%= $title %></h1>
<br><%= $modul %><br>
<% my $btn = l('bugr_Download this report'); %>
%= form_for 'bugreportD' => ( method => 'POST' ) => begin
%= submit_button "$btn", class => 'action'
%= hidden_field 'trt' => $bugr_datas->{trt}
% end
% my $out = "================== <br />";
% $out .= "Boot anaysis image (right click and save image to download)<br />";
% $out .= "================== <br />";
% $out .= "<img src='images/boot.svg' alt='boot timing image' width=95% >";
<br><%= $c->render_to_string( inline => $out ) %><br>
</div>
% end