From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 25 Sep 2007 22:47:07 -0000 Subject: [Cluster-devel] conga/luci cluster/form-chooser cluster/form-m ... Message-ID: <20070925224707.12118.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-09-25 22:47:05 Modified files: luci/cluster : form-chooser form-macros resource-form-macros luci/homebase : form-chooser form-macros luci_homebase.css luci/plone-custom: sys_svc.css luci/storage : cylinder_select.js form-macros storage_probing.js storage_utils.js storage_validation.js validate_html Log message: More cleanup and fix some javascript bugs Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-chooser.diff?cvsroot=cluster&r1=1.19&r2=1.20 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.213&r2=1.214 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/resource-form-macros.diff?cvsroot=cluster&r1=1.42&r2=1.43 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/form-chooser.diff?cvsroot=cluster&r1=1.11&r2=1.12 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/form-macros.diff?cvsroot=cluster&r1=1.61&r2=1.62 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/luci_homebase.css.diff?cvsroot=cluster&r1=1.43&r2=1.44 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/sys_svc.css.diff?cvsroot=cluster&r1=1.1&r2=1.2 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/cylinder_select.js.diff?cvsroot=cluster&r1=1.3&r2=1.4 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/form-macros.diff?cvsroot=cluster&r1=1.28&r2=1.29 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/storage_probing.js.diff?cvsroot=cluster&r1=1.1&r2=1.2 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/storage_utils.js.diff?cvsroot=cluster&r1=1.1&r2=1.2 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/storage_validation.js.diff?cvsroot=cluster&r1=1.1&r2=1.2 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/validate_html.diff?cvsroot=cluster&r1=1.6&r2=1.7 --- conga/luci/cluster/form-chooser 2007/08/08 21:00:06 1.19 +++ conga/luci/cluster/form-chooser 2007/09/25 22:47:05 1.20 @@ -1,3 +1,12 @@ + +** Copyright (C) 2006-2007 Red Hat, Inc. +** +** This program is free software; you can redistribute +** it and/or modify it under the terms of version 2 of the +** GNU General Public License as published by the +** Free Software Foundation. + + --- conga/luci/cluster/form-macros 2007/09/25 03:51:02 1.213 +++ conga/luci/cluster/form-macros 2007/09/25 22:47:05 1.214 @@ -1,3 +1,12 @@ + +** Copyright (C) 2006-2007 Red Hat, Inc. +** +** This program is free software; you can redistribute +** it and/or modify it under the terms of version 2 of the +** GNU General Public License as published by the +** Free Software Foundation. + + --- conga/luci/cluster/resource-form-macros 2007/09/25 03:51:02 1.42 +++ conga/luci/cluster/resource-form-macros 2007/09/25 22:47:05 1.43 @@ -1,3 +1,12 @@ + +** Copyright (C) 2006-2007 Red Hat, Inc. +** +** This program is free software; you can redistribute +** it and/or modify it under the terms of version 2 of the +** GNU General Public License as published by the +** Free Software Foundation. + + The title --- conga/luci/homebase/form-chooser 2006/11/01 23:04:17 1.11 +++ conga/luci/homebase/form-chooser 2007/09/25 22:47:05 1.12 @@ -1,3 +1,12 @@ + +** Copyright (C) 2006-2007 Red Hat, Inc. +** +** This program is free software; you can redistribute +** it and/or modify it under the terms of version 2 of the +** GNU General Public License as published by the +** Free Software Foundation. + + --- conga/luci/homebase/form-macros 2007/09/25 03:51:21 1.61 +++ conga/luci/homebase/form-macros 2007/09/25 22:47:05 1.62 @@ -1,3 +1,12 @@ + +** Copyright (C) 2006-2007 Red Hat, Inc. +** +** This program is free software; you can redistribute +** it and/or modify it under the terms of version 2 of the +** GNU General Public License as published by the +** Free Software Foundation. + + --- conga/luci/homebase/luci_homebase.css 2007/09/25 03:51:21 1.43 +++ conga/luci/homebase/luci_homebase.css 2007/09/25 22:47:05 1.44 @@ -1,3 +1,12 @@ +/* +** Copyright (C) 2006-2007 Red Hat, Inc. +** +** This program is free software; you can redistribute +** it and/or modify it under the terms of version 2 of the +** GNU General Public License as published by the +** Free Software Foundation. +*/ + input[type=text], input[type=password] { padding: .2em ! important; font-family: "Bitstream Vera Sans Mono", "DejaVu Sans Mono", monospace; --- conga/luci/plone-custom/sys_svc.css 2007/06/28 16:02:50 1.1 +++ conga/luci/plone-custom/sys_svc.css 2007/09/25 22:47:05 1.2 @@ -1,3 +1,12 @@ +/* +** Copyright (C) 2007 Red Hat, Inc. +** +** This program is free software; you can redistribute +** it and/or modify it under the terms of version 2 of the +** GNU General Public License as published by the +** Free Software Foundation. +*/ + input[type=image] { border: 0; background: transparent; --- conga/luci/storage/cylinder_select.js 2007/09/25 18:55:13 1.3 +++ conga/luci/storage/cylinder_select.js 2007/09/25 22:47:05 1.4 @@ -58,12 +58,12 @@ } } - parent = top.document.getElementById(properties_span_id); + var parent_elem = top.document.getElementById(properties_span_id); - for (var i = 0 ; i < parent.childNodes.length ; i++) { - var item = parent.childNodes[i]; + for (var i = 0 ; i < parent_elem.childNodes.length ; i++) { + var item = parent_elem.childNodes[i]; var item_type = item.nodeName.toLowerCase(); - if (item_type == 'span' || item.type == 'div') { + if (item_type == 'span' || item_type == 'div') { if (item.id == current_selection) { item.className = 'visible'; } else if (item.className == 'visible') { @@ -86,7 +86,7 @@ var id = elem[0]; var beg = elem[1][0]; var end = elem[1][1]; - if (x > beg && x < end) { + if (x >= beg && x <= end) { select_subcyl(id, h_data); } } --- conga/luci/storage/form-macros 2007/09/25 18:55:13 1.28 +++ conga/luci/storage/form-macros 2007/09/25 22:47:05 1.29 @@ -21,17 +21,18 @@
- +
+
- +
@@ -378,9 +379,9 @@
-
-
-
+
+
+
+ onchange="var s = (this.checked) ? 'graphical_view' : 'textual_view'; singleVisibleSpan('mappings_view', s);" /> Graphical View (Uncheck if volumes are too small to select) - + +