Edit template for controller - Refine params copy and bring DB opens up to spec with UTF8
This commit is contained in:
53
output/Backup/AdminLTE/back_workstn_restore1.html.new.ep
Normal file
53
output/Backup/AdminLTE/back_workstn_restore1.html.new.ep
Normal file
@@ -0,0 +1,53 @@
|
||||
% layout "AdminLTE", title => "Sme server 2 - restore";
|
||||
|
||||
% content_for "module" => begin
|
||||
|
||||
<div class="card-body">
|
||||
|
||||
% if (config->{debug} == 1) {
|
||||
<pre>
|
||||
<%= dumper $c->current_route %>
|
||||
<%= dumper $bac_datas %>
|
||||
</pre>
|
||||
% }
|
||||
|
||||
% if ( stash "error" ) {
|
||||
<br>
|
||||
<div class="text-danger">
|
||||
<%= $c->render_to_string(inline => stash "error") %>
|
||||
</div>
|
||||
% }
|
||||
|
||||
<h1><%= $title%></h1>
|
||||
|
||||
<br>
|
||||
|
||||
<h2><%= l "bac_WORKSTN_RESTORE" %></h2>
|
||||
|
||||
<br>
|
||||
|
||||
<form action="/smanager/backupd" method="POST">
|
||||
|
||||
<div>
|
||||
<%= $c->render_to_string(inline => $bac_datas->{restore_log}) %>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div>
|
||||
<%= l "bac_YOU_MUST_REBOOT" %>
|
||||
</div>
|
||||
|
||||
<%= hidden_field "Function" => $bac_datas->{"function"} %>
|
||||
|
||||
% my $btn = l("Reboot");
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
% end
|
Reference in New Issue
Block a user