From 8e435b310409eb4526104e88abeaf332a90cfaaa Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" Date: Mon, 17 Jan 2005 23:55:01 +0000 Subject: [PATCH] Fixed word-wrapping-at-20-chars bug; theme updates and minor textual fixes. git-svn-id: svn://10.0.0.236/trunk@167930 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/hendrix/skin/default.css | 5 +++++ mozilla/webtools/hendrix/skin/planet.css | 5 +++++ mozilla/webtools/hendrix/template/index.html.tmpl | 15 +++++---------- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/mozilla/webtools/hendrix/skin/default.css b/mozilla/webtools/hendrix/skin/default.css index 46dbf5394ac..2eeabb3da29 100644 --- a/mozilla/webtools/hendrix/skin/default.css +++ b/mozilla/webtools/hendrix/skin/default.css @@ -58,6 +58,11 @@ input[type="text"] { height: 20ex; } +.label { + text-align: right; + padding-right: 0.5em; +} + .newsgroup { font-family: monospace; } diff --git a/mozilla/webtools/hendrix/skin/planet.css b/mozilla/webtools/hendrix/skin/planet.css index bd7baa2dd8f..2bda256621e 100644 --- a/mozilla/webtools/hendrix/skin/planet.css +++ b/mozilla/webtools/hendrix/skin/planet.css @@ -56,6 +56,11 @@ div.sidebar { text-align: center; } +.label { + text-align: right; + padding-right: 0.5em; +} + .newsgroup { font-family: monospace; } diff --git a/mozilla/webtools/hendrix/template/index.html.tmpl b/mozilla/webtools/hendrix/template/index.html.tmpl index d5ee9106f09..90ba9f0b45c 100644 --- a/mozilla/webtools/hendrix/template/index.html.tmpl +++ b/mozilla/webtools/hendrix/template/index.html.tmpl @@ -37,12 +37,7 @@ function checkSubmitEnable() { } } - if (enable) { - document.getElementById("send-feedback").removeAttribute("disabled"); - } - else { - document.getElementById("send-feedback").setAttribute("disabled", "true"); - } + document.getElementById("send-feedback").disabled = !enable; } function onLoad() { @@ -75,10 +70,10 @@ function onLoad() { - Email (optional): + Email: + value="[% form.email FILTER html %]"/> (optional) @@ -97,7 +92,7 @@ function onLoad() { - Feedback Summary: + Summary: -