pari: trunk r195 - /trunk/config/

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Wed Dec 27 13:55:48 MST 2006


Author: pari
Date: Wed Dec 27 14:55:47 2006
New Revision: 195

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=195
Log:
Add the 'Incoming calls' panel to cfgadvanced.html, cfgappliance.html and also revert back to the old version of networking.html. networking.html is just a placeholder, we are working on new version that will be able to manage the network settings of the digium appliance  -pari

Modified:
    trunk/config/cfgadvanced.html
    trunk/config/cfgappliance.html
    trunk/config/networking.html

Modified: trunk/config/cfgadvanced.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cfgadvanced.html?view=diff&rev=195&r1=194&r2=195
==============================================================================
--- trunk/config/cfgadvanced.html (original)
+++ trunk/config/cfgadvanced.html Wed Dec 27 14:55:47 2006
@@ -72,6 +72,9 @@
 
 		new PanelDef("numberplan", "Calling Rules", "accordion-icon.gif",
 			"The Calling Rules define dialing permissions and least cost routing rules."),
+
+		new PanelDef("incoming", "Incoming Calls", "accordion-icon.gif",
+			"Define how your incoming calls should be handled & configure DID (Direct inward Dialing)"),
 
 		new PanelDef("menus", "Voice Menus", "accordion-icon.gif",
 			"Menus allow for more efficient routing of calls from incoming callers."),

Modified: trunk/config/cfgappliance.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cfgappliance.html?view=diff&rev=195&r1=194&r2=195
==============================================================================
--- trunk/config/cfgappliance.html (original)
+++ trunk/config/cfgappliance.html Wed Dec 27 14:55:47 2006
@@ -72,6 +72,9 @@
 
 		new PanelDef("numberplan", "Calling Rules", "accordion-icon.gif",
 			"The Calling Rules defines dialing permissions and least cost routing rules."),
+
+		new PanelDef("incoming", "Incoming Calls", "accordion-icon.gif",
+			"Define how your incoming calls should be handled & configure DID (Direct inward Dialing)"),
 
 		new PanelDef("networking", "Networking", "accordion-icon.gif",
 			"Configures networking parameters"),

Modified: trunk/config/networking.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/networking.html?view=diff&rev=195&r1=194&r2=195
==============================================================================
--- trunk/config/networking.html (original)
+++ trunk/config/networking.html Wed Dec 27 14:55:47 2006
@@ -79,7 +79,7 @@
 		$('hiddennetworking').selectedIndex = 0;
 		if ($('hiddennetworking').onchange)
 			$('hiddennetworking').onchange($('hiddenvoicemail'));
