All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] conga/luci/plone-custom base.css.dtml failsafe ...
@ 2006-09-21 21:45 rmccabe
  0 siblings, 0 replies; only message in thread
From: rmccabe @ 2006-09-21 21:45 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe at sourceware.org	2006-09-21 21:45:36

Modified files:
	luci/plone-custom: base.css.dtml failsafe_login_form.cpt 
	                   login_form.cpt portlet_login 
Added files:
	luci/plone-custom: input_disabled_background.gif 

Log message:
	- make it obvious that disabled input elements are disabled
	- keep the browser from asking to remember passwords

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/input_disabled_background.gif.diff?cvsroot=cluster&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/base.css.dtml.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/failsafe_login_form.cpt.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/login_form.cpt.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/portlet_login.diff?cvsroot=cluster&r1=1.8&r2=1.9

/cvs/cluster/conga/luci/plone-custom/input_disabled_background.gif,v  -->  standard output
revision 1.1
Binary files /cvs/cluster/conga/luci/plone-custom/input_disabled_background.gif and - differ
--- conga/luci/plone-custom/base.css.dtml	2006/09/19 14:48:21	1.2
+++ conga/luci/plone-custom/base.css.dtml	2006/09/21 21:45:36	1.3
@@ -158,13 +158,17 @@
 }
 
 textarea {
-	font: 100% Monaco, "Courier New", Courier, monospace;
+	font: 100% "Bitstream Vera Mono Sans", Monaco, "Courier New", Courier, monospace;
 	border: &dtml-borderWidth; solid &dtml-globalBorderColor;;
 	color: &dtml-inputFontColor;;
 	background: White url(&dtml-portal_url;/input_background.gif) repeat-x;
 	width: 100%;
 }
 
+textarea.disabled,textarea:disabled {
+	background: transparent url(&dtml-portal_url;/input_disabled_background.gif) repeat-x;
+}
+
 input {
 	font-family: <dtml-var fontFamily>;
 	border: &dtml-borderWidth; solid &dtml-globalBorderColor;;
@@ -172,12 +176,22 @@
 	vertical-align: middle;
 	background: White url(&dtml-portal_url;/input_background.gif) repeat-x;
 }
+
+input.disabled,input:disabled {
+	background: transparent url(&dtml-portal_url;/input_disabled_background.gif) repeat-x;
+}
+
 select {
 	border: &dtml-borderWidth; solid &dtml-globalBorderColor;;
 	color: &dtml-inputFontColor;;
 	background-color: White;
 	vertical-align: top;
 }
+
+select.disabled,select:disabled {
+	background-color: gray;
+}
+
 abbr, acronym, .explain {
 	border-bottom: &dtml-borderWidth; dotted &dtml-fontColor;;
 	color: &dtml-fontColor;;
@@ -196,14 +210,14 @@
 	color: &dtml-discreetColor;;
 }
 code {
-	font-family: Monaco, "Courier New", Courier, monospace;
+	font-family: "Bitstream Vera Mono Sans",  Monaco, "Courier New", Courier, monospace;
 	font-size: 120%;
 	color: &dtml-fontColor;;
 	background-color: &dtml-globalBackgroundColor;;
 	padding: 0 0.1em;
 }
 pre {
-	font-family: Monaco, "Courier New", Courier, monospace;
+	font-family: "Bitstream Vera Mono Sans", Monaco, "Courier New", Courier, monospace;
 	font-size: 100%;
 	padding: 1em;
 	border: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;;
--- conga/luci/plone-custom/failsafe_login_form.cpt	2006/09/19 14:48:21	1.2
+++ conga/luci/plone-custom/failsafe_login_form.cpt	2006/09/21 21:45:36	1.3
@@ -77,7 +77,7 @@
 
 			<div tal:content="error">Validation error output</div>
 
-			<input type="text" size="15" tabindex=""
+			<input type="text" size="15" tabindex="" autocomplete="off"
 				tal:attributes="name ac_name;
 								id ac_name;
 								value value;
@@ -100,7 +100,7 @@
 
 			<div tal:content="error">Validation error output</div>
 
-			<input type="password" size="15" tabindex=""
+			<input type="password" size="15" tabindex="" autocomplete="off"
 				tal:attributes="name ac_password;
 								id ac_password;
 								tabindex tabindex/next;"
--- conga/luci/plone-custom/login_form.cpt	2006/09/19 14:48:21	1.2
+++ conga/luci/plone-custom/login_form.cpt	2006/09/21 21:45:36	1.3
@@ -75,7 +75,7 @@
 			</div>
 
 			<div tal:content="error">Validation error output</div>
-				<input type="text" size="15" tabindex=""
+				<input type="text" size="15" tabindex="" autocomplete="off"
 					tal:attributes="name ac_name;
 									id ac_name;
 									value login_name;
@@ -98,7 +98,7 @@
 
 			<div tal:content="error">Validation error output</div>
 
-			<input type="password" size="15" tabindex=""
+			<input type="password" size="15" tabindex="" autocomplete="off"
 				tal:attributes="name ac_password;
 								id ac_password;
 								tabindex tabindex/next;"
--- conga/luci/plone-custom/portlet_login	2006/09/19 14:59:27	1.8
+++ conga/luci/plone-custom/portlet_login	2006/09/21 21:45:36	1.9
@@ -50,7 +50,7 @@
 					tal:attributes="for ac_name"
 					i18n:translate="label_login_name">Login Name</label>
 				<br />
-				<input type="text"
+				<input type="text" autocomplete="off"
 					size="10"
 					alt="Login Name"
 					onclick="showCookieMessage('cookies_message')"
@@ -65,7 +65,7 @@
 					tal:attributes="for ac_password"
 					i18n:translate="label_password">Password</label>
 				<br />
-				<input type="password" size="10" alt="Password"
+				<input type="password" size="10" alt="Password" autocomplete="off"
 					onclick="showCookieMessage('cookies_message')"
 					tal:attributes="name ac_password; id ac_password;
 									tabindex tabindex/next;"



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-21 21:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-21 21:45 [Cluster-devel] conga/luci/plone-custom base.css.dtml failsafe rmccabe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.