rbrindley: branch rbrindley/welcome_revamp r4181 - in /team/rbrindley/welcome...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Thu Nov 20 22:22:18 CST 2008


Author: rbrindley
Date: Thu Nov 20 22:22:17 2008
New Revision: 4181

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4181
Log:
added a placeholder for sortables

Modified:
    team/rbrindley/welcome_revamp/config/js/welcome2.js
    team/rbrindley/welcome_revamp/config/welcome2.html

Modified: team/rbrindley/welcome_revamp/config/js/welcome2.js
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/welcome_revamp/config/js/welcome2.js?view=diff&rev=4181&r1=4180&r2=4181
==============================================================================
--- team/rbrindley/welcome_revamp/config/js/welcome2.js (original)
+++ team/rbrindley/welcome_revamp/config/js/welcome2.js Thu Nov 20 22:22:17 2008
@@ -24,9 +24,11 @@
 
  	$('#sysstat_left_container, #sysstat_right_container').sortable({
 		axis: 'y',
+		containment: 'div.content_container',
 		cursor: 'move',
 		handle: 'div.handle',
-		items: '> div'
+		items: '> div',
+		placeholder: 'placeholder'
 	});
 
 	return;

Modified: team/rbrindley/welcome_revamp/config/welcome2.html
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/welcome_revamp/config/welcome2.html?view=diff&rev=4181&r1=4180&r2=4181
==============================================================================
--- team/rbrindley/welcome_revamp/config/welcome2.html (original)
+++ team/rbrindley/welcome_revamp/config/welcome2.html Thu Nov 20 22:22:17 2008
@@ -66,6 +66,7 @@
 }
 
 div.content_container div div.handle {
+	cursor: move;
 	color: #FFFFFF;
 	font-weight: bold;
 	background-color: #6b79a5;
@@ -74,6 +75,15 @@
 	-moz-border-radius-topright: 4px;
 	-webkit-border-radius-topleft: 4px;
 	-webkit-border-radius-topright: 4px;
+}
+
+div.placeholder {
+	background-color: #dddddd;
+	-moz-border-radius: 4px;
+	-webkit-border-radius: 4px;
+	border: 1px dotted #6b79a5;
+	margin: 4px;
+	height: 50px;
 }
 
 </style>




More information about the asterisk-gui-commits mailing list