add version number to gnuviechadmin
- add __version__ to gnuviechadmin/__init__.py - change docs/conf.py to use version number from gnuviechadmin - add gnuviechadmin.context_processors.version_info to add gnuviechadmin_version to template context - add version and technology links to templates/base.html footer - add CSS styles for footer formatting
This commit is contained in:
parent
1bee80044c
commit
251e8a54f6
6 changed files with 59 additions and 6 deletions
|
@ -1,5 +1,4 @@
|
|||
{% load staticfiles i18n account %}
|
||||
<!DOCTYPE html>
|
||||
{% load staticfiles i18n account %}<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
@ -92,7 +91,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="container gva-body">
|
||||
|
||||
<h1>{% block page_title %}Example Base Template{% endblock page_title %}</h1>
|
||||
|
||||
|
@ -111,6 +110,27 @@
|
|||
|
||||
</div> <!-- /container -->
|
||||
|
||||
<footer class="gva-footer" role="contentinfo">
|
||||
<div class="container">
|
||||
<ul class="gva-footer-links text-muted">
|
||||
<li>gnuviechadmin {{ gnuviechadmin_version }}</li>
|
||||
<li>·</li>
|
||||
<li>built with:</li>
|
||||
<li><a href="https://www.python.org/"><i class="icon-python"></i> Python</a></li>
|
||||
<li>·</li>
|
||||
<li><a href="https://www.djangoproject.com/">Django</a></li>
|
||||
<li>·</li>
|
||||
<li><a href="http://www.postgresql.org/"><i class="icon-postgres"></i> PostgreSQL</a></li>
|
||||
<li>·</li>
|
||||
<li><a href="http://getbootstrap.com/">Bootstrap</a></li>
|
||||
<li>·</li>
|
||||
<li><a href="http://fontawesome.io/"><i class="fa fa-flag"></i> Font Awesome</a></li>
|
||||
<li>·</li>
|
||||
<li><a href="http://mfizz.com/oss/font-mfizz"><i class="icon-mfizz"></i> Font Mfizz</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- Le javascript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue