forgot to add stop.html template

This commit is contained in:
Sanj 2012-05-23 17:05:53 +05:30
parent bc88a5ffe1
commit afb7f63f51

View File

@ -0,0 +1,43 @@
{% extends 'base.html' %}
{% block body %}
<div id="stopListWrapper" class="listColumn">
<h4>Nearby stops:</h4>
<input class="listFilterInput" placeholder="Filter..." />
<ul id="stopList">
{% for s in stop.nearby_stops %}
<li>
<a href="{{ stop.get_absolute_url }}">{{ s.display_name }}</a>
</li>
{% endfor %}
</ul>
</div>
<div id="routeListWrapper" class="listColumn">
<h4>Routes at stop:</h4>
<input class="listFilterInput" placeholder="Filter..." />
<ul id="routeList">
{% for route in stop.routes %}
<li>
<a href="{{ route.get_absolute_url }}">{{ route.alias }}</a>
</li>
{% endfor %}
</ul>
</div>
<div id="areaListWrapper" class="listColumn">
<h4>Nearby areas:</h4>
<input class="listFilterInput" placeholder="Filter..." />
<ul id="areaList">
{% for area in stop.area.nearby_areas %}
<li>
<a href="{{ area.get_absolute_url }}">{{ area.display_name }}</a>
</li>
{% endfor %}
</ul>
</div>
<div id="map"></div>
{% endblock %}