1
0
Fork 0

Beautify footer and messages

merge-requests/112/head
Nikos Roussos 2015-04-11 20:14:47 +03:00
parent b26b466e53
commit ec1b6059c0
1 changed files with 24 additions and 7 deletions

View File

@ -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">&times;</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>&copy; 2014 SatNOGS Team &middot;</p>
<a href="#top">Back to top</a>
</div>
</div>
</div>
</footer>