From c2a0333caf045eee6a2eb800662cad6e3526cd25 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 28 Feb 2008 10:18:30 +1300 Subject: [PATCH] Beginning changes to opac-userupdate.tmpl, with the intention of eliminating opac-userdetails.tmpl in favor of linking directly to update form (a la Wordpress) Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 20 ++++++++- .../prog/en/modules/opac-passwd.tmpl | 10 ++--- .../prog/en/modules/opac-userdetails.tmpl | 1 - .../prog/en/modules/opac-userupdate.tmpl | 44 +++++++++++++++---- 4 files changed, 59 insertions(+), 16 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index f89bd5a4a3..98fb1e7639 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -639,10 +639,28 @@ fieldset.brief legend { fieldset.brief label { display : block; - font-weight : bold; padding : .3em 0; } +fieldset.brief input, fieldset.brief textarea { + background-color: #F3F3F3; + border-top : 1px solid #979797; + border-left : 1px solid #979797; + border-right : 1px solid #DDDDDD; + border-bottom : 1px solid #DDDDDD; + font-size : 150%; + padding : .2em; + font-weight: normal; +} + +fieldset.brief textarea { + font-size: 105%; +} + +fieldset.brief input:focus { + background-color: #FFFFCC; +} + fieldset.brief ol, fieldset.brief li { list-style-type : none; } diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-passwd.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-passwd.tmpl index 93997ffd14..b13e767fab 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-passwd.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-passwd.tmpl @@ -12,7 +12,7 @@

's account l../../images/caret.gif" width="16" height="16" alt=">" border="0" /> Change your Password

-

There was a problem with your submission

+

There was a problem with your submission

Passwords do not match. Please re-type your new password. @@ -28,7 +28,7 @@ -

+
Your password must be at least characters long.
  1. @@ -36,13 +36,13 @@
    Cancel
    -
    You can't change your password.
    +
    You can't change your password.
    -

    Password Updated

    - Your password has been changed +

    Password Updated

    + Your password has been changed
    " />

    diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userdetails.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userdetails.tmpl index 0ce33a2270..eaf5216565 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userdetails.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userdetails.tmpl @@ -31,7 +31,6 @@ Card Number: E-mail:">  -Textmessaging:  diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl index 3563e4ab0e..6556afa644 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl @@ -11,28 +11,54 @@

    's account ../../images/caret.gif" width="16" height="16" alt=">" border="0" /> Update Your Personal Details

    -

    Please make any necessary changes to your record. Submitting the form will notify a library staff member, who will make the changes permanent.

    +
    + -
      -
    1. " name="surname" />
    2. - +
      Name
      1. " name="firstname" />
      2. +
      3. " name="surname" />
      4. +
      +
      +
      Mailing Address +
      1. - - + + " id="address" />
      2. - +
      3. " id="address2" />
      4. " name="city" />
      5. - +
      6. " />
      7. +
      +
      +
      Contact Information +
      1. " name="phone" />
      2. +
      3. " name="mobile" />
      4. +
      5. " name="fax" />
      6. -
      7. " name="faxnumber" />
      8. +
      9. " name="phonepro" />
      10. " name="emailaddress" />
      11. +
      +
      +
    +
    +
    +Permanent Address +
      +
    1. + + +
    2. + +
    3. " name="B_city" />
    4. + +
    5. " name="dateofbirth" />
    +
    Cancel
    -- 2.39.5