Mercurial > public > madeira
changeset 113:8a0076d7d041
Bootstrap: press.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 20 Oct 2013 11:20:24 -0500 |
parents | 4bd65fe0911f |
children | 4f44b56b43de |
files | madeira/templates/articles/article_detail.html madeira/templates/articles/article_list.html static/css/theme.css |
diffstat | 3 files changed, 15 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/madeira/templates/articles/article_detail.html Sun Oct 20 10:59:47 2013 -0500 +++ b/madeira/templates/articles/article_detail.html Sun Oct 20 11:20:24 2013 -0500 @@ -1,6 +1,9 @@ {% extends 'base.html' %} +{% load core_tags %} {% block title %}The Madeira | Press | {{ article.title }}{% endblock %} +{% block navblock %}{% navbar 'press' %}{% endblock %} {% block content %} +<article class="news"> <h1>Madeira Press, Articles, & Reviews</h1> <h2>{{ article.title }}</h2> <div>{{ article.text|safe }}</div> @@ -17,5 +20,9 @@ </ul> {% endif %} </div> -<p><a href="{% url 'articles-index' %}">« Back to press index</a></p> +<p> +<span class="glyphicon glyphicon-arrow-left"></span> +<a href="{% url 'articles-index' %}">Back to press index</a> +</p> +</article> {% endblock %}
--- a/madeira/templates/articles/article_list.html Sun Oct 20 10:59:47 2013 -0500 +++ b/madeira/templates/articles/article_list.html Sun Oct 20 11:20:24 2013 -0500 @@ -1,4 +1,6 @@ {% extends 'base.html' %} +{% load core_tags %} +{% block navblock %}{% navbar 'press' %}{% endblock %} {% block title %}The Madeira | Press{% endblock %} {% block content %} <h1>Madeira Press, Articles, & Reviews</h1>