summaryrefslogtreecommitdiff
path: root/templates/details/code.html
blob: c6037824c0c2c46340096e08200b62d2aa7842d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{% 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> &rarr;</li>
                <li><a href="/projects/" title="luxagraf projects page" itemprop="url"><span itemprop="title">Projects</span></a> &rarr;</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>
        <section id="comments">
            <h4><a class="disqus-link-count" href="{{object.get_absolute_url}}#disqus_thread">Comments</a></h4>
            <div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/luxagraf/embed.js"></script><noscript><a href="http://luxagraf.disqus.com/?url=ref">View the discussion thread.</a></noscript><a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
        </section>
    {% endfor %}
    </article>
    


{% endblock %}