From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 23 Feb 2007 22:07:47 -0000 Subject: [Cluster-devel] conga/luci cluster/form-chooser cluster/form-m ... Message-ID: <20070223220747.24209.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: rmccabe at sourceware.org 2007-02-23 22:07:45 Modified files: luci/cluster : form-chooser form-macros luci/homebase : luci_homebase.css luci/site/luci/Extensions: cluster_adapters.py conga_constants.py ricci_bridge.py Added files: luci/cluster : validate_sys_svc.js luci/plone-custom: conga_ajax.js svc_reload.png svc_reload_active.png svc_reload_disabled.png svc_start.png svc_start_active.png svc_start_disabled.png svc_stop.png svc_stop_active.png svc_stop_disabled.png luci/site/luci/Extensions: system_adapters.py Log message: - System service management interface (chkconfig / service start/stop/restart) Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/validate_sys_svc.js.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-chooser.diff?cvsroot=cluster&r1=1.16&r2=1.17 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.192&r2=1.193 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/luci_homebase.css.diff?cvsroot=cluster&r1=1.39&r2=1.40 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/conga_ajax.js.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/svc_reload.png.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/svc_reload_active.png.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/svc_reload_disabled.png.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/svc_start.png.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/svc_start_active.png.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/svc_start_disabled.png.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/svc_stop.png.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/svc_stop_active.png.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/svc_stop_disabled.png.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/system_adapters.py.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&r1=1.243&r2=1.244 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/conga_constants.py.diff?cvsroot=cluster&r1=1.36&r2=1.37 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ricci_bridge.py.diff?cvsroot=cluster&r1=1.58&r2=1.59 /cvs/cluster/conga/luci/cluster/validate_sys_svc.js,v --> standard output revision 1.1 --- conga/luci/cluster/validate_sys_svc.js +++ - 2007-02-23 22:07:45.984856000 +0000 @@ -0,0 +1,22 @@ +function svc_callback() { + if (xmlHttp_object.readyState == 4) { + if (xmlHttp_object.status == 200) { + var response = xmlHttp_object.responseXML; + if (response) { + req_status = response.getAttribute('success'); + req_op = response.getAttribute('operation'); + req_svc = response.getAttribute('service'); + req_msg = response.getAttribute('message'); + //alert(req_msg + ' / ' + req_status + ' / ' + req_op + ' / ' + req_svc); + } else { + alert(xmlHttp_object.responseText); + } + } else { + //alert('Error retrieving data from server: ' + xmlHttp_object.status); + } + } +} + +function update_sys_svc(url) { + initiate_async_get(url, svc_callback); +} --- conga/luci/cluster/form-chooser 2007/02/01 20:27:33 1.16 +++ conga/luci/cluster/form-chooser 2007/02/23 22:07:45 1.17 @@ -149,11 +149,15 @@
-
- + +
+ + +
+ --- conga/luci/cluster/form-macros 2007/02/20 23:06:59 1.192 +++ conga/luci/cluster/form-macros 2007/02/23 22:07:45 1.193 @@ -5022,10 +5022,110 @@
+

Fence Device Process Form

+
+ + +

Configure System Services

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameStateEnabled at boot
+ + + + + + + + + + + + +
+
+ +
+
+
+
+ +
+ +
+

Edit cluster.conf