forgot to add stop.html template
This commit is contained in:
parent
bc88a5ffe1
commit
afb7f63f51
43
chaloBEST/templates/stop.html
Normal file
43
chaloBEST/templates/stop.html
Normal 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 %}
|
Loading…
Reference in New Issue
Block a user