From f230d1d6c9b2f3a402f9af28e4336107d12a9a3a Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Mon, 31 Dec 2007 10:11:02 +0000 Subject: [PATCH] Styling for error and login pages. Organization: Straylight/Edgeware From: rjk@greenend.org.uk <> Error messages are now displayed in red. Success messages are displayed in green. The login/register/edit user forms are now boxed. --- templates/disorder.css | 40 +++++++++++++++++++++++++++++++--------- templates/error.html | 4 ++-- templates/login.html | 8 +++----- templates/options.labels | 3 ++- 4 files changed, 38 insertions(+), 17 deletions(-) diff --git a/templates/disorder.css b/templates/disorder.css index 809947c..6062da8 100644 --- a/templates/disorder.css +++ b/templates/disorder.css @@ -154,7 +154,7 @@ p.mgmt,form.volume { display: inline } -/* choose *********************************************************************/ +/* choose ********************************************************************/ /* first letter choice */ p.choosealpha { @@ -225,7 +225,7 @@ a.file:active { color: red } -/* buttons ********************************************************************/ +/* buttons *******************************************************************/ /* a.allfiles turns up in track choice * button is used e.g. in searching @@ -259,7 +259,7 @@ img.button { border-width: 0 } -/* searching ******************************************************************/ +/* searching *****************************************************************/ div.searchresults { } @@ -309,7 +309,7 @@ a.search_title:active { color: red } -/* sidebar ********************************************************************/ +/* sidebar *******************************************************************/ div#sidebar { margin: 1em; @@ -349,7 +349,7 @@ a.sidebarlink:visited { color: black } -/* topbar *********************************************************************/ +/* topbar ********************************************************************/ p.menubar { word-spacing: 1em @@ -390,7 +390,7 @@ span.invalidmenu { font-size: 14pt } -/* prefs **********************************************************************/ +/* prefs *********************************************************************/ p.prefs_new,p.prefs_head { font-weight: bold @@ -427,7 +427,7 @@ input.prefs_name,input.prefs_value { font-family: monospace } -/* help ***********************************************************************/ +/* help **********************************************************************/ .helpbuttons,.helpprefs,.helpcontexts { margin-left: 2em; @@ -452,13 +452,35 @@ input.prefs_name,input.prefs_value { font-weight: bold } -/* volume *********************************************************************/ +/* volume ********************************************************************/ p.volume { text-align: center } -/* miscelleanous **************************************************************/ +/* login page ****************************************************************/ + +form.login,form.register,form.edituser { + border-style: solid; + border-width: 1px; + border-color: black +} + +form.logout { + border-style: none; +} + +p.loginstatus { + color: green +} + +/* errors ********************************************************************/ + +p.error { + color: red +} + +/* miscelleanous *************************************************************/ /* credits */ p.credits { diff --git a/templates/error.html b/templates/error.html index d8bcaf4..d87e1ee 100644 --- a/templates/error.html +++ b/templates/error.html @@ -27,9 +27,9 @@ USA @include{topbar}@

@label:error.title@

-

@label{error.@label:error@}@

+

@label{error.@label:error@}@

-

@label:error.generic@

+

@label:error.generic@

@include{topbarend}@ diff --git a/templates/login.html b/templates/login.html index 65f1939..9684705 100644 --- a/templates/login.html +++ b/templates/login.html @@ -30,7 +30,7 @@ USA @if{@ne{@label:error@}{error}@}{ @#{error reporting from some earlier operation}@ -

@label{error.@label:error@}@

+

@label{error.@label:error@}@

}@ @if{@ne{@label:status@}{status}@}{ @@ -38,8 +38,6 @@ USA

@label{login.@label:status@}@

}@ -

User: @user@

- @if{@eq{@user@}{guest}@}{ @#{guest user, allow login and registration}@

Existing users

@@ -117,7 +115,7 @@ USA

Use this form to change your email address and/or password.

-
@@ -142,7 +140,7 @@ USA

Use this button to log out @user@.

-