Skip to contentSkip to conversation

conga/luci/homebase form-macros homebase_commo ...

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 03:51:21

Modified files:
luci/homebase : form-macros homebase_common.js
luci_homebase.css validate_cluster_add.js validate_cluster_add_initial.js validate_perm.js validate_sys_add.js validate_sys_remove.js validate_user_add.js validate_user_del.js
Removed files:
luci/homebase : x.png

Log message:
- Move all images into the site custom directory so they can be cached by the server

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/form-macros.diff?cvsroot=cluster&r1=1.60&r2=1.61
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/homebase_common.js.diff?cvsroot=cluster&r1=1.20&r2=1.21
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/luci_homebase.css.diff?cvsroot=cluster&r1=1.42&r2=1.43
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/validate_cluster_add.js.diff?cvsroot=cluster&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/validate_cluster_add_initial.js.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/validate_perm.js.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/validate_sys_add.js.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/validate_sys_remove.js.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/validate_user_add.js.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/validate_user_del.js.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/x.png.diff?cvsroot=cluster&r1=1.2&r2=NONE

luci/homebase/form-macros +8 -8
@@ -323,7 +323,7 @@
 								onchange="pwd0Change(this.form)" />
 						</td>
 						<td class="systemsTable">
-							<img src="/luci/delete-row.png" class="deleteRow"
+							<img src="delete-row.png" class="deleteRow"
 								title="delete this row"
 								onclick="delete_element_id('__SYSTEM_ROW_0')" />
 						</td>
@@ -372,7 +372,7 @@
 						<td class="systemsTable">
 							<img
 								tal:attributes="
-									src python: 'trusted' in sys and '/luci/lock-ok.png' or ('fp' in sys and '/luci/lock-closed.png' or '/luci/lock-open.png');
+									src python: 'trusted' in sys and 'lock-ok.png' or ('fp' in sys and 'lock-closed.png' or 'lock-open.png');
 									title sys/fp | string:no key fingerprint available"
 							/>
 							<input type="hidden"
@@ -390,7 +390,7 @@
 							/>
 						</td>
 						<td class="systemsTable">
-							<img src="/luci/delete-row.png" class="deleteRow"
+							<img src="delete-row.png" class="deleteRow"
 								title="delete this row"
 								tal:attributes="onclick python:'delete_element_id(\'__SYSTEM_ROW_%d\')' % cur_sysnum" />
 						</td>
@@ -620,7 +620,7 @@
 								onchange="pwd0Change(this.form)" />
 						</td>
 						<td class="systemsTable">
-							<img src="/luci/delete-row.png" class="deleteRow"
+							<img src="delete-row.png" class="deleteRow"
 								title="delete this row"
 								onclick="delete_element_id('__SYSTEM_ROW_0')" />
 						</td>
@@ -670,7 +670,7 @@
 						<td class="systemsTable">
 							<img
 								tal:attributes="
-									src python: 'trusted' in sys and '/luci/lock-ok.png' or ('fp' in sys and '/luci/lock-closed.png' or '/luci/lock-open.png');
+									src python: 'trusted' in sys and 'lock-ok.png' or ('fp' in sys and 'lock-closed.png' or 'lock-open.png');
 									title sys/fp | string:no key fingerprint available"
 							/>
 							<input type="hidden"
@@ -688,7 +688,7 @@
 							/>
 						</td>
 						<td class="systemsTable">
-							<img src="/luci/delete-row.png" class="deleteRow"
+							<img src="delete-row.png" class="deleteRow"
 								title="delete this row"
 								tal:attributes="onclick python:'delete_element_id(\'__SYSTEM_ROW_%d\')' % cur_sysnum" />
 						</td>
@@ -866,7 +866,7 @@
 					<td class="systemsTable">
 						<img
 							tal:attributes="
-								src python: 'trusted' in sys and '/luci/lock-ok.png' or ('fp' in sys and '/luci/lock-closed.png' or '/luci/lock-open.png');
+								src python: 'trusted' in sys and 'lock-ok.png' or ('fp' in sys and 'lock-closed.png' or 'lock-open.png');
 								title sys/fp | string:no key fingerprint available" />
 						<input type="hidden"
 							tal:condition="exists: sys/fp"
@@ -983,7 +983,7 @@
 						<td class="systemsTable">
 							<img tal:attributes="
 								title sys/fp | string:no key fingerprint available;
-								src python: 'trusted' in cur_sys and '/luci/lock-ok.png' or ('fp' in cur_sys and '/luci/lock-closed.png' or '/luci/lock-open.png')"
+								src python: 'trusted' in cur_sys and 'lock-ok.png' or ('fp' in cur_sys and 'lock-closed.png' or 'lock-open.png')"
 							/>
 						</td>
 						<td class="systemsTable">
luci/homebase/homebase_common.js +10 -1
@@ -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.
+*/
+
 function set_form_err(ielem) {
 	if (ielem) {
 		ielem.className += ' formerror';
@@ -268,7 +277,7 @@
 	var dcol = document.createElement('td');
 	dcol.className = 'systemsTable';
 	var del_img = document.createElement('img');
-	del_img.src = '/luci/delete-row.png';
+	del_img.src = 'delete-row.png';
 	del_img.title = 'delete this row';
 	del_img.className = 'deleteRow';
 	del_img.onclick = new Function('delete_element_id(\'' + newrow.id + '\')');
luci/homebase/luci_homebase.css +5 -5
@@ -318,23 +318,23 @@
 }
 
 li.node_fdom {
-	list-style-image: url(/luci/cluster/small_fdom.png);
+	list-style-image: url(small_fdom.png);
 }
 
 li.node_active {
-	list-style-image: url(/luci/cluster/small_node_active.png);
+	list-style-image: url(small_node_active.png);
 }
 
 li.node_inactive {
-	list-style-image: url(/luci/cluster/small_node_inactive.png);
+	list-style-image: url(small_node_inactive.png);
 }
 
 li.node_unknown {
-	list-style-image: url(/luci/cluster/small_node_unknown.png);
+	list-style-image: url(small_node_unknown.png);
 }
 
 li.cluster_service {
-	list-style-image:url(/luci/cluster/small_svc.png);
+	list-style-image:url(small_svc.png);
 }
 
 strong.node,
luci/homebase/validate_cluster_add.js +9 -0
@@ -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.
+*/
+
 function validateForm(form) {
 	var errors = [];
 
luci/homebase/validate_cluster_add_initial.js +9 -0
@@ -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.
+*/
+
 function validateForm(form) {
 	var errors = [];
 
luci/homebase/validate_perm.js +9 -0
@@ -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.
+*/
+
 function validateForm(form) {
 	var errors = [];
 
luci/homebase/validate_sys_add.js +9 -0
@@ -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.
+*/
+
 function validateForm(form) {
 	var errors = [];
 
luci/homebase/validate_sys_remove.js +9 -0
@@ -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.
+*/
+
 function validateForm(form) {
 	var errors = [];
 	var selected_clusters = [];
luci/homebase/validate_user_add.js +9 -0
@@ -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.
+*/
+
 function validateForm(form) {
 	var errors = [];
 
luci/homebase/validate_user_del.js +9 -0
@@ -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.
+*/
+
 function validateForm(form) {
 	var errors = [];