mirror of
https://github.com/kirsle/kirsle.net
synced 2024-12-22 06:59:29 +00:00
Update front-end for visitor tracking
This commit is contained in:
parent
7a1e56b140
commit
201797252e
|
@ -180,6 +180,18 @@
|
|||
</form>
|
||||
</div>
|
||||
|
||||
<div class="k-section">Visitors</div>
|
||||
<ul>
|
||||
<li>¤ <strong>Unique Visits:</strong><br>
|
||||
Today: {{ tracking["unique_today"] }}<br>
|
||||
Total: {{ tracking["unique_total"] }}</li>
|
||||
<li>¤ <strong>Total Hits:</strong><br>
|
||||
Today: {{ tracking["hits_today"] }}<br>
|
||||
Total: {{ tracking["hits_total"] }}</li>
|
||||
<li>¤ <a href="{{ url_for('tracking.visitors') }}">Visitor Details</a></li>
|
||||
<li>¤ <a href="{{ url_for('tracking.referrers') }}">Referring URLs</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="center">
|
||||
<a href="https://www.python.org/" target="_blank">
|
||||
<img src="/static/images/python.png" width="80" height="15" alt="Python powered">
|
||||
|
|
|
@ -392,6 +392,26 @@ ul.blog-categories li:last-child:after {
|
|||
padding: 5px
|
||||
}
|
||||
|
||||
/********************
|
||||
* Visitor Tracking *
|
||||
********************/
|
||||
|
||||
.visitor-graph {
|
||||
height: 16px;
|
||||
width: 100%;
|
||||
border: 1px outset;
|
||||
}
|
||||
.visitor-graph.unique {
|
||||
background-color: #0099FF;
|
||||
background-image: url("/static/images/blue-clearlooks.png");
|
||||
border-color: #0099FF;
|
||||
}
|
||||
.visitor-graph.hits {
|
||||
background-color: #FF99FF;
|
||||
background-image: url("/static/images/pink-clearlooks.png");
|
||||
border-color: #FF99FF;
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
* Supernova Website Design Classes - Copyright 2009 Casey Kirsle - Kirsle.com *
|
||||
******************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue
Block a user