2025-05-20 13:56:26 +02:00

42 lines
1.0 KiB
Plaintext

% layout 'AdminLTE', title => 'Sme server 2 - Bug report 2';
% content_for 'module' => begin
<div class="card-body">
% if (config->{debug} == 1) {
<div>
(DBG)route: <%= $c->current_route %><br>
(DBG)trt: <%= $bugr_datas->{trt} %><br>
</div>
% }
<h1><%= $title %></h1>
<br><%= $modul %><br>
<% my $btn = l('bugr_Download this report'); %>
<form action="/smanager/bugreportD" method="POST">
<div class="row g-3 align-items-center">
<div class="col-md-2">
<button type="submit" class="btn btn-primary"><%= $btn %></button>
</div>
</div>
<%= hidden_field 'trt' => $bugr_datas->{trt} %>
</form>
% 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><br>
</div>
%end