% layout 'AdminLTE', title => 'Sme server 2 - View log files 2';

% content_for 'module' => begin

<div class="card-body">

    % if (config->{debug} == 1) {
    <p>
    (DBG)route: <%= $c->current_route %><br>
    (DBG)trt: <%= $log_datas->{trt} %><br>
    </p>
    % }

    <h1><%= $title %></h1>

    <br><%= $modul %><br>

    <p>
    <% my $btn = l('log_REFRESH'); %>

    %= form_for 'viewlogfilesr' => (method => 'POST') => begin
    %= submit_button "$btn", class => ""
    %= hidden_field 'trt' => $log_datas->{trt}
    %= hidden_field 'Filename' => $log_datas->{filename}
    %= hidden_field 'Matchpattern' => $log_datas->{matchpattern}
    %= hidden_field 'Highlightpattern' => $log_datas->{highlightpattern}
    %= hidden_field 'Operation' => $log_datas->{operation}
    % end
   </p>
</div>

%end
