Browse Source

Add tracking info to layout

pull/2/head
Noah Petherbridge 7 years ago
parent
commit
4374325eb3
  1. 10
      rophako/www/layout.html

10
rophako/www/layout.html

@ -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>

Loading…
Cancel
Save