tide_index_091313.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {% extends "almanac/base.html" %}
  2. {% block meta_keywords %}{% for tag in object.tags.all %}{{tag}}, {%endfor %}{% endblock %}
  3. {% block meta_title %}Tide Charts | Penobscot Bay Press{% endblock %}
  4. {% block meta_description %}{{object.summary}}{% endblock %}
  5. {% block title %}Tide Charts | Penobscot Bay Press {% endblock %}
  6. {% block content %}
  7. <td valign="top" bgcolor="white" width="565" colspan="2">
  8. <h1 style="margin-left:1em; margin-top:1em;">Tide charts</h1>
  9. <ul class="headlines">
  10. {% regroup charts by year as charts_by_year%}
  11. {% for item in charts_by_year%}
  12. {% if forloop.first %}
  13. <h3>{{item.grouper}}</h3>
  14. {%for chart in item.list|dictsort:"place" %}
  15. <li style="list-style:none;">{{chart.place.point.town}}</li>
  16. <ul class="list-style:none;">
  17. <li style="display:inline; padding-right:10px;"><a href="/almanac/tides/{{chart.place.slug}}-2013jan01.sg" target="_blank">January</a></li>
  18. <li style="display:inline; padding-right:10px;"><a href="/almanac/tides/{{chart.place.slug}}-2013feb01.sg" target="_blank">February</a></li>
  19. <li style="display:inline; padding-right:10px;"><a href="/almanac/tides/{{chart.place.slug}}-2013mar01.sg" target="_blank">March</a></li>
  20. <li style="display:inline; padding-right:10px;"><a href="/almanac/tides/{{chart.place.slug}}-2013apr01.sg" target="_blank">April</a></li>
  21. <li style="display:inline; padding-right:10px;"><a href="/almanac/tides/{{chart.place.slug}}-2013may01.sg" target="_blank">May</a></li>
  22. <li style="display:inline; padding-right:10px;"><a href="/almanac/tides/{{chart.place.slug}}-2013jun01.sg" target="_blank">June</a></li>
  23. <li style="display:inline; padding-right:10px;"><a href="/almanac/tides/{{chart.place.slug}}-2013jul01.sg" target="_blank">July</a></li>
  24. <li style="display:inline; padding-right:10px;"><a href="/almanac/tides/{{chart.place.slug}}-2013aug01.sg" target="_blank">August</a></li>
  25. <li style="display:inline; padding-right:10px;"><a href="/almanac/tides/{{chart.place.slug}}-2013sep01.sg" target="_blank">September</a></li>
  26. <li style="display:inline; padding-right:10px;"><a href="/almanac/tides/{{chart.place.slug}}-2013oct01.sg" target="_blank">October</a></li>
  27. <li style="display:inline; padding-right:10px;"><a href="/almanac/tides/{{chart.place.slug}}-2013nov01.sg" target="_blank">November</a></li>
  28. <li style="display:inline;"><a href="/almanac/tides/{{chart.place.slug}}-2013dec01.sg" target="_blank">December</a></li>
  29. </ul>
  30. {% endfor %}
  31. {% endif %}
  32. {% endfor %}
  33. </ul>
  34. </td>
  35. {% endblock %}