From mboxrd@z Thu Jan 1 00:00:00 1970 From: kupcevic@sourceware.org Date: 9 Oct 2006 17:03:18 -0000 Subject: [Cluster-devel] conga/luci site/luci/Extensions/StorageReport. ... Message-ID: <20061009170318.3188.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: kupcevic at sourceware.org 2006-10-09 17:03:17 Modified files: luci/site/luci/Extensions: StorageReport.py luci/storage : form-macros Log message: luci storage: GoTo links to move up/down block device hierarchy Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/StorageReport.py.diff?cvsroot=cluster&r1=1.11&r2=1.12 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/form-macros.diff?cvsroot=cluster&r1=1.9&r2=1.10 --- conga/luci/site/luci/Extensions/StorageReport.py 2006/10/09 17:01:19 1.11 +++ conga/luci/site/luci/Extensions/StorageReport.py 2006/10/09 17:03:17 1.12 @@ -1669,6 +1669,7 @@ for name in old_props: new_props['content_variable_' + d['id'] + '_' + name] = old_props[name] d['props'] = new_props + d['is_source'] = False # content's color and icon color = 'black' @@ -1678,9 +1679,15 @@ icon_name = get_fs_icon(d['xml'].getAttribute('fs_type')) elif type == 'mapper_source': mapper_type = d['xml'].getAttribute('mapper_type') + mapper_id = d['xml'].getAttribute('mapper_id') + pretty_mapper_type, dummy1, dummy2 = get_pretty_mapper_info(mapper_type) dummy1, dummy2, icon_name = get_mapper_icons(mapper_type) if mapper_type == MAPPER_VG_TYPE: color = '#a43737' + d['is_source'] = True + d['mapper_type'] = mapper_type + d['mapper_id'] = mapper_id + d['pretty_mapper_type'] = pretty_mapper_type elif type == 'none': pass elif type == 'hidden': --- conga/luci/storage/form-macros 2006/10/09 16:16:11 1.9 +++ conga/luci/storage/form-macros 2006/10/09 17:03:17 1.10 @@ -589,20 +589,21 @@
+ class string:invisible">
+ class string:invisible">
-
@@ -1419,6 +1420,15 @@ '' - + +
+ +
@@ -1485,6 +1495,18 @@ value cont/id"/> + + +
+ +
+