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

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


Author: rbrindley
Date: Thu Nov 20 20:27:36 2008
New Revision: 4178

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4178
Log:
added document onload function and initial sortable initialization\nalso made placeholders for content and handles

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=4178&r1=4177&r2=4178
==============================================================================
--- team/rbrindley/welcome_revamp/config/js/welcome2.js (original)
+++ team/rbrindley/welcome_revamp/config/js/welcome2.js Thu Nov 20 20:27:36 2008
@@ -1,0 +1,33 @@
+/*
+ * Asterisk-GUI	- an Asterisk configuration interface
+ *
+ * welcome2.html functions
+ *
+ * Copyright (C) 2006-2008, Digium, Inc.
+ *
+ * Ryan Brindley <rbrindley at digium.com
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ *
+ */
+
+ /* This function will be called when the page has completed loading */
+ $(document).ready(function() {
+
+ 	$('#sysstat_left_container, #sysstat_right_container').sortable({
+		axis: 'y',
+		cursor: 'move',
+		handle: 'div.handle',
+		items: '> div'
+	});
+
+	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=4178&r1=4177&r2=4178
==============================================================================
--- team/rbrindley/welcome_revamp/config/welcome2.html (original)
+++ team/rbrindley/welcome_revamp/config/welcome2.html Thu Nov 20 20:27:36 2008
@@ -52,15 +52,33 @@
 	</div>
 
 	<div id="sysstat_left_container">
-		<div id="sys_status_users"></div>
-		<div id="sys_status_trunks"></div>
-		<div id="sys_status_queues"></div>
+		<div id="sys_status_users">
+			<div class="handle">ima handle</div>
+			item 1
+		</div>
+		<div id="sys_status_trunks">
+			<div class="handle">ima handle</div>
+			item 2
+		</div>
+		<div id="sys_status_queues">
+			<div class="handle">ima handle</div>
+			item 3
+		</div>
 	</div>
 
 	<div id="sysstat_right_container">
-		<div id="sys_status_agents"></div>
-		<div id="sys_status_meetme"></div>
-		<div id="sys_status_plot"></div>
+		<div id="sys_status_agents">
+			<div class="handle">ima handle</div>
+			item 4
+		</div>
+		<div id="sys_status_meetme">
+			<div class="handle">ima handle</div>
+			item 5
+		</div>
+		<div id="sys_status_plot">
+			<div class="handle">ima handle</div>
+			item 6
+		</div>
 	</div>
 
 	<div id="sysstat_ftr_container">




More information about the asterisk-gui-commits mailing list