changeset 195:214346cc0c36

Home and buy page tweaks. Add quote from Ferenc to home page. Add Paypal buy button for Ancient Winds t-shirt.
author Brian Neal <bgneal@gmail.com>
date Sat, 11 Aug 2018 14:39:23 -0500
parents 3cb5850a537d
children 88906e06943c
files madeira/templates/band/buy.html madeira/templates/index.html
diffstat 2 files changed, 47 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/madeira/templates/band/buy.html	Mon Aug 06 21:47:36 2018 -0500
+++ b/madeira/templates/band/buy.html	Sat Aug 11 14:39:23 2018 -0500
@@ -40,7 +40,7 @@
 {% endfor %}
 {% if merchandise %}
 <h2>Swag</h2>
-<p>Support your favorite band! We may have a Paypal based payment system coming soon. In the meantime, place your orders for t-shirts and stickers by sending an email to <a href="mailto:themadeira@themadeira.net">themadeira@themadeira.net</a>.</p>
+<p>Support your favorite band!</p> 
 {% endif %}
 {% for item in merchandise %}
    <h3>{{ item.name }}</h3>
@@ -55,7 +55,33 @@
    {% else %}
       <p><strike>Price: ${{ item.price }}</strike> <strong>SOLD OUT!</strong></p>
    {% endif %}
+   </div>
+   {% if item.name == 'Ancient Winds T-Shirt' %}
+      <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
+      <input type="hidden" name="cmd" value="_s-xclick">
+      <input type="hidden" name="hosted_button_id" value="BX9N8S4X5WPZG">
+      <div class="row">
+         <div class="col-md-2">
+            Sizes:
+            <input type="hidden" name="on0" value="Sizes">
+            <select name="os0">
+                <option value="2X Large">2X Large</option>
+                <option value="X Large">X Large</option>
+                <option value="Large">Large</option>
+                <option value="Medium">Medium</option>
+                <option value="Small">Small</option>
+            </select>
+         </div>
+      </div>
+      <div class="row" style="margin-top: 1.5rem">
+         <div class="col-md-4">
+            <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif"
+            border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
+            <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
+         </div>
+      </div>
+      </form>
+   {% endif %}
    <br class="clearfix">
-   </div>
 {% endfor %}
 {% endblock %}
--- a/madeira/templates/index.html	Mon Aug 06 21:47:36 2018 -0500
+++ b/madeira/templates/index.html	Sat Aug 11 14:39:23 2018 -0500
@@ -94,6 +94,25 @@
                <small>Rick Krueger, <a href="https://progarchy.com/2018/05/28/the-madeira-center-of-the-surf-ricks-quick-takes/">Progarchy</a></small>
             </blockquote>
          </div>
+         <div class="row">
+            <div class="col-md-1">
+            </div>
+            <div class="col-md-7">
+               <blockquote>
+                  <p>&ldquo;As great as The Madeira’s studio albums are, they are, no spoilers revealed,
+                  an awesome live band– the kind that makes your body shake all over.
+                  If you can peel your eyes away from the intensity on stage, and scan the blank
+                  stares and drooling, agape mouths of your peers, you witness a band that inspires devotion...
+                  Linnett made an amazing recording. It sounds loud, you feel it in your heart and colon,
+                  even when headphone listening...  The Madeira have great songs, if they didn’t, all that
+                  bluster wouldn’t help them one bit... This is a great snapshot of a band at it’s peak,
+                  in a live arena where they are completely cutting loose...  Great songs, the best musicians,
+                  professional recording, beloved guests, and an adoring crowd. If you’re wondering what the
+                  best modern surf band sounded like live in 2017, Center of the Surf is for you.&rdquo;</p>  
+                  <small>Ferenc Dobronyi (Frankie &amp; the Pool Boys, Pollo Del Mar)</small>
+               </blockquote>
+            </div>
+         </div>
    </div>
    <!-- ################################################# -->
    <div>