1
0
Fork 0

Use same style for tle notice as the timezone one

Also:
* Update requirements
* Add requires badge
*
pull/194/head
Nikos Roussos 2016-01-27 17:56:48 +02:00
parent d676733cb3
commit 45bde8c24e
5 changed files with 16 additions and 13 deletions

View File

@ -12,6 +12,8 @@ See the [documentation](http://docs.satnogs.org/network/).
You can take a look for the current status of development issues at our [Kanban board](https://huboard.com/satnogs/satnogs-network).
[![Requirements Status](https://requires.io/github/satnogs/satnogs-network/requirements.svg?branch=dev)](https://requires.io/github/satnogs/satnogs-network/requirements/?branch=dev)
## License
© 2014-2016 [Libre Space Foundation](http://librespacefoundation.org).

View File

@ -288,11 +288,15 @@ code.log p {
display: none;
}
.epoch {
.tle {
display: none;
margin-top: 5px;
}
.timezone {
margin-top: 5px;
}
.tle-data {
margin-bottom: 15px;
}

View File

@ -18,8 +18,8 @@ $(function () {
$('#transmitter-selection option').hide();
$('#transmitter-selection option[data-satellite="'+norad+'"]').show().prop('selected', true);
$('.epoch').hide();
$('.epoch[data-norad="'+norad+'"]').show();
$('.tle').hide();
$('.tle[data-norad="'+norad+'"]').show();
});
});

View File

@ -46,14 +46,12 @@
{% endfor %}
</select>
{% for satellite in satellites %}
<div class="epoch" data-norad="{{ satellite.norad_cat_id }}">
<small class="tle" data-norad="{{ satellite.norad_cat_id }}">
{% if satellite.tle_no %}
Using TLE {{ satellite.tle_no }} issued
<span id="epoch-datetime">
{{ satellite.tle_epoch|timesince }} ago
</span>
{{ satellite.tle_epoch|timesince }} ago
{% endif %}
</div>
</small>
{% endfor %}
</div>
</div>
@ -89,9 +87,8 @@
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
<small class="pull-right">
<strong>IMPORTANT:</strong>
Timeframe is considered to be in UTC timezone.
<small class="timezone pull-right">
Timeframe is in <a href="http://www.timeanddate.com/worldclock/timezone/utc" target="_blank">UTC</a>
</small>
</div>
</div>

View File

@ -22,9 +22,9 @@ django-avatar==2.2.1
django-crispy-forms==1.6.0
# Astronomy
orbit==0.2
git+https://github.com/comzeradd/orbit.git@cache##egg=orbit
# API
djangorestframework==3.3.2
Markdown==2.6.5
django-filter==0.12.0
git+https://github.com/alex/django-filter.git@0.12.0#egg=django-filter