123456789101112131415161718192021222324 |
- <td class="sg-datebox {% ifnotequal day.day.moonphase None %}sg-moonphase{{day.day.moonphase}}{% endifnotequal %}">
- <h2 class="sg-dateline">{{day.day.date|date:"D"}} <span class="sg-date">{{day.day.date|date:"n/j"}}</span></h2>
- {% ifnotequal day.day.moonphase None %}
- <h3 class="sg-moonphase sg-moonphase{{day.day.moonphase}}a"><span class="sg-moonphase-text">{{day.day.get_moonphase_display}}</span></h3>
- <p>{{day.day.get_moonphase_display}}</p>
- <p> {{day.day.moonphase_time|time:"P"}}</p>
- {% endifnotequal %}
- </td>
- <td class="sg-setbox">
- <table class="sg-list">
- <tr><td>Moonset</td><td class="right">{{day.day.moonset|time:"H:i"}}</td></tr>
- <tr><td>Sunrise</td><td class="right">{{day.day.sunrise|time:"H:i"}}</td></tr>
- <tr><td>Moonrise</td><td class="right">{{day.day.moonrise|time:"H:i"}}</td></tr>
- <tr><td>Sunset</td><td class="right">{{day.day.sunset|time:"H:i"}}</td></tr>
- </table>
- </td>
- <td class="sg-tidebox">
- <table class="sg-list">
- <tr><td>{{day.tide_1.get_state_display}}</td><td class="time right">{{day.tide_1.time|time:"H:i"}}</td><td class="right">{{day.tide_1.level|floatformat}}'</td></tr>
- <tr><td>{{day.tide_2.get_state_display}}</td><td class="time right">{{day.tide_2.time|time:"H:i"}}</td><td class="right">{{day.tide_2.level|floatformat}}'</td></tr>
- <tr><td>{{day.tide_3.get_state_display}}</td><td class="time right">{{day.tide_3.time|time:"H:i"}}</td><td class="right">{{day.tide_3.level|floatformat}}'</td></tr>
- <tr><td>{{day.tide_4.get_state_display}}</td><td class="time right">{{day.tide_4.time|time:"H:i"}}</td><td class="right">{{day.tide_4.level|floatformat}}'</td></tr>
- </table>
- </td>
|