Log files - Bug reports - Config reports

This commit is contained in:
John Crisp
2025-05-20 13:56:26 +02:00
parent 12f8be6936
commit 6cc847b6b1
9 changed files with 352 additions and 242 deletions

View File

@@ -5,10 +5,10 @@
<div class="card-body">
% if (config->{debug} == 1) {
<p>
(DBG)route: <%= $c->current_route %><br>
(DBG)trt: <%= $bugr_datas->{trt} %><br>
</p>
<div>
(DBG)route: <%= $c->current_route %><br>
(DBG)trt: <%= $bugr_datas->{trt} %><br>
</div>
% }
<h1><%= $title %></h1>
@@ -17,17 +17,25 @@
<% my $btn = l('bugr_Download this report'); %>
%= form_for 'bugreportD' => (method => 'POST') => begin
%= submit_button "$btn", class => ""
%= hidden_field 'trt' => $bugr_datas->{trt}
% end
<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>
<%= $c->render_to_string(inline=>$out) %>
<br><br>
</div>