Edit template for controller - Refine params copy and bring DB opens up to spec with UTF8
This commit is contained in:
78
output/Backup/AdminLTE/back_workstn_verify.html.new.ep
Normal file
78
output/Backup/AdminLTE/back_workstn_verify.html.new.ep
Normal file
@@ -0,0 +1,78 @@
|
||||
% layout "AdminLTE", title => "Sme server 2 - backup - verify";
|
||||
% 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 "Verify_WORKSTN_BACKUP_FILE" %></h2>
|
||||
|
||||
<form action="/smanager/backup" method="POST">
|
||||
|
||||
<br>
|
||||
|
||||
% if ($bac_datas->{status} ne "enabled") {
|
||||
<div>
|
||||
<%= $c->render_to_string(inline => (l "bac_CONFIGURATION_TO_BE_DONE")) %>
|
||||
</div>
|
||||
% } else {
|
||||
<div>
|
||||
<%= $c->render_to_string(inline => (l "Verify_WORKSTN_BACKUP_DESC") . " " . $c->get_shared_folder_to_verify()) %>
|
||||
</div>
|
||||
% }
|
||||
|
||||
<br><br>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<%=l "bac_SELECT_BACKUP_FILE" %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= select_field "Backupset" => $c->get_Backupset_options(), class => "form-select" %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-4">
|
||||
<%=l "bac_CHECK_TO_VERIFY_FULL_RESTORE" %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<input type="checkbox" name="Verifyall">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
%=l "bac_CHECK_INTEGRITY_WARNING"
|
||||
|
||||
<br>
|
||||
<br>
|
||||
%= hidden_field "Function" => $bac_datas->{"function"} . "1"
|
||||
|
||||
% my $btn = l("Verify");
|
||||
|
||||
<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