Mercurial > public > bravenewsurf
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bns_website/templates/base.html Fri Oct 28 20:32:29 2011 -0500 @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<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"> +{% block custom_css %}{% endblock %} +{% block custom_js %}{% endblock %} +</head> +<body>{% block begin_body %}{% endblock %} + +<div class="container"> + {% block content %}{% endblock %} +</div> + +<footer class="footer"> +<div class="container"> + <p class="pull-right"><a href="#">Back to top</a></p> + <p>Brave New Surf © 2011 Double Crown Records</p> + <p>Other footer type stuff goes down here.</p> +</div> +</footer> + +{% block end_body %}{% endblock %} +</body> +</html>