diff --git a/samples/bottle/views/welcome.html b/samples/bottle/views/welcome.html index 943928a..b84f769 100644 --- a/samples/bottle/views/welcome.html +++ b/samples/bottle/views/welcome.html @@ -37,7 +37,7 @@

Recent Activities

{{ stats.get('start_time') }} {{ stats.get('type') }} - {{ '%.1f' % (stats.get('total_distance', 0.0) / 1000) }} + {{ '%.1f' % (stats.get('total_distance', 0.0)) }} %end @@ -58,11 +58,11 @@

Total Distance

%for sport, stats in records.items(): {{ sport }} - {{ '%.1f' % (stats.get('THIS_WEEK', 0.0) / 1000) }} - {{ '%.1f' % (stats.get('LAST_WEEK', 0.0) / 1000) }} - {{ '%.1f' % (stats.get('THIS_MONTH', 0.0) / 1000) }} - {{ '%.1f' % (stats.get('LAST_MONTH', 0.0) / 1000) }} - {{ '%.1f' % (stats.get('OVERALL', 0.0) / 1000) }} + {{ '%.1f' % (stats.get('THIS_WEEK', 0.0)) }} + {{ '%.1f' % (stats.get('LAST_WEEK', 0.0)) }} + {{ '%.1f' % (stats.get('THIS_MONTH', 0.0)) }} + {{ '%.1f' % (stats.get('LAST_MONTH', 0.0)) }} + {{ '%.1f' % (stats.get('OVERALL', 0.0)) }} %end @@ -74,4 +74,4 @@

Total Distance

- \ No newline at end of file +