Mercurial > public > bravenewsurf
annotate bns_website/templates/base.html @ 3:71f2941161e9
Created a generic view (for now) to display a home page.
Wrote a test for the home page. Created a test settings file that uses sqlite.
Created simple 404, 500, base, and home page templates.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 28 Oct 2011 20:32:29 -0500 |
parents | |
children | 04991ccaf30c |
rev | line source |
---|---|
bgneal@3 | 1 <!DOCTYPE html> |
bgneal@3 | 2 <html lang="en"> |
bgneal@3 | 3 <head> |
bgneal@3 | 4 <title>Brave New Surf | {% block title %}{% endblock %}</title> |
bgneal@3 | 5 <meta charset="utf-8" /> |
bgneal@3 | 6 {% block custom_meta %}{% endblock %} |
bgneal@3 | 7 <link rel="shortcut icon" href="{{ STATIC_URL }}images/favicon.ico"> |
bgneal@3 | 8 <link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.3.0/bootstrap.min.css"> |
bgneal@3 | 9 <link rel="stylesheet" href="{{ STATIC_URL }}css/base.css"> |
bgneal@3 | 10 {% block custom_css %}{% endblock %} |
bgneal@3 | 11 {% block custom_js %}{% endblock %} |
bgneal@3 | 12 </head> |
bgneal@3 | 13 <body>{% block begin_body %}{% endblock %} |
bgneal@3 | 14 |
bgneal@3 | 15 <div class="container"> |
bgneal@3 | 16 {% block content %}{% endblock %} |
bgneal@3 | 17 </div> |
bgneal@3 | 18 |
bgneal@3 | 19 <footer class="footer"> |
bgneal@3 | 20 <div class="container"> |
bgneal@3 | 21 <p class="pull-right"><a href="#">Back to top</a></p> |
bgneal@3 | 22 <p>Brave New Surf © 2011 Double Crown Records</p> |
bgneal@3 | 23 <p>Other footer type stuff goes down here.</p> |
bgneal@3 | 24 </div> |
bgneal@3 | 25 </footer> |
bgneal@3 | 26 |
bgneal@3 | 27 {% block end_body %}{% endblock %} |
bgneal@3 | 28 </body> |
bgneal@3 | 29 </html> |