Skip to contentSkip to conversation

conga/luci/storage cache_report check-batch cy ...

Cluster-devel [email protected] 1 participant 1 message Sep 25, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2007-09-25 18:55:13

Modified files:
luci/storage : cache_report check-batch cylinder_select.js
form-chooser form-macros mappings_macros mappings_provider storage_svs.js validate_html

Log message:
Cleanup and refactor

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/cache_report.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/check-batch.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/cylinder_select.js.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/form-chooser.diff?cvsroot=cluster&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/form-macros.diff?cvsroot=cluster&r1=1.27&r2=1.28
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/mappings_macros.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/mappings_provider.diff?cvsroot=cluster&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/storage_svs.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.5&r2=1.6

luci/storage/cache_report +9 -0
@@ -1,3 +1,12 @@
+<tal:comment tal:replace="nothing">
+** 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.
+</tal:comment>
+
 <tal:block tal:define="global storagename request/storagename|nothing" />
 
 <tal:block tal:define="
luci/storage/check-batch +9 -0
@@ -1,3 +1,12 @@
+<tal:comment tal:replace="nothing">
+** 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.
+</tal:comment>
+
 <tal:block tal:define="
 	global storagename request/storagename;
 	global batch_id request/batch_id" />
luci/storage/cylinder_select.js +3 -3
@@ -62,7 +62,7 @@
 
 	for (var i = 0 ; i < parent.childNodes.length ; i++) {
 		var item = parent.childNodes[i];
-		var item_type = item.nodeName.lower();
+		var item_type = item.nodeName.toLowerCase();
 		if (item_type == 'span' || item.type == 'div') {
 			if (item.id == current_selection) {
 				item.className = 'visible';
@@ -94,7 +94,7 @@
 
 function cyl_over(msg_board, X, Y, c_data, h_data) {
 	if (Y < 0 || Y > 40) {
-		msg_board.style.visibility = 'invisible';
+		msg_board.style.visibility = 'hidden';
 		return;
 	}
 
@@ -116,5 +116,5 @@
 			return;
 		}
 	}
-	msg_board.style.visibility = 'invisible';
+	msg_board.style.visibility = 'hidden';
 }
luci/storage/form-chooser +9 -0
@@ -1,3 +1,12 @@
+<tal:comment tal:replace="nothing">
+** 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.
+</tal:comment>
+
 <html>
 <head>
 	<title id="pagetitle" tal:content="template/title" />
luci/storage/form-macros +728 -735

1,718 lines not on this page · raw message

luci/storage/mappings_macros +9 -0
@@ -1,3 +1,12 @@
+<tal:comment tal:replace="nothing">
+** 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.
+</tal:comment>
+
 <html>
 <head>
 	<title tal:content="template/title" />
luci/storage/mappings_provider +82 -80

220 lines not on this page · raw message

luci/storage/storage_svs.js +1 -1
@@ -11,7 +11,7 @@
 	parent = document.getElementById(parent_id);
 	for (var i = 0; i < parent.childNodes.length ; i++) {
 		var item = parent.childNodes[i];
-		var item_type = item.nodeName().lower();
+		var item_type = item.nodeName.toLowerCase();
 		if (item_type == 'span' || item_type == 'div') {
 			if (item.id == child_id) {
 				item.className = 'visible';
luci/storage/validate_html +9 -0
@@ -1,3 +1,12 @@
+<tal:comment tal:replace="nothing">
+** 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.
+</tal:comment>
+
 <tal:block tal:define="
 	global pagetype request/pagetype|nothing;
 	global storagename request/storagename|nothing "/>