Edit template for controller - Refine params copy and bring DB opens up to spec with UTF8

This commit is contained in:
2025-10-06 10:57:00 +01:00
parent 29f8de63fd
commit ecb846fc6c
119 changed files with 10059 additions and 36 deletions

View File

@@ -0,0 +1,36 @@
% layout "default", title => "Sme server 2 - restore";
% content_for "module" => begin
<div id="module" class="module back_workstn_restore1-panel">
% if (config->{debug} == 1) {
<p>
%= dumper $c->current_route
%= dumper $bac_datas
</p>
% }
% if ( stash "error" ) {
<br><div class=sme-error>
%= $c->render_to_string(inline => stash "error")
</div>
%}
<h1><%= $title%></h1>
%= form_for "/backupd" => (method => "POST") => begin
<h2>
%=l "bac_WORKSTN_RESTORE"
</h2>
<p>
%= $c->render_to_string(inline => $bac_datas->{restore_log})
</p><p>
%=l "bac_YOU_MUST_REBOOT"
</p>
%= hidden_field "Function" => $bac_datas->{"function"}
%= submit_button $c->l("Reboot"), class => "action"
% end
</div>
% end