From b120c61343b2f738b7d19fde8c92fbcc377f9441 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Sun, 27 Sep 2020 17:40:12 +0300 Subject: Initial prediction rendering in template --- iss/templates/index.html | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) (limited to 'iss/templates/index.html') diff --git a/iss/templates/index.html b/iss/templates/index.html index a02b312..6c93254 100644 --- a/iss/templates/index.html +++ b/iss/templates/index.html @@ -1,6 +1,34 @@ {% extends "base.html" %} {% block content %} -

ISS Pass Predictions

-

Upcoming passes of the International Space Station at your location over the next 10 days.

+ + + + + + + + + + + + + + + + + {% for pred in predictions %} + + + + + + + + + + + {% endfor %} + +
RiseCulminateSet
TimeAzimuthTimeAzimuthElevationDistanceTimeAzimuth
{{ pred.rise.time }}{{ pred.rise.azimuth }}{{ pred.culminate.time }}{{ pred.culminate.azimuth }}{{ pred.culminate.degrees }}{{ pred.culminate.distance }}{{ pred.set.time }}{{ pred.set.azimuth }}
{% endblock %} -- cgit v1.3.1