mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
openvpn: widget style tweaks
This commit is contained in:
parent
a7b1a70533
commit
a0f2e8fac8
@ -29,7 +29,6 @@
|
||||
require_once("guiconfig.inc");
|
||||
require_once("plugins.inc.d/openvpn.inc");
|
||||
|
||||
|
||||
function openvpn_config()
|
||||
{
|
||||
global $config;
|
||||
@ -74,7 +73,6 @@ function openvpn_config()
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
$openvpn_status = json_decode(configd_run('openvpn connections client,server'), true) ?? [];
|
||||
$openvpn_cfg = openvpn_config();
|
||||
foreach ($openvpn_cfg as $section => &$ovpncfg) {
|
||||
@ -85,6 +83,7 @@ foreach ($openvpn_cfg as $section => &$ovpncfg) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
<script>
|
||||
$("#dashboard_container").on("WidgetsReady", function() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user