diff options
| author | Yuval Adam <_@yuv.al> | 2020-09-28 14:46:34 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2020-09-28 14:46:34 +0300 |
| commit | 4efa661b96d682cad76356ef1355482211c5efc5 (patch) | |
| tree | dcc6dafd3ef7b2a835936ffb254a0dc056b7772e /iss/templates/index.html | |
| parent | d3caed4241328258dee6190463bae8b4b5f3800d (diff) | |
Show directions and widen table
Diffstat (limited to 'iss/templates/index.html')
| -rw-r--r-- | iss/templates/index.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/iss/templates/index.html b/iss/templates/index.html index e29da64..37b5f40 100644 --- a/iss/templates/index.html +++ b/iss/templates/index.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% block content %} -<table class="tl pa1"> +<table class="tl pa1 w-100"> <tr class=" tc pa1 f3"> <th colspan="1">Total</th> <th colspan="2">Rise</th> @@ -23,17 +23,17 @@ {% for date, preds in predictions.items() %} {% set date_loop = loop %} {% for pred in preds %} - <tr class="pa2 {{ date_loop.cycle('light-gray', 'light-silver') }}"> + <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 }}</td> + <td>{{ pred.rise.azimuth }} ({{ pred.rise.direction }})</td> <td>{{ pred.culminate.time }}</td> - <td>{{ pred.culminate.azimuth }}</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 }}</td> + <td>{{ pred.set.azimuth }} ({{ pred.set.direction }}) </td> </tr> {% endfor %} {% endfor %} |
