diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-01-13 15:11:23 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-01-13 15:11:23 -0500 |
commit | 060ed23871a0933021e68078efceb6ed64658d82 (patch) | |
tree | 434e5315f7aefb15e389f439133a9a41e40340f7 /src/usr/local/www/system_gateway_groups.php | |
parent | d642aca406161552dbd6b2c19585eaba42a242a6 (diff) | |
download | pfsense-060ed23871a0933021e68078efceb6ed64658d82.zip pfsense-060ed23871a0933021e68078efceb6ed64658d82.tar.gz |
Fixed #5566
Diffstat (limited to 'src/usr/local/www/system_gateway_groups.php')
-rw-r--r-- | src/usr/local/www/system_gateway_groups.php | 68 |
1 files changed, 36 insertions, 32 deletions
diff --git a/src/usr/local/www/system_gateway_groups.php b/src/usr/local/www/system_gateway_groups.php index 8240de1..f7f35f5 100644 --- a/src/usr/local/www/system_gateway_groups.php +++ b/src/usr/local/www/system_gateway_groups.php @@ -140,58 +140,62 @@ $tab_array[] = array(gettext("Static Routes"), false, "system_routes.php"); $tab_array[] = array(gettext("Gateway Groups"), true, "system_gateway_groups.php"); display_top_tabs($tab_array); ?> - -<div class="table-responsive"> - <table class="table table-striped table-hover table-condensed"> - <thead> - <tr> - <th><?=gettext("Group Name")?></th> - <th><?=gettext("Gateways")?></th> - <th><?=gettext("Priority")?></th> - <th><?=gettext("Description")?></th> - <th><?=gettext("Actions")?></th> - </tr> - </thead> - <tbody> +<div class="panel panel-default"> + <div class="panel-heading"><h2 class="panel-title"><?=gettext('Gateway groups')?></h2></div> + <div class="panel-body"> + <div class="table-responsive"> + <table class="table table-striped table-hover table-condensed"> + <thead> + <tr> + <th><?=gettext("Group Name")?></th> + <th><?=gettext("Gateways")?></th> + <th><?=gettext("Priority")?></th> + <th><?=gettext("Description")?></th> + <th><?=gettext("Actions")?></th> + </tr> + </thead> + <tbody> <?php $i = 0; foreach ($a_gateway_groups as $gateway_group): ?> - <tr> - <td> - <?=$gateway_group['name']?> - </td> - <td> + <tr> + <td> + <?=$gateway_group['name']?> + </td> + <td> <?php foreach ($gateway_group['item'] as $item) { $itemsplit = explode("|", $item); print(htmlspecialchars(strtoupper($itemsplit[0])) . "<br />\n"); } ?> - </td> - <td> + </td> + <td> <?php foreach ($gateway_group['item'] as $item) { $itemsplit = explode("|", $item); print("Tier ". htmlspecialchars($itemsplit[1]) . "<br />\n"); } ?> - </td> - <td> - <?=htmlspecialchars($gateway_group['descr'])?> - </td> - <td> - <a href="system_gateway_groups_edit.php?id=<?=$i?>" class="fa fa-pencil" title="<?=gettext('Edit')?>"></a> - <a href="system_gateway_groups_edit.php?dup=<?=$i?>" class="fa fa-clone" title="<?=gettext('Copy')?>"></a> - <a href="system_gateway_groups.php?act=del&id=<?=$i?>" class="fa fa-trash" title="<?=gettext('Delete')?>"></a> - </td> - </tr> + </td> + <td> + <?=htmlspecialchars($gateway_group['descr'])?> + </td> + <td> + <a href="system_gateway_groups_edit.php?id=<?=$i?>" class="fa fa-pencil" title="<?=gettext('Edit')?>"></a> + <a href="system_gateway_groups_edit.php?dup=<?=$i?>" class="fa fa-clone" title="<?=gettext('Copy')?>"></a> + <a href="system_gateway_groups.php?act=del&id=<?=$i?>" class="fa fa-trash" title="<?=gettext('Delete')?>"></a> + </td> + </tr> <?php $i++; endforeach; ?> - </tbody> - </table> + </tbody> + </table> + </div> + </div> </div> <nav class="action-buttons"> |