From 2b8fff3a9bd726517f338b0b530267395b96ea47 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Mon, 16 Sep 2013 16:22:23 +0200 Subject: [PATCH] New graph for round shares * [FEATURE] Adding bar graph for round shares * Graph auto-updates via Ajax from getdashboarddata * [IMPROVEMENT] Minor improvements to the JS template --- public/templates/test/dashboard/default.tpl | 1 + public/templates/test/dashboard/js.tpl | 69 +++++++++++++++---- .../templates/test/dashboard/round_data.tpl | 8 +++ 3 files changed, 63 insertions(+), 15 deletions(-) create mode 100644 public/templates/test/dashboard/round_data.tpl diff --git a/public/templates/test/dashboard/default.tpl b/public/templates/test/dashboard/default.tpl index fdc85020..5313395b 100644 --- a/public/templates/test/dashboard/default.tpl +++ b/public/templates/test/dashboard/default.tpl @@ -1,6 +1,7 @@ {if $smarty.session.AUTHENTICATED|default} {assign var=payout_system value=$GLOBAL.config.payout_system} {include file="dashboard/overview.tpl"} + {include file="dashboard/round_data.tpl"} {include file="dashboard/default_$payout_system.tpl"} {include file="dashboard/js.tpl"} {/if} diff --git a/public/templates/test/dashboard/js.tpl b/public/templates/test/dashboard/js.tpl index b72529c8..f53c944b 100644 --- a/public/templates/test/dashboard/js.tpl +++ b/public/templates/test/dashboard/js.tpl @@ -5,6 +5,11 @@ + + + + +