&Header::openbox('100%', 'LEFT', $Lang::tr{'ovpn roadwarrior settings'});
+ # Show the service status
+ &Header::ServiceStatus({
+ $Lang::tr{'ovpn roadwarrior server'} => {
+ "process" => "openvpn",
+ "pidfile" => "/var/run/openvpn.pid",
+ }
+ });
+
print <<END;
<table width='100%' border='0'>
<form method='post'>
text-align: left;
}
+<<<<<<< HEAD
.tbl tr:nth-child(odd) td {
background-color: var(--color-grey);
}
background-color: var(--color-yellow);
}
+=======
+>>>>>>> 7b19c1312 (web: Create a function to show the service status)
.tbl th:first-child {
border-left: 1px solid #363636;
border-top: 1px solid #363636;
font-weight: bold;
}
+<<<<<<< HEAD
.tbl .status.is-running, .tbl .status.is-connected {
+=======
+.tbl .status.is-running {
+>>>>>>> 7b19c1312 (web: Create a function to show the service status)
background-color: var(--color-green);
color: var(--color-green-invert);
}
+<<<<<<< HEAD
.tbl .status.is-stopped, .tbl .status.is-disconnected {
+=======
+.tbl .status.is-stopped {
+>>>>>>> 7b19c1312 (web: Create a function to show the service status)
background-color: var(--color-red);
color: var(--color-red-invert);
}
width: 33%;
}
+<<<<<<< HEAD
.tbl .status.is-connecting {
background-color: var(--color-orange);
color: var(--color-orange-invert);
color: var(--color-black-invert);
}
+=======
+>>>>>>> 7b19c1312 (web: Create a function to show the service status)
table.fw-nat tbody tr td {
height: 2.25em;
}