summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/interfaces_vlan.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/interfaces_vlan.php
parentd642aca406161552dbd6b2c19585eaba42a242a6 (diff)
downloadpfsense-060ed23871a0933021e68078efceb6ed64658d82.zip
pfsense-060ed23871a0933021e68078efceb6ed64658d82.tar.gz
Fixed #5566
Diffstat (limited to 'src/usr/local/www/interfaces_vlan.php')
-rw-r--r--src/usr/local/www/interfaces_vlan.php65
1 files changed, 37 insertions, 28 deletions
diff --git a/src/usr/local/www/interfaces_vlan.php b/src/usr/local/www/interfaces_vlan.php
index 0f82756..c3ea2f8 100644
--- a/src/usr/local/www/interfaces_vlan.php
+++ b/src/usr/local/www/interfaces_vlan.php
@@ -130,44 +130,53 @@ display_top_tabs($tab_array);
<input id="act" type="hidden" name="act" value="" />
<input id="id" type="hidden" name="id" value=""/>
- <div class="table-responsive">
- <table class="table table-striped table-hover table-condensed">
- <thead>
- <tr>
- <th><?=gettext('Interface');?></th>
- <th><?=gettext('VLAN tag');?></th>
- <th><?=gettext('Priority');?></th>
- <th><?=gettext('Description');?></th>
- <th></th>
- </tr>
- </thead>
+ <div class="panel panel-default">
+ <div class="panel-heading"><h2 class="panel-title"><?=gettext('VLAN interfaces')?></h2></div>
+ <div class="panel-body">
+ <div class="table-responsive">
+ <table class="table table-striped table-hover table-condensed">
+ <thead>
+ <tr>
+ <th><?=gettext('Interface');?></th>
+ <th><?=gettext('VLAN tag');?></th>
+ <th><?=gettext('Priority');?></th>
+ <th><?=gettext('Description');?></th>
+ <th></th>
+ </tr>
+ </thead>
+ <tbody>
<?php
$i = 0;
foreach ($a_vlans as $vlan) {
?>
- <tr>
- <td><?=htmlspecialchars($vlan['if']);?></td>
- <td><?=htmlspecialchars($vlan['tag']);?></td>
- <td><?=htmlspecialchars($vlan['pcp']);?></td>
- <td><?=htmlspecialchars($vlan['descr']);?></td>
- <td>
- <a class="fa fa-pencil" title="<?=gettext('Edit VLAN')?>" role="button" href="interfaces_vlan_edit.php?id=<?=$i?>"></a>
+ <tr>
+ <td><?=htmlspecialchars($vlan['if']);?></td>
+ <td><?=htmlspecialchars($vlan['tag']);?></td>
+ <td><?=htmlspecialchars($vlan['pcp']);?></td>
+ <td><?=htmlspecialchars($vlan['descr']);?></td>
+ <td>
+ <a class="fa fa-pencil" title="<?=gettext('Edit VLAN')?>" role="button" href="interfaces_vlan_edit.php?id=<?=$i?>"></a>
<!-- <a class="btn btn-danger btn-xs" role="button" href="interfaces_vlan.php?act=del&amp;id=<?=$i?>"><?=gettext('Delete')?></a></td> -->
- <a class="fa fa-trash" title="<?=gettext('Delete VLAN')?>" role="button" id="del-<?=$i?>"></a>
- </td>
- </tr>
+ <a class="fa fa-trash" title="<?=gettext('Delete VLAN')?>" role="button" id="del-<?=$i?>"></a>
+ </td>
+ </tr>
<?php
$i++;
}
?>
- </table>
- <nav class="action-buttons">
- <a class="btn btn-success btn-sm" role="button" href="interfaces_vlan_edit.php">
- <i class="fa fa-plus icon-embed-btn"></i>
- <?=gettext('Add'); ?>
- </a>
- </nav>
+ </tbody>
+ </table>
+ </div>
+ </div>
</div>
+
+ <nav class="action-buttons">
+ <a class="btn btn-success btn-sm" role="button" href="interfaces_vlan_edit.php">
+ <i class="fa fa-plus icon-embed-btn"></i>
+ <?=gettext('Add'); ?>
+ </a>
+ </nav>
+
</form>
<div class="infoblock">
OpenPOWER on IntegriCloud