summaryrefslogtreecommitdiff
path: root/iss/templates/index.html
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2020-09-28 19:08:12 +0300
committerYuval Adam <_@yuv.al>2020-09-28 19:08:12 +0300
commitaa685f4a2b7743ced2ceafc65538eb5457f5ee97 (patch)
tree7d10fcae8ee166a433ca286d9f773be8b0f9f9bb /iss/templates/index.html
parentca75913e447f37656ca516b235d27d8cf054e9f0 (diff)
Split passes endpoint
Diffstat (limited to 'iss/templates/index.html')
-rw-r--r--iss/templates/index.html38
1 files changed, 0 insertions, 38 deletions
diff --git a/iss/templates/index.html b/iss/templates/index.html
index 37b5f40..e48212a 100644
--- a/iss/templates/index.html
+++ b/iss/templates/index.html
@@ -1,42 +1,4 @@
{% extends "base.html" %}
{% block content %}
-<table class="tl pa1 w-100">
- <tr class=" tc pa1 f3">
- <th colspan="1">Total</th>
- <th colspan="2">Rise</th>
- <th colspan="4">Culminate</th>
- <th colspan="2">Set</th>
- </tr>
- <tr class="pa1 f4">
- <th>Date</th>
- <th>Length</th>
- <th>Time</th>
- <th>Azimuth</th>
- <th>Time</th>
- <th>Azimuth</th>
- <th>Elevation</th>
- <th>Distance</th>
- <th>Time</th>
- <th>Azimuth</th>
- </tr>
- {% for date, preds in predictions.items() %}
- {% set date_loop = loop %}
- {% for pred in preds %}
- <tr class="pa1 {{ date_loop.cycle('light-gray', 'light-silver') }}">
- {% if loop.first %}<td rowspan="{{ preds|length }}">{{ date }}</td>{% endif %}
- <td>{{ pred.length }}</td>
- <td>{{ pred.rise.time }}</td>
- <td>{{ pred.rise.azimuth }} ({{ pred.rise.direction }})</td>
- <td>{{ pred.culminate.time }}</td>
- <td>{{ pred.culminate.azimuth }} ({{ pred.culminate.direction }})</td>
- <td>{{ pred.culminate.degrees }}</td>
- <td>{{ pred.culminate.distance }}</td>
- <td>{{ pred.set.time }}</td>
- <td>{{ pred.set.azimuth }} ({{ pred.set.direction }}) </td>
- </tr>
- {% endfor %}
- {% endfor %}
-
-</table>
{% endblock %}