summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_upnp.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-01-13 15:11:23 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-01-13 15:11:23 -0500
commit060ed23871a0933021e68078efceb6ed64658d82 (patch)
tree434e5315f7aefb15e389f439133a9a41e40340f7 /src/usr/local/www/status_upnp.php
parentd642aca406161552dbd6b2c19585eaba42a242a6 (diff)
downloadpfsense-060ed23871a0933021e68078efceb6ed64658d82.zip
pfsense-060ed23871a0933021e68078efceb6ed64658d82.tar.gz
Fixed #5566
Diffstat (limited to 'src/usr/local/www/status_upnp.php')
-rw-r--r--src/usr/local/www/status_upnp.php70
1 files changed, 38 insertions, 32 deletions
diff --git a/src/usr/local/www/status_upnp.php b/src/usr/local/www/status_upnp.php
index bab17eb..070ecae 100644
--- a/src/usr/local/www/status_upnp.php
+++ b/src/usr/local/www/status_upnp.php
@@ -93,19 +93,21 @@ if (!$config['installedpackages'] ||
?>
-<div class="panel-body panel-default">
- <div class="table-responsive">
- <table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" data-sortable>
- <thead>
- <tr>
- <th><?=gettext("Port")?></th>
- <th><?=gettext("Protocol")?></th>
- <th><?=gettext("Internal IP")?></th>
- <th><?=gettext("Int. Port")?></th>
- <th><?=gettext("Description")?></th>
- </tr>
- </thead>
- <tbody>
+<div class="panel panel-default">
+ <div class="panel-heading"><h2 class="panel-title"><?=gettext('UPnP rules')?></h2></div>
+ <div class="panel-body">
+ <div class="table-responsive">
+ <table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" data-sortable>
+ <thead>
+ <tr>
+ <th><?=gettext("Port")?></th>
+ <th><?=gettext("Protocol")?></th>
+ <th><?=gettext("Internal IP")?></th>
+ <th><?=gettext("Int. Port")?></th>
+ <th><?=gettext("Description")?></th>
+ </tr>
+ </thead>
+ <tbody>
<?php
$i = 0;
@@ -118,31 +120,35 @@ foreach ($rdr_entries as $rdr_entry) {
$rdr_iport = $matches[6];
?>
- <tr>
- <td>
- <?=$rdr_port?>
- </td>
- <td>
- <?=$rdr_proto?>
- </td>
- <td>
- <?=$rdr_ip?>
- </td>
- <td>
- <?=$rdr_iport?>
- </td>
- <td>
- <?=$rdr_label?>
- </td>
- </tr>
+ <tr>
+ <td>
+ <?=$rdr_port?>
+ </td>
+ <td>
+ <?=$rdr_proto?>
+ </td>
+ <td>
+ <?=$rdr_ip?>
+ </td>
+ <td>
+ <?=$rdr_iport?>
+ </td>
+ <td>
+ <?=$rdr_label?>
+ </td>
+ </tr>
<?php
}
$i++;
}
?>
- </tbody>
- </table>
+ </tbody>
+ </table>
+ </div>
</div>
+</div>
+
+<div>
<form action="status_upnp.php" method="post">
<nav class="action-buttons">
<button class="btn btn-danger btn-sm" type="submit" name="clear" id="clear" value="<?=gettext("Clear all sessions")?>">
OpenPOWER on IntegriCloud