From: rmccabe@sourceware.org <rmccabe@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/luci/plone-custom base.css.dtml failsafe ...
Date: 21 Sep 2006 21:45:40 -0000 [thread overview]
Message-ID: <20060921214540.24507.qmail@sourceware.org> (raw)
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;"
reply other threads:[~2006-09-21 21:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060921214540.24507.qmail@sourceware.org \
--to=rmccabe@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.