mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fixes and set detected ip in a new uci section
This commit is contained in:
parent
8a1b59f1d2
commit
8e03e42f54
5 changed files with 50 additions and 31 deletions
|
@ -178,7 +178,7 @@
|
|||
temp += '</td></tr>';
|
||||
temp += '<tr><td><div class="vertdash" ></div></td></tr>';
|
||||
temp += '<tr><td>';
|
||||
temp += '<a href="#" id="omr-vps">';
|
||||
temp += '<a href="<%=url('admin/system/openmptcprouter/wizard')%>" id="omr-vps">';
|
||||
var statusIcon = "<%=resource%>/openmptcprouter/images/statusOK.png";
|
||||
var equipmentIcon = '<img src="<%=resource%>/server.png" />';
|
||||
if (mArray.openmptcprouter.wan_addr == mArray.openmptcprouter.service_addr || (mArray.openmptcprouter.wan_addr !== "" && mArray.openmptcprouter.service_addr == "127.0.0.1"))
|
||||
|
@ -195,6 +195,9 @@
|
|||
if (mArray.openmptcprouter.wan_addr == "" && mArray.openmptcprouter.ss_addr == "")
|
||||
{
|
||||
statusMessage += 'No VPS IP address, No WAN IP address<br/>';
|
||||
} else if (mArray.openmptcprouter.wan_addr == "")
|
||||
{
|
||||
statusMessage += 'No WAN IP address<br/>';
|
||||
}
|
||||
if (mArray.openmptcprouter.wan_addr !== "" && mArray.openmptcprouter.vps_status == "DOWN")
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue