Major update/rewrite/recombine to get SSDP, and GrowController UI and application shell.
This commit is contained in:
20
Firmware/Resources/nav.js
Normal file
20
Firmware/Resources/nav.js
Normal file
@@ -0,0 +1,20 @@
|
||||
//
|
||||
//
|
||||
function NavInit() {
|
||||
nav = document.getElementById('nav');
|
||||
var txt = "<table>";
|
||||
txt += "<tr valign='top'>";
|
||||
txt += " <td>NAV:</td>";
|
||||
txt += " <td>";
|
||||
txt += " <a href='index.htm'>Home</a> | ";
|
||||
txt += " <a href='config'>Config</a> | ";
|
||||
txt += " <a href='scan'>Scan</a> | ";
|
||||
txt += " <a href='rssi.htm'>RSSI</a> | ";
|
||||
txt += " <a href='curr.htm'>Current</a> | ";
|
||||
txt += " <a href='config?ssid=reset&pass=reset' onclick=\\\"return confirm('Are you sure?')\\\">Factory Reset</a> | ";
|
||||
txt += " <a href='about.htm'>About</a>";
|
||||
txt += " </td>";
|
||||
txt += "</tr>";
|
||||
txt += "</table>";
|
||||
nav.innerHTML = txt;
|
||||
}
|
||||
Reference in New Issue
Block a user