From: senator Date: Wed, 2 Feb 2011 22:17:32 +0000 (-0500) Subject: a start to myopac X-Git-Tag: opac-tt-poc-demo2~51 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1ccded9dd7cd2c9d871e843441572700dc33128a;p=evergreen%2Fequinox.git a start to myopac --- diff --git a/Open-ILS/web/opac/skin/kcls-wire/css/style.css b/Open-ILS/web/opac/skin/kcls-wire/css/style.css index 7dbc65f22e..9c300f3027 100644 --- a/Open-ILS/web/opac/skin/kcls-wire/css/style.css +++ b/Open-ILS/web/opac/skin/kcls-wire/css/style.css @@ -271,34 +271,45 @@ div.select-wrapper:hover { margin-right:7px; } -#acct_summary { - width:156px; - background:url('/opac/skin/kcls/graphics/acct_summary_on.gif') no-repeat bottom; +.acct-tab { + background-repeat: no-repeat; + background-position: bottom; + width:156px; } -#acct_checked_out { - width:156px; - background:url('/opac/skin/kcls/graphics/acct_checked_out_off.gif') no-repeat bottom; +.acct-main-off { + background-image:url('/opac/skin/kcls/graphics/acct_summary_off.gif'); +} +.acct-main-on { + background-image:url('/opac/skin/kcls/graphics/acct_summary_on.gif'); } -#acct_holds { - width:156px; - background:url('/opac/skin/kcls/graphics/acct_holds_off.gif') no-repeat bottom; +.acct-circs-off { + background-image:url('/opac/skin/kcls/graphics/acct_checked_out_off.gif'); +} +.acct-circs-on { + background-image:url('/opac/skin/kcls/graphics/acct_checked_out_on.gif'); } -#acct_prefs { - width:156px; - background:url('/opac/skin/kcls/graphics/acct_prefs_off.gif') no-repeat bottom; +.acct-holds-off { + background-image:url('/opac/skin/kcls/graphics/acct_holds_off.gif'); +} +.acct-holds-on { + background-image:url('/opac/skin/kcls/graphics/acct_holds_on.gif'); } -#acct_favs { - width:156px; - background:url('/opac/skin/kcls/graphics/acct_favs_off.gif') no-repeat bottom; +.acct-prefs-off { + background-image:url('/opac/skin/kcls/graphics/acct_prefs_off.gif'); +} +.acct-prefs-on { + background-image:url('/opac/skin/kcls/graphics/acct_prefs_on.gif'); } -#acct_lists { - width:156px; - background:url('/opac/skin/kcls/graphics/acct_lists_off.gif') no-repeat bottom; +.acct-lists-off { + background-image:url('/opac/skin/kcls/graphics/acct_lists_off.gif'); +} +.acct-lists-on { + background-image:url('/opac/skin/kcls/graphics/acct_lists_on.gif'); } #rdetail_header { diff --git a/Open-ILS/web/templates/default/kcls-wire/myopac/main.tt2 b/Open-ILS/web/templates/default/kcls-wire/myopac/main.tt2 new file mode 100644 index 0000000000..c1adcb85de --- /dev/null +++ b/Open-ILS/web/templates/default/kcls-wire/myopac/main.tt2 @@ -0,0 +1,432 @@ +[% WRAPPER "default/kcls-wire/parts/base.tt2" + + "default/kcls-wire/parts/myopac/base.tt2"; + myopac_page = "main" %] +
+
+
+
Account Summary
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+ Fines: $0.00
+ Pay Fines +
+
+
+
+
+ + + + + +
+ Items Currently Checked out + + (0) + +
+
+
+ + + + + +
+ Items Currently on Hold + + (0) + +
+
+
+ + + + + +
+ Items ready for pickup + + (0) + +
+
+
+ + + + + +
Fees & Fines
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ &myopac.fines.title; +
&myopac.fines.owed;&myopac.fines.paid;&myopac.fines.balance;
&myopac.fines.status;
&common.currency;&common.currency;&common.currency;
+ + +
+


+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Fines +
&common.title;&common.author;&myopac.fines.checkout;&myopac.fines.due;&myopac.fines.returned;&myopac.fines.balance; + +
+ +
+ + + &myopac.fines.accruing; + + &common.currency; + + +
+
+ + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ &myopac.fines.other; +
&myopac.fines.time.start;&myopac.fines.time.paid;&myopac.fines.owed.initial;&myopac.fines.paid.amount;&myopac.fines.balance;&myopac.fines.type; + +
+ +
+ &common.currency; + + &common.currency; + + * + + &common.currency; + + + +
+
+ Pay Fines +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Billing Information + Selected fines you are paying for: + + + + + + + + + +
+ Name + + Amount +
+
+
+ Total amount to pay: + $ +
+
+ Click Cancel to go back and (un)select + other fines. +
First Name
Last Name
Street Address
City
State or Province
ZIP or Postal Code
Credit Card Information
Credit Card #
+
+
+ +
+
+ Security Code +
+ +
Exipration Month + +
Expiration Year + +
Edit Billing Address + +
+ + +
+
+ Important! You must have a printed receipt to be + eligible for a refund on lost items (regulations allow + for no exceptions). +
+ + To ensure your necessary receipt information is + not lost, enter your email address above and a + receipt will be emailed to you. Otherwise, make + certain you have a printed receipt in hand before + closing the payment receipt screen. + +
+ Refunds are not available for parts and pieces, overdue + fines, or items that do not display a specific title in + My Account. For a full list of refundable and + non-refundable items, visit + http://www.kcls.org/usingthelibrary/borrowing/refundable.cfm

+ This site uses VeriSign SSL encryption to ensure your + privacy. +
+
+
+[% END %] diff --git a/Open-ILS/web/templates/default/kcls-wire/parts/myopac/base.tt2 b/Open-ILS/web/templates/default/kcls-wire/parts/myopac/base.tt2 new file mode 100644 index 0000000000..82197686a9 --- /dev/null +++ b/Open-ILS/web/templates/default/kcls-wire/parts/myopac/base.tt2 @@ -0,0 +1,33 @@ +[% myopac_pages = [ + {url => "main", name => "Account Summary"}, + {url => "circs", name => "Items Checked Out"}, + {url => "holds", name => "Holds"}, + {url => "prefs", name => "Account Preferences"}, + {url => "lists", name => "My Lists"} +] %] + [% INCLUDE "default/kcls-wire/parts/topnav.tt2" %] +
+ [% INCLUDE "default/kcls-wire/parts/utils.tt2" %] + [% INCLUDE "default/kcls-wire/parts/searchbar.tt2" %] +
+
+
+
+ [%- FOREACH page IN myopac_pages; + IF page.url == myopac_page; + cls_which = "on"; + ctx.page_title = page.name; + ELSE; + cls_which = "off"; + END -%] + + [% END %] +
+
+
+
+ [% content %] +
+
+