[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci/homebase form-macros homebase_common.js



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe sourceware org	2006-09-22 18:22:39

Modified files:
	luci/homebase  : form-macros homebase_common.js 

Log message:
	try to keep browers from asking to remember passwords

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/form-macros.diff?cvsroot=cluster&r1=1.35&r2=1.36
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/homebase_common.js.diff?cvsroot=cluster&r1=1.10&r2=1.11

--- conga/luci/homebase/form-macros	2006/09/05 21:25:45	1.35
+++ conga/luci/homebase/form-macros	2006/09/22 18:22:39	1.36
@@ -1,7 +1,7 @@
 <html>
 
 <tal:comment replace="nothing">
-	$Id: form-macros,v 1.35 2006/09/05 21:25:45 rmccabe Exp $
+	$Id: form-macros,v 1.36 2006/09/22 18:22:39 rmccabe Exp $
 </tal:comment>
 
 <head>
@@ -13,9 +13,9 @@
 <tal:comment replace="nothing">
 
 
-!###########################
-# ENTRY FORM               #
-############################
+!############################
+# ENTRY FORM				#
+#############################
 
 
 </tal:comment>
@@ -29,9 +29,9 @@
 </div>
 
 <tal:comment replace="nothing">
-!###########################
-# USER DELETE FORM         #
-############################
+!############################
+# USER DELETE FORM			#
+#############################
 </tal:comment>
 
 <div metal:define-macro="user-del-form">
@@ -85,9 +85,9 @@
 <tal:comment replace="nothing">
 
 
-!###########################
-# USER ADD FORM            #
-############################
+!############################
+# USER ADD FORM				#
+#############################
 
 
 </tal:comment>
@@ -117,13 +117,17 @@
 			<tr class="hbAddUser">
 				<td class="hbAddUser">Password</td>
 				<td class="hbAddUser">
-					<input class="hbInputPasswd" name="newPassword" type="password" />
+					<input class="hbInputPasswd" type="password"
+						name="newPassword" autocomplete="off" />
 				</td>
 			</tr>
 
 			<tr class="hbAddUser">
 				<td class="hbAddUser">Confirm Password</td>
-				<td class="hbAddUser"><input class="hbInputPasswd" name="newPasswordConfirm" type="password" /></td>
+				<td class="hbAddUser">
+					<input class="hbInputPasswd" type="password"
+						name="newPasswordConfirm" autocomplete="off" />
+				</td>
 			</tr>
 		</table>
 
@@ -144,9 +148,9 @@
 <tal:comment replace="nothing">
 
 
-!###########################
-# PERMISSIONS FORM         #
-############################
+!############################
+# PERMISSIONS FORM			#
+#############################
 
 
 </tal:comment>
@@ -254,9 +258,9 @@
 <tal:comment replace="nothing">
 
 
-!###########################
-# SYSTEM DELETE FORM       #
-############################
+!############################
+# SYSTEM DELETE FORM		#
+#############################
 
 
 </tal:comment>
@@ -361,9 +365,9 @@
 <tal:comment replace="nothing">
 
 
-!###########################
-# SYSTEM ADD FORM          #
-############################
+!############################
+# SYSTEM ADD FORM			#
+#############################
 
 
 </tal:comment>
@@ -417,10 +421,14 @@
 			<tbody class="systemsTable">
 				<tr class="systemsTable">
 					<td class="systemsTable">
-						<input class="hbInputSys" type="text" id="__SYSTEM0:Addr" name="__SYSTEM0:Addr" />
+						<input class="hbInputSys" type="text"
+							id="__SYSTEM0:Addr" name="__SYSTEM0:Addr" />
 					</td>
 					<td class="systemsTable">
-						<input type="password" id="__SYSTEM0:Passwd" name="__SYSTEM0:Passwd" class="hbInputPass" onChange="pwd0Change(adminform);" />
+						<input type="password" autocomplete="off"
+							id="__SYSTEM0:Passwd" name="__SYSTEM0:Passwd"
+							class="hbInputPass"
+							onChange="pwd0Change(adminform);" />
 					</td>
 				</tr>
 			</tbody>
@@ -436,9 +444,9 @@
 <tal:comment>
 
 
-!###########################
-# CLUSTER ADD FORM         #
-############################
+!############################
+# CLUSTER ADD FORM			#
+#############################
 
 
 </tal:comment>
@@ -586,10 +594,13 @@
 			<tbody class="systemsTable">
 				<tr class="systemsTable">
 					<td class="systemsTable">
-						<input class="hbInputSys" type="text" id="__SYSTEM0:Addr" name="__SYSTEM0:Addr" />
+						<input class="hbInputSys" type="text"
+							id="__SYSTEM0:Addr" name="__SYSTEM0:Addr" />
 					</td>
 					<td class="systemsTable">
-						<input type="password" id="__SYSTEM0:Passwd" name="__SYSTEM0:Passwd" class="hbInputPass" />
+						<input type="password" autocomplete="off"
+							id="__SYSTEM0:Passwd" name="__SYSTEM0:Passwd"
+							class="hbInputPass" />
 					</td>
 				</tr>
 			</tbody>
--- conga/luci/homebase/homebase_common.js	2006/09/14 21:24:25	1.10
+++ conga/luci/homebase/homebase_common.js	2006/09/22 18:22:39	1.11
@@ -141,6 +141,7 @@
 	newsysp.setAttribute('id', '__SYSTEM' + num_systems + ':Passwd');
 	newsysp.setAttribute('type', 'password');
 	newsysp.setAttribute('value', '');
+	newsysp.setAttribute('autocomplete', 'off');
 
 	var allSameCB = document.getElementById('allSameCheckBox');
 	if (allSameCB && allSameCB.checked) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]