svn commit: samba r17628 - in branches/SOC/sree/ui: .
sree at samba.org
sree at samba.org
Sun Aug 20 19:26:26 GMT 2006
Author: sree
Date: 2006-08-20 19:26:26 +0000 (Sun, 20 Aug 2006)
New Revision: 17628
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17628
Log:
Add User Manager to the SWAT Menu.
Fix a bug in newuser.js that failed to enable the Create button.
Added:
branches/SOC/sree/ui/menu_js_patch
Modified:
branches/SOC/sree/ui/README
branches/SOC/sree/ui/newuser.js
branches/SOC/sree/ui/usermanager.esp
Changeset:
Modified: branches/SOC/sree/ui/README
===================================================================
--- branches/SOC/sree/ui/README 2006-08-20 18:43:19 UTC (rev 17627)
+++ branches/SOC/sree/ui/README 2006-08-20 19:26:26 UTC (rev 17628)
@@ -1,11 +1,14 @@
-This is the UI code for the User Management Interface for SWAT. It
-however not yet linked completely yet to SWAT.
+This is the UI code for the User Manager for SWAT.
+Notes: The major issue with the UI is that it does not yet
+auto-refresh to reflect changes like creation of users. You must
+manually refresh it.
+
The contents of this directory must be installed in
/usr/local/samba/share/swat/user_manager/ and must be accessed through
SWAT.
-Qooxdoo 0.5.3 is used instead of the Qooxdoo supplied with Samba.
+Qooxdoo 0.5.3 is used instead of the Qooxdoo supplied with Samba.
Integrating Qooxdoo 0.5.3 into Samba
-------------------------------------
@@ -18,15 +21,13 @@
3. Apply header_columns_patch to
/usr/local/samba/share/swat/scripting/header_columns.esp
-4. Declare requiredQooxdoo = "0.5.3" at the top of files requiring
+4. Apply menu_js_patch to
+ /usr/local/samba/share/swat/menu.js
+
+5. Declare requiredQooxdoo = "0.5.3" at the top of files requiring
qooxdoo 0.5.3, before including header_columns.esp
That's it.
Programs developed using the old Qooxdoo version will continue to
function as before, and will use the older Qooxdoo.
-
-
-
-
-
Added: branches/SOC/sree/ui/menu_js_patch
===================================================================
--- branches/SOC/sree/ui/menu_js_patch 2006-08-20 18:43:19 UTC (rev 17627)
+++ branches/SOC/sree/ui/menu_js_patch 2006-08-20 19:26:26 UTC (rev 17628)
@@ -0,0 +1,17 @@
+--- swat/menu.js 2006-05-27 00:52:19.000000000 +0530
++++ swat/menu.js.new 2006-08-21 00:47:52.000000000 +0530
+@@ -10,7 +10,8 @@
+ "Main Menu",
+ "Servers", session_uri("/?menu=servers"),
+ "Installation", session_uri("/install/"),
+- "ESP Tests", session_uri("/esptest/"));
++ "ESP Tests", session_uri("/esptest/"),
++ "User Manager", session_uri("/user_manager/"));
+
+ swat_menus.servers = simple_menu(
+ "Servers",
+@@ -61,3 +62,4 @@
+ "CSS1/2 Reference", "http://www.w3schools.com/css/css_reference.asp",
+ "qooxdoo info", "http://qooxdoo.sourceforge.net/");
+
++swat_menus.usermanager = simple_menu("User Manager");
Modified: branches/SOC/sree/ui/newuser.js
===================================================================
--- branches/SOC/sree/ui/newuser.js 2006-08-20 18:43:19 UTC (rev 17627)
+++ branches/SOC/sree/ui/newuser.js 2006-08-20 19:26:26 UTC (rev 17628)
@@ -186,7 +186,7 @@
for(var i = 0; i < txtBoxes.length; i++)
{
txtBoxes[i].addEventListener("input", __toggle_create);
- // txtBoxes[i].addEventListener("blur", __toggle_create);
+ txtBoxes[i].addEventListener("blur", __toggle_create);
}
bl.setOrientation(QxConst.ORIENTATION_VERTICAL);
Modified: branches/SOC/sree/ui/usermanager.esp
===================================================================
--- branches/SOC/sree/ui/usermanager.esp 2006-08-20 18:43:19 UTC (rev 17627)
+++ branches/SOC/sree/ui/usermanager.esp 2006-08-20 19:26:26 UTC (rev 17628)
@@ -1,6 +1,6 @@
<%
requiredQooxdoo = "0.5.3";
- page_header("columns", "User Manager", "esptest");
+ page_header("columns", "User Manager", "usermanager");
%>
<script type="text/javascript" src="/user_manager/userbrowser.js"></script>
More information about the samba-cvs
mailing list