% layout 'AdminLTE', title => "Sme server 2 - backup"; % content_for 'module' => begin
% if (config->{debug} == 1) {
        <%=  dumper $c->current_route %>
        <%=  dumper $bac_datas %>
    
% } % if ( stash 'warning' ) {
<%= $c->render_to_string(inline => stash 'warning') %>

% } % if ( stash 'error' ) {
<%= $c->render_to_string(inline => stash 'error') %>

% }

<%= $title%>


<%= $c->render_to_string(inline => (l 'bac_BACKUP_DESC_DAR', $bac_datas->{module}, $bac_datas->{dumpsize}, $bac_datas->{tarsize})) %>

<%= l 'bac_BACKUP_CONFIG_STATUS' %>


<%= l 'bac_TAPE_BACKUPS' %>: <%= $c->l(uc($bac_datas->{'backupStatus'})).'.' %>
% if ( $bac_datas->{'backupStatus'} eq 'enabled' ) {
<%= $c->l('bac_BACKUPS_RUN_AT') %>: <%= $bac_datas->{'backupTime'} %>

<%= $c->l('bac_REMINDER_MESSAGE_AT') %>: <%= $bac_datas->{'reminderTime'} %>
% }

<%=l 'bac_WORKSTN_BACKUPS' %>: <%= $c->l(uc($bac_datas->{'backupwkStatus'})) . '.' %>
% if ( $bac_datas->{'backupwkStatus'} eq 'enabled' ) { <%= $c->l('bac_WKBACKUPS_RUN_AT') %>: <%= $bac_datas->{'backupwkTime'} %> % }

<%= l 'bac_SELECT_AN_ACTION' %>
% param 'Function' => $bac_datas->{function} unless param 'Function'; <%= select_field 'Function' => $c->get_function_options(), class => "form-select" %>

% my $btn = $c->l('PERFORM');
% end