99 lines
2.5 KiB
Plaintext
99 lines
2.5 KiB
Plaintext
|
<div>
|
||
|
|
||
|
% my $proto = $pf_datas->{proto};
|
||
|
% my $sport = $pf_datas->{sport};
|
||
|
% my $dport = $pf_datas->{dport};
|
||
|
% my $dhost = $pf_datas->{dhost};
|
||
|
% my $cmmnt = $pf_datas->{cmmnt};
|
||
|
% my $allow = $pf_datas->{allow};
|
||
|
|
||
|
% if (config->{debug} == 1) {
|
||
|
<pre>
|
||
|
<%= dumper $c->current_route %>
|
||
|
<%= dumper $c->stash("ret") %>
|
||
|
<%= dumper %$pf_datas %>
|
||
|
</pre>
|
||
|
% }
|
||
|
|
||
|
<form action="/smanager/portforwardinge" method="POST">
|
||
|
|
||
|
<br>
|
||
|
<div>
|
||
|
<%= l "pf_SUMMARY_REMOVE_DESC" %>
|
||
|
</div>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<table>
|
||
|
<thead>
|
||
|
<th class="col-md-4"> </th>
|
||
|
<th class="col-md-4"> </th>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr >
|
||
|
<td>
|
||
|
<%= l "Protocol" %>
|
||
|
</td>
|
||
|
<td>
|
||
|
<%= $proto %>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<%= l "pf_LABEL_SOURCE_PORT" %>
|
||
|
</td>
|
||
|
<td>
|
||
|
<%= $sport %>
|
||
|
</td>
|
||
|
<tr>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<%= l "pf_LABEL_DESTINATION_HOST" %>
|
||
|
</td>
|
||
|
<td>
|
||
|
<%= $dport %>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<%= l "pf_LABEL_DESTINATION_PORT" %>
|
||
|
</td>
|
||
|
<td>
|
||
|
<%= $dhost %>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<%= l "pf_RULE_COMMENT" %>
|
||
|
</td>
|
||
|
<td>
|
||
|
<%= $cmmnt %>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<%= l "pf_ALLOW_HOSTS" %>
|
||
|
</td>
|
||
|
<td>
|
||
|
<%= $allow %>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<%= hidden_field sport=>$sport %>
|
||
|
<%= hidden_field proto=>$proto %>
|
||
|
|
||
|
% my $btn = l("REMOVE");
|
||
|
|
||
|
<div class="row g-3 align-items-center">
|
||
|
<div class="col-md-1">
|
||
|
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
</div>
|