From: Bill Erickson Date: Tue, 14 Jun 2016 19:11:51 +0000 (-0400) Subject: JBAS-1466 Host patron card images locally; juggle images X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f52c55899177ff0f28fe8d041804df1c7bed6591;p=working%2FEvergreen.git JBAS-1466 Host patron card images locally; juggle images Remove some cards, add some new ones. Host them all on the EG servers under web/images/patron_cards/*.png 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 532d38dc15..0208bbf71c 100644 --- a/KCLS/openils/var/templates_kcls/opac/register.tt2 +++ b/KCLS/openils/var/templates_kcls/opac/register.tt2 @@ -12,8 +12,13 @@ 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://kcls.bibliocms.com/wp-content/uploads/sites/20/2016/02/'; -wallet_cards = ['Card_Pride', 'Card_12', 'Card_blank', 'Card_mirror']; +card_url = '/images/patron_cards/'; +wallet_cards = [ + 'Card_blank', + '2016_12_Card_Blue', + '2016_Dog_Card', + '2016_Sasquatch_Card' +]; keychain_cards = ['Keychain_red']; MACRO input_field(fclass, fname, label, type, css_class, value) BLOCK; @@ -130,10 +135,12 @@ END; # input_field() #main-content-register .wide-input { width: 90%; } +/* images are pre-sized #main-content-register .card-img { width: 195px; height:123px; } +*/ .mailing-address-hidden { display:none; } @@ -217,7 +224,7 @@ END; # input_field()
[% FOR ctype IN wallet_cards %]
-
+
@@ -232,7 +239,7 @@ END; # input_field()
[% FOR ctype IN keychain_cards %]
-
+
diff --git a/Open-ILS/web/images/patron_cards/2016_12_Card_Blue.png b/Open-ILS/web/images/patron_cards/2016_12_Card_Blue.png new file mode 100644 index 0000000000..89f3f550a9 Binary files /dev/null and b/Open-ILS/web/images/patron_cards/2016_12_Card_Blue.png differ diff --git a/Open-ILS/web/images/patron_cards/2016_Dog_Card.png b/Open-ILS/web/images/patron_cards/2016_Dog_Card.png new file mode 100644 index 0000000000..a27feecc0a Binary files /dev/null and b/Open-ILS/web/images/patron_cards/2016_Dog_Card.png differ diff --git a/Open-ILS/web/images/patron_cards/2016_Sasquatch_Card.png b/Open-ILS/web/images/patron_cards/2016_Sasquatch_Card.png new file mode 100644 index 0000000000..946361c309 Binary files /dev/null and b/Open-ILS/web/images/patron_cards/2016_Sasquatch_Card.png differ diff --git a/Open-ILS/web/images/patron_cards/Card_Pride.png b/Open-ILS/web/images/patron_cards/Card_Pride.png new file mode 100644 index 0000000000..44fbad7d80 Binary files /dev/null and b/Open-ILS/web/images/patron_cards/Card_Pride.png differ diff --git a/Open-ILS/web/images/patron_cards/Card_blank.png b/Open-ILS/web/images/patron_cards/Card_blank.png new file mode 100644 index 0000000000..1da0ae49c8 Binary files /dev/null and b/Open-ILS/web/images/patron_cards/Card_blank.png differ diff --git a/Open-ILS/web/images/patron_cards/Card_mirror.png b/Open-ILS/web/images/patron_cards/Card_mirror.png new file mode 100644 index 0000000000..474211769e Binary files /dev/null and b/Open-ILS/web/images/patron_cards/Card_mirror.png differ diff --git a/Open-ILS/web/images/patron_cards/Keychain_red.png b/Open-ILS/web/images/patron_cards/Keychain_red.png new file mode 100644 index 0000000000..f4c3c8eca6 Binary files /dev/null and b/Open-ILS/web/images/patron_cards/Keychain_red.png differ