mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add tunnel status
This commit is contained in:
parent
b579c8847d
commit
5fa80cad83
2 changed files with 28 additions and 2 deletions
|
@ -118,8 +118,12 @@
|
|||
{
|
||||
statusMessageClass = "error";
|
||||
statusIcon = "<%=resource%>/openmptcprouter/images/statusError.png";
|
||||
} else if (mArray.openmptcprouter.tun_state == "DOWN")
|
||||
{
|
||||
statusMessageClass = "warning";
|
||||
statusIcon = "<%=resource%>/openmptcprouter/images/statusWarning.png";
|
||||
statusMessage += 'Glorytun VPN tunnel DOWN';
|
||||
}
|
||||
|
||||
temp += getNetworkNodeTemplate(equipmentIcon, statusIcon, title, statusMessageClass,statusMessage,content);
|
||||
temp += '</a></td>'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue