mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-08 16:34:18 -04:00
net/pptp: style updates
This commit is contained in:
parent
7f09104737
commit
5c8260e815
2 changed files with 12 additions and 12 deletions
|
|
@ -60,12 +60,12 @@ function dump_clog_vpn($file, $tail, $type)
|
|||
}
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class=\"listlr nowrap\">" . htmlspecialchars(join(" ", array_slice($logent, 0, 3))) . "</td>\n";
|
||||
echo "<td>" . htmlspecialchars(join(" ", array_slice($logent, 0, 3))) . "</td>\n";
|
||||
|
||||
if ($llent[0] == "login") {
|
||||
echo "<td class=\"listr\"><span class=\"glyphicon glyphicon-arrow-right\" aria-hidden=\"true\" alt=\"in\"></span></td>\n";
|
||||
echo "<td><span class=\"fa fa-arrow-right fa-fw\" aria-hidden=\"true\" alt=\"in\"></span></td>\n";
|
||||
} else {
|
||||
echo "<td class=\"listr\"><span class=\"glyphicon glyphicon-arrow-left\" aria-hidden=\"true\" alt=\"out\"></span></td>\n";
|
||||
echo "<td><span class=\"fa fa-arrow-left fa-fw\" aria-hidden=\"true\" alt=\"out\"></span></td>\n";
|
||||
}
|
||||
|
||||
echo "<td class=\"listr\">" . htmlspecialchars($llent[3]) . "</td>\n";
|
||||
|
|
@ -88,10 +88,10 @@ include("head.inc");
|
|||
<div class="table-responsive">
|
||||
<table class="table table-striped table-sort">
|
||||
<tr>
|
||||
<td class="listhdrr"><?=gettext("Time");?></td>
|
||||
<td class="listhdrr"><?=gettext("Action");?></td>
|
||||
<td class="listhdrr"><?=gettext("User");?></td>
|
||||
<td class="listhdrr"><?=gettext("IP address");?></td>
|
||||
<td><?=gettext("Time");?></td>
|
||||
<td><?=gettext("Action");?></td>
|
||||
<td><?=gettext("User");?></td>
|
||||
<td><?=gettext("IP address");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
|||
$service_hook = 'pptpd';
|
||||
include("head.inc");
|
||||
$main_buttons = array(
|
||||
array('label'=>gettext("add user"), 'href'=>'vpn_pptp_users_edit.php'),
|
||||
array('label' => gettext('Add'), 'href' => 'vpn_pptp_users_edit.php'),
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
@ -109,7 +109,7 @@ $main_buttons = array(
|
|||
<tr>
|
||||
<td><?=gettext("Username");?></td>
|
||||
<td><?=gettext("IP address");?></td>
|
||||
<td></td>
|
||||
<td class="text-nowrap"></td>
|
||||
</tr>
|
||||
<?php
|
||||
$i = 0;
|
||||
|
|
@ -117,9 +117,9 @@ $main_buttons = array(
|
|||
<tr>
|
||||
<td><?=htmlspecialchars($secretent['name']);?></td>
|
||||
<td><?=htmlspecialchars($secretent['ip']);?></td>
|
||||
<td>
|
||||
<a href="vpn_pptp_users_edit.php?id=<?=$i;?>" class="btn btn-xs btn-default"><span class="glyphicon glyphicon-edit"></span></a>
|
||||
<button data-id="<?=$i;?>" type="button" class="act_delete_user btn btn-xs btn-default"><span class="fa fa-trash text-muted"></span></button>
|
||||
<td class="text-nowrap">
|
||||
<a href="vpn_pptp_users_edit.php?id=<?=$i;?>" class="btn btn-xs btn-default"><i class="fa fa-pencil fa-fw"></i></a>
|
||||
<button data-id="<?=$i;?>" type="button" class="act_delete_user btn btn-xs btn-default"><i class="fa fa-trash fa-fw"></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
|
|
|
|||
Loading…
Reference in a new issue