summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_authservers.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/system_authservers.php
parentd642aca406161552dbd6b2c19585eaba42a242a6 (diff)
downloadpfsense-060ed23871a0933021e68078efceb6ed64658d82.zip
pfsense-060ed23871a0933021e68078efceb6ed64658d82.tar.gz
Fixed #5566
Diffstat (limited to 'src/usr/local/www/system_authservers.php')
-rw-r--r--src/usr/local/www/system_authservers.php73
1 files changed, 39 insertions, 34 deletions
diff --git a/src/usr/local/www/system_authservers.php b/src/usr/local/www/system_authservers.php
index 9238e66..c1ee41e 100644
--- a/src/usr/local/www/system_authservers.php
+++ b/src/usr/local/www/system_authservers.php
@@ -394,41 +394,46 @@ display_top_tabs($tab_array);
if (!($act == "new" || $act == "edit" || $input_errors))
{
- ?>
- <div class="table-responsive">
- <table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" data-sortable>
- <thead>
- <tr>
- <th><?=gettext("Server Name")?></th>
- <th><?=gettext("Type")?></th>
- <th><?=gettext("Host Name")?></th>
- <th><?=gettext("Actions")?></th>
- </tr>
- </thead>
- <tbody>
- <?php foreach($a_server as $i => $server): ?>
- <tr>
- <td><?=htmlspecialchars($server['name'])?></td>
- <td><?=htmlspecialchars($auth_server_types[$server['type']])?></td>
- <td><?=htmlspecialchars($server['host'])?></td>
- <td>
- <?php if ($i < (count($a_server) - 1)): ?>
- <a class="fa fa-pencil" title="<?=gettext("Edit server"); ?>" href="system_authservers.php?act=edit&amp;id=<?=$i?>"></a>
- <a class="fa fa-trash" title="<?=gettext("Delete server")?>" href="system_authservers.php?act=del&amp;id=<?=$i?>"></a>
- <?php endif?>
- </td>
- </tr>
- <?php endforeach; ?>
- </tbody>
- </table>
+?>
+<div class="panel panel-default">
+ <div class="panel-heading"><h2 class="panel-title"><?=gettext('Authentication servers')?></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("Server Name")?></th>
+ <th><?=gettext("Type")?></th>
+ <th><?=gettext("Host Name")?></th>
+ <th><?=gettext("Actions")?></th>
+ </tr>
+ </thead>
+ <tbody>
+ <?php foreach($a_server as $i => $server): ?>
+ <tr>
+ <td><?=htmlspecialchars($server['name'])?></td>
+ <td><?=htmlspecialchars($auth_server_types[$server['type']])?></td>
+ <td><?=htmlspecialchars($server['host'])?></td>
+ <td>
+ <?php if ($i < (count($a_server) - 1)): ?>
+ <a class="fa fa-pencil" title="<?=gettext("Edit server"); ?>" href="system_authservers.php?act=edit&amp;id=<?=$i?>"></a>
+ <a class="fa fa-trash" title="<?=gettext("Delete server")?>" href="system_authservers.php?act=del&amp;id=<?=$i?>"></a>
+ <?php endif?>
+ </td>
+ </tr>
+ <?php endforeach; ?>
+ </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;
OpenPOWER on IntegriCloud