From a5fb18ce447d6c687898d0be39cb1b0edc78212e Mon Sep 17 00:00:00 2001 From: gbernardo Date: Wed, 15 Apr 2015 13:19:41 -0500 Subject: [PATCH] Added Browser Countdown added countdown clock as sanity check to indicate when browser will refresh next. if the counter ever reaches 0 then your browser has locked up. used open source tool from flipclockjs.com --- src/templates/default/main/body.tpl.html | 19 +- static/plugin/flipclock/flipclock.css | 437 ++++ static/plugin/flipclock/flipclock.js | 2782 ++++++++++++++++++++++ static/plugin/flipclock/flipclock.min.js | 2 + static/plugin/flipclock/license.txt | 19 + 5 files changed, 3256 insertions(+), 3 deletions(-) create mode 100644 static/plugin/flipclock/flipclock.css create mode 100644 static/plugin/flipclock/flipclock.js create mode 100644 static/plugin/flipclock/flipclock.min.js create mode 100644 static/plugin/flipclock/license.txt diff --git a/src/templates/default/main/body.tpl.html b/src/templates/default/main/body.tpl.html index 8b00ed8e..104473fa 100644 --- a/src/templates/default/main/body.tpl.html +++ b/src/templates/default/main/body.tpl.html @@ -1,7 +1,7 @@ {% block header %} - + {{ title }} @@ -9,7 +9,6 @@ - {% if auto_refresh %} {% endif %} @@ -18,6 +17,7 @@ + +
+

Time until browser refresh:

+
+ +
+ {% if add_footer %} {% block footer %}