mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00
23 lines
672 B
HTML
23 lines
672 B
HTML
<script type="text/javascript">//<![CDATA[
|
|
XHR.poll(3, '<%=url([[admin]], [[services]], [[mwan3helper]], [[status]])%>', null,
|
|
function(x, data) {
|
|
var tb = document.getElementById('mwan3helper_status');
|
|
if (data && tb) {
|
|
if (data.running) {
|
|
var links = '<em><b><font color=green>MWAN3 Helper <%:RUNNING%></font></b></em>';
|
|
tb.innerHTML = links;
|
|
} else {
|
|
tb.innerHTML = '<em><b><font color=red>MWAN3 Helper <%:NOT RUNNING%></font></b></em>';
|
|
}
|
|
}
|
|
}
|
|
);
|
|
//]]>
|
|
</script>
|
|
<style>.mar-10 {margin-left: 50px; margin-right: 10px;}</style>
|
|
<fieldset class="cbi-section">
|
|
<p id="mwan3helper_status">
|
|
<em><%:Collecting data...%></em>
|
|
</p>
|
|
</fieldset>
|