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

% content_for 'module' => begin

<div class="card-body">

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

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

    <br>

    <%= $modul %>

    <br>

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

    <form action="/smanager/viewlogfilesr" method="POST">

        <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>

        %= 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}
    </form>

</div>

%end
