From 201797252e6b951ea1d34b7d7a32ca0927cc312e Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Tue, 2 Dec 2014 15:47:11 -0800 Subject: [PATCH] Update front-end for visitor tracking --- www/layout.html | 12 ++++++++++++ www/solar/ui.css | 20 ++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/www/layout.html b/www/layout.html index a19368f..211f593 100644 --- a/www/layout.html +++ b/www/layout.html @@ -180,6 +180,18 @@ +
Visitors
+ +
Python powered diff --git a/www/solar/ui.css b/www/solar/ui.css index 26e4c7d..d9f070a 100644 --- a/www/solar/ui.css +++ b/www/solar/ui.css @@ -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 * ******************************************************************************/