Add tracking info to layout

This commit is contained in:
Noah 2014-12-03 00:09:58 +00:00
parent d5291aeebd
commit 4374325eb3

View File

@ -54,6 +54,15 @@
{% 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>
<div>
&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"] }}
</a>
</div>
</footer>
</div>