template.html 475 B

1234567891011121314151617181920212223
  1. {% extends "base.html" %}
  2. {% block content %}
  3. <p> Updated at: {{ now }}</p>
  4. <table class="table">
  5. <tr>
  6. <th>Station</th>
  7. <th>Bikes Available</th>
  8. <th>Docks Available</th>
  9. <th>Zip Code</th>
  10. </tr>
  11. {% for station in stations %}
  12. <tr>
  13. <td>{{ station.station-name }}</td>
  14. <td>{{ station.available-bikes }}</td>
  15. <td>{{ station.available-docks }}</td>
  16. <td>{{ station.zipcode }}</td>
  17. </tr>
  18. {% endfor %}
  19. </table>
  20. {% endblock %}