New self-reg cards Jan 2019
authorBill Erickson <berickxx@gmail.com>
Thu, 24 Jan 2019 20:02:46 +0000 (15:02 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:49:28 +0000 (15:49 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/openils/var/templates_kcls/opac/register.tt2
Open-ILS/web/images/patron_cards/2019_Ciara.png [new file with mode: 0644]
Open-ILS/web/images/patron_cards/2019_Wilson.png [new file with mode: 0644]

index 97fbc5f..bcf2fc7 100644 (file)
@@ -49,7 +49,9 @@ keychain_cards = [
   '2019_Dog_Combo', 
   '2018_Pride_Combo', 
   '2019_Sasquatch_Combo', 
-  '2018_Slug'
+  '2018_Slug',
+  '2019_Wilson',
+  '2019_Ciara'
 ];
 
 MACRO input_field(fclass, fname, label, type, css_class, value) BLOCK;
@@ -394,7 +396,13 @@ END; # input_field()
           -->
           <label>Wallet-Key Combo Options</label>
           <div class="grid">
-            [% FOR ctype IN keychain_cards %]
+            [% card_idx = 0;
+              # limit to 2 cards per line
+              FOR ctype IN keychain_cards;
+                IF card_idx > 0 AND card_idx % 2 == 0 %]
+                <div class="grid-clear"> </div>
+                [% END %]
+                [% card_idx = card_idx + 1; %]
             <div class="grid-cell">
               <div><img class="card-img" src="[% card_url _ ctype _ '.png' %]"
                 onclick="select_card('[% ctype %]')"/></div>
diff --git a/Open-ILS/web/images/patron_cards/2019_Ciara.png b/Open-ILS/web/images/patron_cards/2019_Ciara.png
new file mode 100644 (file)
index 0000000..e9aabd8
Binary files /dev/null and b/Open-ILS/web/images/patron_cards/2019_Ciara.png differ
diff --git a/Open-ILS/web/images/patron_cards/2019_Wilson.png b/Open-ILS/web/images/patron_cards/2019_Wilson.png
new file mode 100644 (file)
index 0000000..057f6c5
Binary files /dev/null and b/Open-ILS/web/images/patron_cards/2019_Wilson.png differ