Beautify footer and messages
parent
b26b466e53
commit
ec1b6059c0
|
@ -70,9 +70,18 @@
|
|||
<div class="container">
|
||||
|
||||
{% if messages %}
|
||||
{% for message in messages %}
|
||||
<div class="alert {% if message.tags %}alert-{{ message.tags }}"{% endif %}>{{ message }}</div>
|
||||
{% endfor %}
|
||||
<div class="row messages">
|
||||
<div class="col-md-12">
|
||||
{% for notification in messages %}
|
||||
<div class="alert alert-{{ notification.tags }}" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
{{ notification.message }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% block content %}{% endblock content %}
|
||||
|
@ -84,11 +93,19 @@
|
|||
<footer>
|
||||
<div class="container">
|
||||
<hr>
|
||||
<p class="pull-right">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<span class="glyphicon glyphicon-copyright-mark" aria-hidden="true"></span> 2014<script>document.write("-"+new Date().getFullYear());</script>
|
||||
<a href="http://librespacefoundation.org/" target="_blank">Libre Space Foundation</a>.<br>
|
||||
<span class="glyphicon glyphicon-cloud" aria-hidden="true"></span>
|
||||
Observation data are freely distributed under the
|
||||
<a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank">CC BY-SA</a> license.
|
||||
</div>
|
||||
<div class="col-md-6 text-right footer-options">
|
||||
<a href="https://github.com/satnogs/satnogs-network">Contribute</a> |
|
||||
<a href="#">Back to top</a>
|
||||
</p>
|
||||
<p>© 2014 SatNOGS Team ·</p>
|
||||
<a href="#top">Back to top</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
|
Loading…
Reference in New Issue