tide_seasonal_guide.html 1020 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {% extends "almanac/sg-base.html" %}
  2. {% block title %} Almanac - {{chart}} {% endblock %}
  3. {% block flag %}
  4. <h1>Seasonal Guide</h1>
  5. {% endblock %}
  6. {% block content %}
  7. {% load typogrify %}
  8. <div id="tide">
  9. {% load typogrify humanize almanac_tags %}
  10. <div id="seasonal-guide" class="first">
  11. {% for day in first_day_set %}
  12. <table id="guide">
  13. <tr class="sg-row" valign="top">
  14. {% show_tide_day_as_box day %}
  15. </tr>
  16. </table>
  17. {% endfor %}
  18. </div>
  19. <div id="seasonal-guide" class="second" >
  20. {% for day in second_day_set %}
  21. <table id="guide">
  22. <tr class="sg-row" valign="top">
  23. {% show_tide_day_as_box day %}
  24. </tr>
  25. </table>
  26. {% endfor %}
  27. </div>
  28. {% if naut_twil_am %}
  29. <div id="sesaonal-guide">
  30. <p class="naut_twil">Beginning this week, Nautical Twilight (Sun 12º below horizon) begins at {% bold_afternoon_time naut_twil_am "%-I:%M" %} and ends at {% bold_afternoon_time naut_twil_pm "%-I:%M" %}.</p>
  31. </div>
  32. {% endif %}
  33. </div>
  34. {% endblock %}
  35. {% block sidebar %}
  36. {% endblock %}