mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
OpenVPN status page sent/recv bytes sorting changes. Fixes #7359
(cherry picked from commit f467ea24cb)
This commit is contained in:
parent
20cd68d2a6
commit
3e42a12803
@ -104,7 +104,8 @@ include("head.inc"); ?>
|
||||
<th><?=gettext("Real Address")?></th>
|
||||
<th><?=gettext("Virtual Address"); ?></th>
|
||||
<th><?=gettext("Connected Since"); ?></th>
|
||||
<th><?=gettext("Bytes Sent/Received")?></th>
|
||||
<th><?=gettext("Bytes Sent")?></th>
|
||||
<th><?=gettext("Bytes Received")?></th>
|
||||
<th><!-- Icons --></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -132,7 +133,8 @@ include("head.inc"); ?>
|
||||
<?=$conn['virtual_addr6'];?>
|
||||
</td>
|
||||
<td><?=$conn['connect_time'];?></td>
|
||||
<td><?=format_bytes($conn['bytes_sent']);?> / <?=format_bytes($conn['bytes_recv']);?></td>
|
||||
<td data-value="<?=trim($conn['bytes_sent'])?>"><?=format_bytes($conn['bytes_sent']);?></td>
|
||||
<td data-value="<?=trim($conn['bytes_recv'])?>"><?=format_bytes($conn['bytes_recv']);?></td>
|
||||
<td>
|
||||
<a
|
||||
onclick="killClient('<?=$server['mgmt'];?>', '<?=$conn['remote_host'];?>');" style="cursor:pointer;"
|
||||
@ -238,7 +240,8 @@ include("head.inc"); ?>
|
||||
<th><?=gettext("Connected Since"); ?></th>
|
||||
<th><?=gettext("Virtual Address"); ?></th>
|
||||
<th><?=gettext("Remote Host"); ?></th>
|
||||
<th><?=gettext("Bytes Sent / Received"); ?></th>
|
||||
<th><?=gettext("Bytes Sent"); ?></th>
|
||||
<th><?=gettext("Bytes Received"); ?></th>
|
||||
<th><?=gettext("Service"); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -259,7 +262,8 @@ include("head.inc"); ?>
|
||||
<?=$sk_server['virtual_addr6'];?>
|
||||
</td>
|
||||
<td><?=$sk_server['remote_host'];?></td>
|
||||
<td><?=format_bytes($sk_server['bytes_sent']);?> / <?=format_bytes($sk_server['bytes_recv']);?></td>
|
||||
<td data-value="<?=trim($sk_server['bytes_sent'])?>"><?=format_bytes($sk_server['bytes_sent']);?></td>
|
||||
<td data-value="<?=trim($sk_server['bytes_recv'])?>"><?=format_bytes($sk_server['bytes_recv']);?></td>
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
@ -299,7 +303,8 @@ include("head.inc"); ?>
|
||||
<th><?=gettext("Local Address"); ?></th>
|
||||
<th><?=gettext("Virtual Address"); ?></th>
|
||||
<th><?=gettext("Remote Host"); ?></th>
|
||||
<th><?=gettext("Bytes Sent/Received"); ?></th>
|
||||
<th><?=gettext("Bytes Sent"); ?></th>
|
||||
<th><?=gettext("Bytes Received"); ?></th>
|
||||
<th><?=gettext("Service"); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -333,7 +338,8 @@ include("head.inc"); ?>
|
||||
<?=$client['remote_host'];?>:<?=$client['remote_port'];?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td><?=format_bytes($client['bytes_sent']);?> / <?=format_bytes($client['bytes_recv']);?></td>
|
||||
<td data-value="<?=trim($client['bytes_sent'])?>"><?=format_bytes($client['bytes_sent']);?></td>
|
||||
<td data-value="<?=trim($client['bytes_recv'])?>"><?=format_bytes($client['bytes_recv']);?></td>
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user