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). 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 ## License
© 2014-2016 [Libre Space Foundation](http://librespacefoundation.org). © 2014-2016 [Libre Space Foundation](http://librespacefoundation.org).

View File

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

View File

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

View File

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

View File

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