Add tracking info to layout

pull/2/head
Noah 2014-12-03 00:09:58 +00:00
parent d5291aeebd
commit 4374325eb3
1 changed files with 10 additions and 0 deletions

View File

@ -54,6 +54,15 @@
{% block content %}{% endblock %} {% block content %}{% endblock %}
<hr>
<p class="right">
<strong>Visitor Information:</strong><br>
Unique Visitors: {{ tracking["unique_today"] }} today/{{ tracking["unique_total"] }} total<br>
Page Hits: {{ tracking["hits_today"] }} today/{{ tracking["hits_total"] }} total<br>
<a href="{{ url_for('tracking.visitors') }}">Visitor Details</a> |
<a href="{{ url_for('tracking.referrers') }}">Referring URLs</a>
</p>
<footer> <footer>
<div> <div>
&copy; 2014 Noah Petherbridge. Web design released along with the Rophako CMS &copy; 2014 Noah Petherbridge. Web design released along with the Rophako CMS
@ -62,6 +71,7 @@
{{ app["name"] }} v{{ app["version"] }} on Python {{ app["python_version"] }} {{ app["name"] }} v{{ app["version"] }} on Python {{ app["python_version"] }}
</a> </a>
</div> </div>
</footer> </footer>
</div> </div>