From: Bill Erickson Date: Wed, 27 Apr 2016 16:12:26 +0000 (-0400) Subject: JBAS-1324 Patron reg downloadable forms ; tweaks X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6163b6e566f2ebb32ded759e1b46552734f42d96;p=working%2FEvergreen.git JBAS-1324 Patron reg downloadable forms ; tweaks * Create panel along the right for links to printable forms * Change page title * Add note about mailed cards delivery time * Link to BCMS versions of card images Signed-off-by: Bill Erickson --- diff --git a/KCLS/openils/var/templates_kcls/opac/register.tt2 b/KCLS/openils/var/templates_kcls/opac/register.tt2 index b344a44f1a..ea70880f13 100644 --- a/KCLS/openils/var/templates_kcls/opac/register.tt2 +++ b/KCLS/openils/var/templates_kcls/opac/register.tt2 @@ -1,7 +1,7 @@ [%- PROCESS "opac/parts/header.tt2"; PROCESS "opac/parts/org_selector.tt2"; PROCESS "opac/parts/state_selector.tt2"; - ctx.page_title = l("Request Library Card"); + ctx.page_title = l("Get a Library Card"); # for privacy, reload the page after (default) 5 minutes refresh_time = ctx.register.settings.refresh_timeout || 300; @@ -12,9 +12,9 @@ ctx.refresh = refresh_time _ '; ' _ 'https://www.kcls.org'; ctx_org = ctx.physical_loc || ctx.search_ou || ctx.aou_tree.id; # TODO put these on the EG server? -card_url = 'https://www.kcls.org/images/library/cards/Card_'; -wallet_cards = ['12man', 'blank', 'books', 'mirror']; -keychain_cards = ['keychain']; +card_url = 'https://kcls.bibliocms.com/wp-content/uploads/sites/20/2016/02/'; +wallet_cards = ['Card_Pride', 'Card_12', 'Card_blank', 'Card_mirror']; +keychain_cards = ['Keychain_red']; MACRO input_field(fclass, fname, label, type, css_class, value) BLOCK; field_path = fclass _ "." _ fname; @@ -82,7 +82,7 @@ END; # input_field() font-family: 'Open Sans', sans-serif; letter-spacing: .5pt; font-size: 15px; - width: 700px; /* to match bibliocms */ + width: 900px; /* to match bibliocms */ } #main-content-register label { font-weight: bold; @@ -95,6 +95,21 @@ END; # input_field() margin-top: 12px; list-style-type: none; } +#main-content-left { + width: 75%; + float: left; +} +#main-content-right { + width: 24%; + float: right; + font-size: 85%; +} +/* +#main-content-right h3 { + font-size : 100%; +} +*/ + .grid { width: 95%; } .grid-cell { float: left; @@ -114,8 +129,8 @@ END; # input_field() width: 90%; } #main-content-register .card-img { - width: 120px; - height:76px; + width: 195px; + height:123px; } .mailing-address-hidden { display:none; @@ -126,6 +141,12 @@ END; # input_field() } .success-minus-1 { font-size: 95%; } .success-minus-2 { font-size: 90%; } + +#download-forms-list a, download-forms-list a:visited { + color: #41bee8; + text-decoration: none; + font-weight: 600; +} @@ -136,365 +157,458 @@ END; # input_field()
-

[% l('Request a Library Card')%]

- - [% IF ctx.register.success %] -

[% l('Registration successful!') %]

-

- To fully activate your card you will need to visit a KCLS library - with proof of address and photo ID that shows your date of - birth. +

+

[% l('Request a Library Card')%]

+ + [% IF ctx.register.success %] +

[% l('Registration successful!') %]

+

+ To fully activate your card you will need to visit a KCLS library + with proof of address and photo ID that shows your date of + birth. +
+ Parents/guardians can assist with proof of address for full + activation for applicants under 18. Find a list of the documents + you may use to provide proof of address on our + + downloadable application. + +


- Parents/guardians can assist with proof of address for full - activation for applicants under 18. Find a list of the documents - you may use to provide proof of address on our - - downloadable application. - -

-
- -
-
-
- You will be automatically redirected to - www.kcls.org... -
-
- - [% ELSE %] - -
-
    -
  • - - * -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
  • - - - -
  • - -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
  • - -
  • Your Information

  • + +
    +
    +
    + You will be automatically redirected to + www.kcls.org... +

    + + [% ELSE %] -
  • -
    -
    -
    - - * -
    -
    [% input_field('stgu', 'first_given_name', 'First Name') %]
    + +
      +
    • + + * +
      +
        +
      • + + +
      • +
      • + + +
      • +
      -
      -
      -
      [% input_field('stgu', 'second_given_name', 'Middle Name') %]
      +
    • + +
    -
    -
  • - -
  • - -
    -
    -
    [% input_field('stgu', 'day_phone', 'Phone Number') %]
    +
    +
  • + +
  • + +
    +
      +
    • + + +
    • +
    • + + +
    • +
    -
    (xxx-xxx-xxxx)
    -

-
- - -
  • - - -
    -
    -
    -
    +
  • + +
  • Your Information

  • +
    + +
  • Name

  • +
  • +
    +
    +
    + + * +
    +
    [% input_field('stgu', 'first_given_name', 'First') %]
    +
    +
    +
    +
    [% input_field('stgu', 'second_given_name', 'Middle') %]
    +
    +
    +
    + + * +
    +
    [% input_field('stgu', 'family_name', 'Last') %]
    +
    -
    -
    -
    +
    +
  • + +
  • + +
    +
    +
    [% input_field('stgu', 'day_phone', 'Phone Number') %]
    +
    +
    (xxx-xxx-xxxx)
    -
    -
    -
    +
    +
  • + +
  • + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    -
    -
    +
    +
  • + +
  • + +
    [% input_field('stgu', 'email', 'Email', 'email') %]
    +
  • + +
  • + +
    [% input_field('stgsc', '1', 'Gender') %]
    +
  • + +
  • + +
    [% input_field('stgu', 'ident_value2', 'Parent / Guardian', 'text', 'wide-input') %]
    +
  • + +
  • + +
    + [% INCLUDE build_org_selector + name='stgu.home_ou' + id='stgu.home_ou' + value=value || '' + can_have_users_only=1 + no_indent=1 + no_root=1 + none_label=l('Please choose a library...') + onchange="validate('stgu.home_ou')" + valid_org_list=ctx.register.valid_orgs + %] + * + [% IF ctx.register.invalid.bad_home_ou %] + + [% l('Please select a valid library') %] + + [% END %]
    -
  • -
    - - -
  • - -
    [% input_field('stgu', 'email', 'Email', 'email') %]
    -
  • - -
  • - -
    [% input_field('stgsc', '1', 'Gender') %]
    -
  • - -
  • - -
    [% input_field('stgu', 'ident_value2', 'Parent / Guardian', 'text', 'wide-input') %]
    -
  • - -
  • - -
    - [% INCLUDE build_org_selector - name='stgu.home_ou' - id='stgu.home_ou' - value=value || '' - can_have_users_only=1 - no_indent=1 - no_root=1 - none_label=l('Please choose a library...') - onchange="validate('stgu.home_ou')" - valid_org_list=ctx.register.valid_orgs - %] - * - [% IF ctx.register.invalid.bad_home_ou %] - - [% l('Please select a valid library') %] - - [% END %] -
    -
  • - -
  • Contact Preferences

  • -
    - -
  • - -
    -
      -
    • - [% input_field('stgsc', '3', 'Events Mailing', 'checkbox') %] - -
    • -
    • - [% input_field('stgsc', '4', 'Foundation Mailing', 'checkbox') %] - -
    • -
    -
    -
  • - -
  • -

    - Residential Address* -

    -
  • - -
  • -
    [% input_field( - 'stgba', 'street1', 'Street Address', 'text', 'wide-input') %]
    - -
  • -
  • -
    -
    -
    [% input_field( - 'stgba', 'street2', 'Address Line 2', 'text', 'wide-input') %]
    -
    +
  • + +
  • Contact Preferences

  • +
    + +
  • + +
    +
      +
    • + [% input_field('stgsc', '3', 'Events Mailing', 'checkbox') %] + +
    • +
    • + [% input_field('stgsc', '4', 'Foundation Mailing', 'checkbox') %] + +
    • +
    -
    -
    [% input_field('stgba', 'city', 'City') %]
    -
    - +
  • + +
  • +

    + Residential Address* +

    +
  • + +
  • +
    [% input_field( + 'stgba', 'street1', 'Street Address', 'text', 'wide-input') %]
    + +
  • +
  • +
    +
    +
    [% input_field( + 'stgba', 'street2', 'Address Line 2', 'text', 'wide-input') %]
    +
    -
    -
  • -
    - -
  • -
    -
    -
    [% PROCESS state_selector name='stgba.state' id='stgba.state' %]
    -
    - +
    +
    [% input_field('stgba', 'city', 'City') %]
    +
    + +
    -
    -
    [% input_field('stgba', 'post_code', 'Zip / Post Code') %]
    -
    - +
    +
  • +
  • +
    +
    +
    [% PROCESS state_selector name='stgba.state' id='stgba.state' %]
    +
    + +
    +
    +
    +
    [% input_field('stgba', 'post_code', 'Zip / Post Code') %]
    +
    + +
    - -
    - -
  • - -
  • - -
    - - -
    -
  • - - - + +
  • + +
    + +
    -
    -
    [% input_field('stgma', 'city', 'City') %]
    -
    - +
  • + + + - + - -
  • -
    -
    - -
    -
    - +
    + +
  • + +
  • +
    +
    + +
    +
    + +
    - -
    -
  • - - - [% END # IF ctx.success %] +
    + + + + [% END # IF ctx.success %] + +
    +

    Download an Application

    + [% app_url = 'https://www.kcls.org/usingthelibrary/card/applications'; + text_img_url = 'https://www.kcls.org/includes/usingthelibrary/images'; + langs = [ + { label => 'English', + pdf => 'ENG%20KCLS%20600%20Library%20Card%20Application.pdf'}, + { label => 'Arabic', + pdf => 'ARABIC%20KCLS%20600%20Library%20Card%20Application.pdf', + img => 'arabic_diacritics.gif' + img_width => 79, + img_height => 20}, + { label => 'Chinese', + pdf => 'CHINESE%20KCLS%20600%20Library%20Card%20Application.pdf', + img => 'cantonese.gif', + img2 => 'mandarin.gif', + img_width => 66, + img_height => 22, + img2_width => 47, + img2_height => 24}, + { label => 'French', + pdf => 'FRENCH%20KCLS%20600%20Library%20Card%20Application.pdf', + img => 'french.gif', + img_width => 61, + img_height => 19}, + { label => 'Korean', + pdf => 'KOREAN%20KCLS%20600%20Library%20Card%20Application.pdf'}, + { label => 'Russian', + pdf => 'RUSSIAN%20KCLS%20600%20Library%20Card%20Application.pdf', + img => 'russian.gif', + img_width => 61, + img_height => 19}, + { label => 'Somali', + pdf => 'SOMALI%20KCLS%20600%20Library%20Card%20Application.pdf', + img => 'somali.gif', + img_width => 81, + img_height => 17}, + { label => 'Spanish', + pdf => 'SPANISH%20KCLS%20600%20Library%20Card%20Application.pdf', + img => 'spanish.gif', + img_width => 61, + img_height => 19}, + { label => 'Vietnamese', + pdf => 'VIETNAMESE%20KCLS%20600%20Library%20Card%20Application.pdf', + img => 'vietnamese.gif', + img_width => 81, + img_height => 20}, + { label => 'English (Large Print)', + pdf => '062211%20KCLS%20600%20LP.pdf'} + ]; + %] + +
    +