Browse Source

Add tracking info to layout

pull/2/head
Noah Petherbridge 6 years ago
parent
commit
4374325eb3
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      rophako/www/layout.html

+ 10
- 0
rophako/www/layout.html 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>



Loading…
Cancel
Save