-		//parent.loadscreen(this);
+		parent.loadscreen(this);
 	}
 	
 	networkingcallbacks.format = function(t) {
@@ -89,10 +89,6 @@
 	}
 	
 	function localajaxinit() {
-	parent.loadscreen(this);
-	return;
-
-
 		$('advancedw').style.overflow = "hidden";
 		$('advancedw').style.height = 1;
 		$('advancedw').style.width = $('split').width;
@@ -118,51 +114,13 @@
 </div>
 <div class="mainscreenContentBox" id="mailboxcontent">
 <table class="mainscreenTable" align="center">
-		<TR>
-			<TD valign="top" align="right">WAN Settings:</TD>
-			<TD>
-			<!--  wan settings -->
-					<TABLE>
-						<TR>
-							<TD><input type=radio id="wan_type" name="want_itype" value="dhcp">DHCP</TD>
-							<TD><input type=radio id="wan_type" name="want_itype" value="static">Static</TD>
-						</TR>
-						<TR>
-							<TD>IP</TD>
-							<TD><input size=14 id="wan_staticip"></TD>
-						</TR>
-						<TR>
-							<TD>SubNet</TD>
-							<TD><input size=14 id="wan_staticsubnet"></TD>
-						</TR>
-						<TR>
-							<TD>Gateway</TD>
-							<TD><input size=14 id="wan_staticgateway"></TD>
-						</TR>
-					</TABLE>
-			<!--  wan settings -->
-			</TD>
-		</TR>
-		<TR>
-			<TD  valign="top" align="right">LAN Settings:</TD>
-			<TD>
-			<!--  Lan settings -->
-				<table align='center'>
-				<tr><td>Local Subnet</td><td><input type='text' size='16' id='LAN_SUBBLOCK'></td></tr>
-				<tr><td>Alternate Local Subnet</td><td><input size='16' type='text' id='LAN_ALTSUBBLOCK'></td></tr>
-				<tr><td>Netmask</td><td><input type='text' size='16' id='LAN_NETMASK'></td></tr>
-				<tr><td>DHCP Start unit</td><td><input type='text' size='5' id='LAN_DHCPSTARTUNIT'></td></tr>
-				<tr><td>DHCP Count</td><td><input type='text' size='5' id='LAN_DHCPCOUNT'></td></tr>
-				</table>
-			<!--  Lan settings -->
-			</TD>
-		</TR>
-		<TR>
-			<TD valign="top" align="right">WIRELESS Settings:</TD>
-			<TD>
-			<!--  wireless settings -->
-
-<table>
+	<tr valign="top"><td height=20></td>	</tr>
+	<tr valign="top">
+		<td height=395 align=center>
+		<div id='adjustments'>
+		<table cellspacing='0' cellpadding='0'>
+			<tr valign="top"><td>
+				<table>
 				<tr><td>Operating Mode:</td><td><select id='OPERMODE'>
 					<option value='FCC'>FCC (US, Canada)</option>
 					<option value='TBR21'>TBR21 (Most of Europe)</option>
@@ -239,29 +197,43 @@
 					<option value="YEMEN">Yemen</option>
 				</select></td></tr>
 				<tr><td>Hostname:</td><td><input type='text' id='HOSTNAME'></td></tr>
-				<tr><td>ESSID:</td><td><input type='text' id='WL_ESSID'></td></tr>
-				<tr><td>WEP Key:</td><td><input type='text' id='WL_WEPKEY'></td></tr>
-						<TR>
-							<TD><input type=radio id="WL_type" name="wl_itype" value="dhcp">DHCP</TD>
-							<TD><input type=radio id="WL_type" name="wl_itype" value="static">Static</TD>
-						</TR>
-						<TR>
-							<TD>IP</TD>
-							<TD><input size=14 id="wl_staticip"></TD>
-						</TR>
-						<TR>
-							<TD>SubNet</TD>
-							<TD><input size=14 id="wl_staticsubnet"></TD>
-						</TR>
-						<TR>
-							<TD>Gateway</TD>
-							<TD><input size=14 id="wl_staticgateway"></TD>
-						</TR>
+				<tr><td>ESSID:</td><td><input type='text' id='ESSID'></td></tr>
+				<tr><td>WEP Key:</td><td><input type='text' id='WEPKEY'></td></tr>
+				<tr><td>SSH Access:</td><td><select id='SSHACCESS'><option value=''>Disabled</option><option value='yes'>Enabled</option></select></td></tr>
+				<tr><td colspan='2' align='center'><div style="height:15px" id='status'></div></td></tr>
 				</table>
-			<!--  wireless settings -->
-			</TD>
-		</TR>
-
+			</td>
+			</tr>
+			<tr><td><img id="split" onClick="togglefeatures()" src="images/split-v.gif"></td></tr>
+			<tr><td>
+				<div style="background-image:url(images/slice-v.gif)" id='advancedw'>
+				<table id='advancedi' align='center'>
+				<tr><td></td><td width='50' height=5></td><td></td></tr>
+				<tr><td>Local Subnet</td><td><input type='text' size='16' id='SUBBLOCK'></td></tr>
+				<tr><td>Alternate Local Subnet</td><td><input size='16' type='text' id='ALTSUBBLOCK'></td></tr>
+				<tr><td>Netmask</td><td><input type='text' size='16' id='NETMASK'></td></tr>
+				<tr><td>DHCP Start unit</td><td><input type='text' size='5' id='DHCPSTARTUNIT'></td></tr>
+				<tr><td>DHCP Count</td><td><input type='text' size='5' id='DHCPCOUNT'></td></tr>
+				</table>
+				</div>
+			</td></tr>
+			<tr><td>
+				<img onClick="togglefeatures()" src="images/adv-v.gif">
+			</td>
+			</tr>
+		</table>
+		</div>
+		</td>
+	</tr>
+	<tr><td align='center' colspan='2'>
+						<input type='hidden' id='name'>
+						<input style='width:80' type='button' id='save' value='Save'>&nbsp;&nbsp;<input style='width:80' type='button' id='cancel' value='Cancel'>
+						<div style='visibility:hidden;overflow:hidden;width:0px;height:0px'>
+								<select id='hiddenusers'>	</select>
+								<select id='hiddennetworking'></select>
+						</div>
+			</td>				
+	</tr>
 </table>
 </div>
 </body>



More information about the asterisk-gui-commits mailing list