- <td>
+ <div id="dashboard_tip" class="tip">Monitor the status of your phone system</div>
+ <div id="network_tip" class="tip">Set up the network and connect to the Internet</div>
+ <td valign="top" >
<table align="right" width=200>
- <tr><td>Menu 1</td></tr>
- <tr><td>Menu 2</td></tr>
+ <tr><td><h2> </h2></td></tr>
+ <tr onMouseOver="popUp(event,'dashboard_tip')" onmouseout="popUp(event,'dashboard_tip')">
+ <td><a href="dashboard.sh">Dashboard</a></td>
+ </tr>
+ <tr onMouseOver="popUp(event,'network_tip')" onmouseout="popUp(event,'network_tip')">
+ <td><a href="network.sh">Network</a></td>
+ </tr>
+ <tr>
+ <td><a href="logout.sh">Logout</a></td>
+ </tr>
</table>
</td>
<title>Easy Asterisk - Network</title>
<body onload="localInit()">
<div id="t1" class="tip">Tells you if I can reach the Internet. If not "Good" check your network settings, in particular Gateway and DNS.</div>
-<form action="/cgi-bin/set_network.sh" onsubmit="return validate_form(this)" method="get">
-<table align="center" width=600>
-<tr>
- <tr><td colspan="2" align="left"><h2>Network</h2></td>
- <tr>
- <td><input type="radio" id="static" name="dhcp" value="no" onClick="doStatic()">Static</td>
- <td><input type="radio" id="dhcp" name="dhcp" value="yes" onClick="doDHCP()">DHCP</td>
- </tr>
- <tr><td>IP Address:</td><td><input type="text" name="ipaddress" id="ipaddress" onBlur="isIP(this)"></td></tr>
- <tr><td>Netmask:</td><td><input type="text" name="netmask" id="netmask" onBlur="isIP(this)"></td></tr>
- <tr><td>Gateway:</td><td><input type="text" name="gateway" id="gateway" onBlur="isIP(this)"></td></tr>
- <tr><td>DNS:</td><td><input type="text" name="dns" id="dns" onBlur="isIP(this)"></td></tr>
- <tr onMouseOver="popUp(event,'t1')" onmouseout="popUp(event,'t1')">
- <td>Internet Connection:</td>
- <td><div id="internet" >
- <span style="margin-left: 4px;font-weight:bold"> </span></div></td>
-
- </tr>
- <tr><td><input id="networkapply" type="submit" value="Apply"></td></tr>
-</tr>
+
+<table align="center" width=800>
+EOF
+cat banner.html
+echo " <tr>"
+cat menu.html
+cat <<EOF
+
+ <td>
+
+ <form action="/cgi-bin/set_network.sh" onsubmit="return validate_form(this)" method="get">
+ <table align="center" width=600>
+ <tr>
+ <tr><td colspan="2" align="left"><h2>Network</h2></td>
+ <tr>
+ <td><input type="radio" id="static" name="dhcp" value="no" onClick="doStatic()">Static</td>
+ <td><input type="radio" id="dhcp" name="dhcp" value="yes" onClick="doDHCP()">DHCP</td>
+ </tr>
+ <tr><td>IP Address:</td><td><input type="text" name="ipaddress" id="ipaddress" onBlur="isIP(this)"></td></tr>
+ <tr><td>Netmask:</td><td><input type="text" name="netmask" id="netmask" onBlur="isIP(this)"></td></tr>
+ <tr><td>Gateway:</td><td><input type="text" name="gateway" id="gateway" onBlur="isIP(this)"></td></tr>
+ <tr><td>DNS:</td><td><input type="text" name="dns" id="dns" onBlur="isIP(this)"></td></tr>
+ <tr onMouseOver="popUp(event,'t1')" onmouseout="popUp(event,'t1')">
+ <td>Internet Connection:</td>
+ <td><div id="internet" >
+ <span style="margin-left: 4px;font-weight:bold"> </span></div></td>
+
+ </tr>
+ <tr><td><input id="networkapply" type="submit" value="Apply"></td></tr>
+ </tr>
+ </table>
+ </form>
+
+ </td>
+
+ </tr>
+
</table>
-</form>
+
</html>
EOF