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_groupmanager.php | |
parent | d642aca406161552dbd6b2c19585eaba42a242a6 (diff) | |
download | pfsense-060ed23871a0933021e68078efceb6ed64658d82.zip pfsense-060ed23871a0933021e68078efceb6ed64658d82.tar.gz |
Fixed #5566
Diffstat (limited to 'src/usr/local/www/system_groupmanager.php')
-rw-r--r-- | src/usr/local/www/system_groupmanager.php | 79 |
1 files changed, 42 insertions, 37 deletions
diff --git a/src/usr/local/www/system_groupmanager.php b/src/usr/local/www/system_groupmanager.php index b903dc7..07df162 100644 --- a/src/usr/local/www/system_groupmanager.php +++ b/src/usr/local/www/system_groupmanager.php @@ -277,17 +277,20 @@ display_top_tabs($tab_array); if (!($_GET['act'] == "new" || $_GET['act'] == "edit")) { ?> - <div class="table-responsive"> - <table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" data-sortable> - <thead> - <tr> - <th><?=gettext("Group name")?></th> - <th><?=gettext("Description")?></th> - <th><?=gettext("Member Count")?></th> - <th><?=gettext("Actions")?></th> - </tr> - </thead> - <tbody> +<div class="panel panel-default"> + <div class="panel-heading"><h2 class="panel-title"><?=gettext('Groups')?></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("Group name")?></th> + <th><?=gettext("Description")?></th> + <th><?=gettext("Member Count")?></th> + <th><?=gettext("Actions")?></th> + </tr> + </thead> + <tbody> <?php foreach ($a_group as $i => $group): if ($group["name"] == "all") { @@ -296,36 +299,38 @@ if (!($_GET['act'] == "new" || $_GET['act'] == "edit")) { $groupcount = count($group['member']); } ?> - <tr> - <td> - <?=htmlspecialchars($group['name'])?> - </td> - <td> - <?=htmlspecialchars($group['description'])?> - </td> - <td> - <?=$groupcount?> - </td> - <td> - <a class="fa fa-pencil" title="<?=gettext("Edit group"); ?>" href="?act=edit&groupid=<?=$i?>"></a> - <?php if ($group['scope'] != "system"): ?> - <a class="fa fa-trash" title="<?=gettext("Delete group")?>" href="?act=delgroup&groupid=<?=$i?>&groupname=<?=$group['name']?>"></a> - <?php endif;?> - </td> - </tr> + <tr> + <td> + <?=htmlspecialchars($group['name'])?> + </td> + <td> + <?=htmlspecialchars($group['description'])?> + </td> + <td> + <?=$groupcount?> + </td> + <td> + <a class="fa fa-pencil" title="<?=gettext("Edit group"); ?>" href="?act=edit&groupid=<?=$i?>"></a> + <?php if ($group['scope'] != "system"): ?> + <a class="fa fa-trash" title="<?=gettext("Delete group")?>" href="?act=delgroup&groupid=<?=$i?>&groupname=<?=$group['name']?>"></a> + <?php endif;?> + </td> + </tr> <?php endforeach; ?> - </tbody> - </table> + </tbody> + </table> + </div> </div> - - <nav class="action-buttons"> - <a href="?act=new" class="btn btn-success btn-sm"> - <i class="fa fa-plus icon-embed-btn"></i> - <?=gettext("Add")?> - </a> - </nav> +</div> + +<nav class="action-buttons"> + <a href="?act=new" class="btn btn-success btn-sm"> + <i class="fa fa-plus icon-embed-btn"></i> + <?=gettext("Add")?> + </a> +</nav> <?php include('foot.inc'); exit; |