openvpn: style #2440

This commit is contained in:
Franco Fichtner 2018-06-05 19:39:06 +00:00
parent 1d6b49090f
commit 02ca3bd6f3
2 changed files with 4 additions and 4 deletions

View File

@ -165,7 +165,7 @@ $( document ).ready(function() {
data-client-ip="<?=$conn['remote_host'];?>"
title="<?=gettext("Kill client connection from"). " ". $conn['remote_host'] ; ?>"
class="act_kill_client btn btn-default">
<span class="glyphicon glyphicon-remove"></span>
<i class="fa fa-times fa-fw"></i>
</button>
</td>
</tr>

View File

@ -70,7 +70,7 @@ $clients = openvpn_get_active_clients();
<td><?=$conn['common_name'];?><br/><?=$conn['connect_time'];?></td>
<td><?=$conn['remote_host'];?><br/><?=$conn['virtual_addr'];?></td>
<td>
<span class="glyphicon glyphicon-remove act_kill_client" data-client-port="<?=$server['mgmt'];?>"
<span class="fa fa-times fa-fw act_kill_client" data-client-port="<?=$server['mgmt'];?>"
data-client-ip="<?=$conn['remote_host'];?>"
style='cursor:pointer;'
title='Kill client connection from <?=$conn['remote_host']; ?>'>
@ -104,7 +104,7 @@ $clients = openvpn_get_active_clients();
<td><?=$sk_server['name'];?><br/><?=$sk_server['connect_time'];?></td>
<td><?=$sk_server['remote_host'];?><br/><?=$sk_server['virtual_addr'];?></td>
<td>
<span class='glyphicon glyphicon-transfer <?=$sk_server['status'] == "up" ? "text-success" : "text-danger";?>'></span>
<span class='fa fa-exchange fa-fw <?=$sk_server['status'] == "up" ? "text-success" : "text-danger";?>'></span>
</td>
</tr>
<?php
@ -135,7 +135,7 @@ endif; ?>
<td><?=$client['name'];?><br/><?=$client['connect_time'];?></td>
<td><?=$client['remote_host'];?><br/><?=$client['virtual_addr'];?></td>
<td>
<span class='glyphicon glyphicon-transfer <?=$client['status'] == "up" ? "text-success" : "text-danger" ;?>'></span>
<span class='fa fa-exchange fa-fw <?=$client['status'] == "up" ? "text-success" : "text-danger" ;?>'></span>
</td>
</tr>
<?php