pari: trunk r307 - in /trunk/config: ./ stylesheets/

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Tue Jan 30 22:36:58 MST 2007


Author: pari
Date: Tue Jan 30 23:36:57 2007
New Revision: 307

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=307
Log:
minor CSS fixes for home.html

Modified:
    trunk/config/home.html
    trunk/config/stylesheets/schwing.css
    trunk/config/users.html

Modified: trunk/config/home.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/home.html?view=diff&rev=307&r1=306&r2=307
==============================================================================
--- trunk/config/home.html (original)
+++ trunk/config/home.html Tue Jan 30 23:36:57 2007
@@ -67,6 +67,8 @@
 		parent.setLoggedOn(1);
 		parent.loggedon = 1;
 		localloggedon = 1;
+		$('username').className  = "input9_disabled";
+		$('secret').className  = "input9_disabled";
 		updateButtons();
 		$('statusbar').innerHTML = "<img src='images/tick.gif'><i>Connected!</i>";
 		parent.document.getElementById('logoutlink').innerHTML = "Logout";
@@ -79,6 +81,8 @@
 		parent.setLoggedOn(0);
 		parent.document.getElementById('logoutlink').innerHTML = "&nbsp;";
 		localloggedon = 0;
+		$('username').className  = "input9";
+		$('secret').className  = "input9";
 		updateButtons();
 	}
 	
@@ -103,14 +107,12 @@
 		if (resp == "Pong") {
 			$('statusbar').innerHTML = "<i>Already connected...</i>";
 			loggedOn();
+			parent.loadscreen(this);
 		} else {
 			$('statusbar').innerHTML = "<i>Please login...</i>";
 			loggedOff();
-		}
-	}
-
-	function localajaxinit() {
-		parent.loadscreen(this);
+			parent.loadscreen(this);
+		}
 	}
 
 	function doLogin() {
@@ -132,6 +134,8 @@
 	}
 	
 	function doLogoff() {
+		if(confirm("Are you sure ?") == false)
+			return true;
 		$('statusbar').innerHTML = "<i>Logging off...</i>";
 		parent.astmanEngine.sendRequest('action=logoff', demo.logoffs);
 	}
@@ -139,7 +143,6 @@
 		parent.astmanEngine.sendRequest('action=ping', demo.pongs);
 	}
 	function localinit() {
-		localajaxinit();
 		localajaminit();
 	}
 

Modified: trunk/config/stylesheets/schwing.css
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/stylesheets/schwing.css?view=diff&rev=307&r1=306&r2=307
==============================================================================
--- trunk/config/stylesheets/schwing.css (original)
+++ trunk/config/stylesheets/schwing.css Tue Jan 30 23:36:57 2007
@@ -88,6 +88,13 @@
 	*/
 }
 
+.input9_disabled {
+	background-color : #EFEFEF;
+	font-size: 9pt;
+	border:1px solid; 
+	padding : 0px 0px 0px 3px;
+}
+
 .input10 {
 	font-size: 10pt;
 	border:1px solid; 

Modified: trunk/config/users.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/users.html?view=diff&rev=307&r1=306&r2=307
==============================================================================
--- trunk/config/users.html (original)
+++ trunk/config/users.html Tue Jan 30 23:36:57 2007
@@ -305,7 +305,7 @@
 		<td colspan=2>Extensions: ( <span id="link_sortby"></span>) </td>	
 	</tr>
 	<tr valign="top">
-		<td>	<select disabled size="28" id="devices" style="width:220px; height: 415px"  class="input10">
+		<td>	<select disabled size="25" id="devices" style="width:220px;"  class="input10">
 						<option>Loading...</option>
 					</select>
 		</td>



More information about the asterisk-gui-commits mailing list