diff options
author | luxagraf <sng@luxagraf.net> | 2011-02-23 11:28:37 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2011-02-23 11:28:37 -0600 |
commit | 98cbbb27f83c8d7b38cad810cab83f7e5e639d4e (patch) | |
tree | 8c740f3661ff2b6c55e2b33cb9574a2ba37c379e /templates | |
parent | fc776ae0e6d85ed5e51b83291ca943f2d740bd43 (diff) | |
parent | b9f40c0c9df3167d28f131cecd566190e18b459e (diff) |
Merge branch 'master' of http://git.luxagraf.net/luxagraf
Diffstat (limited to 'templates')
-rw-r--r-- | templates/details/code.html | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/templates/details/code.html b/templates/details/code.html new file mode 100644 index 0000000..da76f0a --- /dev/null +++ b/templates/details/code.html @@ -0,0 +1,62 @@ +{% extends 'base.html' %} +{% load typogrify %} +{% block pagetitle %}Luxagraf | Projects | Code and Other Experiments {% endblock %} +{% block metadescription %}{% endblock %} +{% block extrahead %} +<style> +#page-header {margin: 2em 0 0 0;} +article[role="main"] header {margin-top: 0;} +article[role="main"] a { color: #b53a04;} +#ffext, #chrext, #bkmklt { + display: block; + margin: 20px 0; +} +#ffext a, #chrext a, #bkmklt a { + padding: 10px 8px 10px 35px; + -moz-border-radius: 8px; + -webkit-border-radius: 8px; + border-radius: 8px; + border: #d7d7d7 1px solid; + background: #f2f2f2; + width: auto; + font: 11px normal Helvetica, Verdana, sans-serif; + text-transform: uppercase; +} +#ffext a { + background: #f2f2f2 url("{{MEDIA_URL}}img/fficon.jpg") 2px 50% no-repeat; +} +#chrext a { + background: #f2f2f2 url("{{MEDIA_URL}}img/chricon.jpg") 2px 50% no-repeat; +} +#ffext a:hover, #chrext a:hover, #bkmklt a:hover { background-color: #e2e2e2;} +#bkmklt a { + padding: 10px 8px; +} +</style> +{% endblock %} +{%block bodyid%}id="code"{%endblock%} + +{% block primary %}<section id="page-header"> + <h1 class="hide">The National Parks Project</h1> + <nav> + <ul id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> + <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> →</li> + <li><a href="/projects/" title="luxagraf projects page" itemprop="url"><span itemprop="title">Projects</span></a> →</li> + <li>Code</li> + </ul> + </nav> + </section> + <article role="main"> + {% for object in object_list %} + <header> + <h1>{{object.name}}</h1> + </header> + <div id="post-body"> + {{object.body_html|smartypants|widont|safe}} + </div> + {% endfor %} + </article> + + + +{% endblock %} |