summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_l2tp_users.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/vpn_l2tp_users.php')
-rw-r--r--src/usr/local/www/vpn_l2tp_users.php56
1 files changed, 30 insertions, 26 deletions
diff --git a/src/usr/local/www/vpn_l2tp_users.php b/src/usr/local/www/vpn_l2tp_users.php
index 9364f65..dae7a72 100644
--- a/src/usr/local/www/vpn_l2tp_users.php
+++ b/src/usr/local/www/vpn_l2tp_users.php
@@ -119,35 +119,39 @@ $tab_array[] = array(gettext("Configuration"), false, "vpn_l2tp.php");
$tab_array[] = array(gettext("Users"), true, "vpn_l2tp_users.php");
display_top_tabs($tab_array);
?>
-<div class="table-responsive">
- <table class="table table-striped table-hover">
- <thead>
- <tr>
- <th><?=gettext("Username")?></th>
- <th><?=gettext("IP address")?></th>
- <th><?=gettext("Actions")?></th>
- </tr>
- </thead>
- <tbody>
+<div class="panel panel-default">
+ <div class="panel-heading"><h2 class="panel-title"><?=gettext('L2TP Users')?>></h2></div>
+ <div class="panel-body">
+ <div class="table-responsive">
+ <table class="table table-striped table-hover">
+ <thead>
+ <tr>
+ <th><?=gettext("Username")?></th>
+ <th><?=gettext("IP address")?></th>
+ <th><?=gettext("Actions")?></th>
+ </tr>
+ </thead>
+ <tbody>
<?php $i = 0; foreach ($a_secret as $secretent):?>
- <tr>
- <td>
- <?=htmlspecialchars($secretent['name'])?>
- </td>
- <td>
- <?php if ($secretent['ip'] == "") $secretent['ip'] = "Dynamic"?>
- <?=htmlspecialchars($secretent['ip'])?>&nbsp;
- </td>
- <td>
- <a class="fa fa-pencil" title="<?=gettext('Edit user')?>" href="vpn_l2tp_users_edit.php?id=<?=$i?>"></a>
- <a class="fa fa-trash" title="<?=gettext('Delete user')?>" href="vpn_l2tp_users.php?act=del&amp;id=<?=$i?>"></a>
- </td>
- </tr>
+ <tr>
+ <td>
+ <?=htmlspecialchars($secretent['name'])?>
+ </td>
+ <td>
+ <?php if ($secretent['ip'] == "") $secretent['ip'] = "Dynamic"?>
+ <?=htmlspecialchars($secretent['ip'])?>&nbsp;
+ </td>
+ <td>
+ <a class="fa fa-pencil" title="<?=gettext('Edit user')?>" href="vpn_l2tp_users_edit.php?id=<?=$i?>"></a>
+ <a class="fa fa-trash" title="<?=gettext('Delete user')?>" href="vpn_l2tp_users.php?act=del&amp;id=<?=$i?>"></a>
+ </td>
+ </tr>
<?php $i++; endforeach?>
- </tbody>
- </table>
+ </tbody>
+ </table>
+ </div>
+ </div>
</div>
-
<nav class="action-buttons">
<a class="btn btn-success btn-sm" href="vpn_l2tp_users_edit.php">
<i class="fa fa-plus icon-embed-btn"></i>
OpenPOWER on IntegriCloud