blob: c71414453947c9bb19f221bc63861666039a48d8 (
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
67
68
69
70
71
72
73
74
|
{% extends 'base.html' %}
{% load typogrify %}
{% block pagetitle %}Luxagraf | Projects | National Parks {% endblock %}
{% block metadescription %}{% endblock %}
{% block extrahead %}
<link rel="stylesheet"
href="{{MEDIA_URL}}css/dark.css"
type="text/css"
media="screen">
{% endblock %}
{%block bodyid%}id="projects-detail"{%endblock%}
{% block bodyevents %}{% endblock %}
{% block primary %}
<article>
<ul id="breadcrumbs">
<li><a href="/" title="luxagraf homepage">Home</a> →</li>
<li><a href="/projects/" title="luxagraf projects page">Projects</a> →</li>
<li>National Parks</li>
</ul>
<ul id="parks">
{% for object in object_list %}
<li id="park-{{forloop.counter}}">
<div class="figure">
<img src="{{object.image.url}}" alt="{{object.title}}" />
</div>
<h4>{{object.unit_name}}</h4>
<div class="legend">
<h5>{{object.tag_line}}</h5>
<ul class="buttons">
<li><a href="{{object.post.get_absolute_url}}" title="{{object.post.title}}">Read Journal</a></li>
{%if object.gallery%}<li><a href="{{object.gallery.get_absolute_url}}" title="Photos of {{object.unit_name}}">View Photos</a></li>{%endif%}
<li><a href="#" class="map-link" title="{{object.mpoly.centroid.y}},{{object.mpoly.centroid.x}},{{object.zoom}},{{object.id}}">Map</a></li>
<li><a href="#" id="more-{{forloop.counter}}"class="more-link" title="More about {{object.unit_name}}">More</a></li>
</ul>
<dl class="meta" style="visibility: hidden;">
<dt>Visited:</dt>
<dd>{{object.date_visited_begin|date:"m/d/y"}} - {{object.date_visited_end|date:"m/d/y"}}</dd>
<dt>State:</dt>
<dd>{{object.state}}</dd>
<dt>Size:</dt>
<dd>{{object.size}} sq miles</dd>
<dt>Cost:</dt>
<dd>${{object.fee}} / ${{object.camping_fee}} (entry/camping)</dd>
<dt>Link:</dt>
<dd>{{object.url|urlize}}</dd>
</dl>
</div>
</li>
{% endfor %}
</ul>
</article>
{% endblock %}
{% block js %}
<script type="text/javascript" src="{{MEDIA_URL}}js/jquery.js"></script>
<script type="text/javascript" src="{{MEDIA_URL}}js/underscore-min.js"></script>
<script type="text/javascript" src="{{MEDIA_URL}}js/natparks.js" ></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
{% endblock %}
|