add version info in footer

This commit is contained in:
Robert Einsle 2017-02-25 20:30:08 +01:00
parent fa00563195
commit 2e6cc938aa
2 changed files with 25 additions and 2 deletions

View File

@ -1,3 +1,21 @@
body {
padding-top: 60px;
body > .container {
padding: 60px 15px 0;
}
.container .text-muted {
margin: 20px 0;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 60px;
background-color: #f5f5f5;
}
.footer > .container {
padding-right: 15px;
padding-left: 15px;
}

View File

@ -51,6 +51,11 @@
{% block content %}
{% endblock %}
</div><!-- /.container -->
<footer class="footer">
<div class="container">
<p class="text-muted">carom version 0.0.1</p>
</div>
</footer>
<script src="{% static 'billard/js/jquery-1.12.4.min.js' %}"></script>
<script src="{% static 'billard/js/bootstrap.min.js' %}"></script>
<script src="{% static 'billard/js/carom.js' %}"></script>