changeset 49:a4e0b03e5c00

First attempt at the buy page. Corrected some HTML5 validation problems.
author Brian Neal <bgneal@gmail.com>
date Fri, 11 Nov 2011 19:55:12 -0600
parents b60c84d52afa
children 4614ebe73263
files bns_website/static/images/cd.jpg bns_website/templates/base.html bns_website/templates/buy.html bns_website/templates/home.html
diffstat 4 files changed, 46 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
Binary file bns_website/static/images/cd.jpg has changed
--- a/bns_website/templates/base.html	Fri Nov 11 19:12:51 2011 -0600
+++ b/bns_website/templates/base.html	Fri Nov 11 19:55:12 2011 -0600
@@ -7,9 +7,9 @@
 <title>Brave New Surf | {% block title %}{% endblock %}</title>
 <meta charset="utf-8" />
 {% block custom_meta %}{% endblock %}
-<link rel="shortcut icon" href="{{ STATIC_URL }}images/favicon.ico">
-<link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.3.0/bootstrap.min.css">
-<link rel="stylesheet" href="{{ STATIC_URL }}css/base.css">
+<link rel="shortcut icon" href="{{ STATIC_URL }}images/favicon.ico" />
+<link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.3.0/bootstrap.min.css" />
+<link rel="stylesheet" href="{{ STATIC_URL }}css/base.css" />
 {% block custom_css %}{% endblock %}
 {% block custom_js %}{% endblock %}
 </head>
@@ -22,7 +22,9 @@
 <footer class="footer">
 <div class="container">
    <p class="pull-right"><a href="#">Back to top</a></p>
-   <p>Brave New Surf &copy; 2011 <a href="http://www.doublecrownrecords.com/">Double Crown Records</a></p>
+   <p>
+   Brave New Surf © 2011 <a href="http://www.doublecrownrecords.com/">Double Crown Records</a> - Contact us: <a href="mailto:records@dblcrown.com">records@dblcrown.com</a>
+   </p>
    <p>Other footer type stuff goes down here.</p>
    <p><small>FENDER, JAZZMASTER and the distinctive headstock design commonly found on FENDER guitars are registered trademarks of <a href="http://www.fender.com">Fender Musical Instruments Corporation</a> and used herein with express written permission. All rights reserved.</small></p>
 </div>
--- a/bns_website/templates/buy.html	Fri Nov 11 19:12:51 2011 -0600
+++ b/bns_website/templates/buy.html	Fri Nov 11 19:55:12 2011 -0600
@@ -3,6 +3,40 @@
 {% block title %}Buy{% endblock %}
 {% block content %}
 {% navbar 'buy' %}
-<h1>Buy</h1>
-<p><strong>TODO</strong>: Put links to buy the CD here.</p>
+<div class="row">
+   <div class="span10">
+      <img src="{{ STATIC_URL }}images/cd.jpg" alt="Brave New Surf CD" title="Brave New Surf CD" />
+   </div>
+   <div class="span6">
+      <h1>Buy</h1>
+      <p>
+      Please click the button below to add the <em>Brave New Surf</em> CD to your <strong>Double Crown Records</strong>
+      shopping cart. You can pay by:
+      </p>
+      <ul>
+         <li>Visa</li>
+         <li>Mastercard</li>
+         <li>American Express</li>
+         <li>Discover</li>
+         <li>Diner's Club</li>
+         <li>JCB</li>
+         <li>Paypal</li>
+      </ul>
+      <p><a href="http://www.ccnow.com/cgi-local/cart.cgi?doublecrown_DCCD45_http://www.doublecrownrecords.com/products-page/" class="btn large primary">Add to Cart</a></p>
+      <hr />
+      <p>If you prefer to order by mail, please send $12.75 USD plus shipping to:</p>
+      <address>
+         <strong>Double Crown Records</strong><br />
+         P.O. Box 4336<br />
+         Bellingham, WA 98227-4336<br />
+         USA
+      </address>
+      <p>Shipping:</p>
+      <ul>
+         <li>US - $2.00 USD</li>
+         <li>Canada - $3.00 USD</li>
+         <li>Rest of the World - $4.00 USD</li>
+      </ul>
+   </div>
+</div>
 {% endblock %}
--- a/bns_website/templates/home.html	Fri Nov 11 19:12:51 2011 -0600
+++ b/bns_website/templates/home.html	Fri Nov 11 19:55:12 2011 -0600
@@ -60,7 +60,7 @@
       <li>Daikaiju: Laser Runner</li>
       <li>The Anacondas: Floating Home</li>
    </ol>
-   <p><a href="{% url 'buy' %}" class="btn primary">Buy Now &raquo;</a></p>
+   <p><a href="{% url 'buy' %}" class="btn primary">Buy Now »</a></p>
 </div>
 </div>
 <div class="row">
@@ -79,19 +79,19 @@
 </p><p>
       Surf music has never been so vibrant, so diverse, so charged with energy and excitement. It’s time for the new surf classics. It’s time for BRAVE NEW SURF!
 </p>
-   <p><a href="{% url 'buy' %}" class="btn primary">Buy Now &raquo;</a></p>
+   <p><a href="{% url 'buy' %}" class="btn primary">Buy Now »</a></p>
    {% social_sharing 'Brave New Surf' 'http://bravenewsurf.com' %}
    </div>
    <div class="span7">
       <div class="alert-message block-message info">
          <h3>News</h3>
          {% list_news 5 %}
-         <p><br /><a class="btn default" href="{% url 'news' %}">All News &raquo;</a></p>
+         <p><br /><a class="btn default" href="{% url 'news' %}">All News »</a></p>
       </div>
       <div class="alert-message block-message info">
          <h3>Reviews</h3>
          {% list_reviews 5 %}
-         <p><br /><a class="btn default" href="{% url 'reviews' %}">All Reviews &raquo;</a></p>
+         <p><br /><a class="btn default" href="{% url 'reviews' %}">All Reviews »</a></p>
       </div>
       <div class="alert-message block-message info">
       <h3>Looking for more surf music?</h3>