From 65900b259710169bfbf088e48f4c68d5ef67134f Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Fri, 7 Sep 2018 15:43:21 -0400 Subject: [PATCH] budget chart svg markup/vue template --- templates/workspaces/reports/index.html | 103 ++++++++++++++++++++++-- 1 file changed, 97 insertions(+), 6 deletions(-) diff --git a/templates/workspaces/reports/index.html b/templates/workspaces/reports/index.html index b6a8f2ac..ba788f1e 100644 --- a/templates/workspaces/reports/index.html +++ b/templates/workspaces/reports/index.html @@ -93,16 +93,107 @@ {% set current_month_index = current_month.strftime('%m/%Y') %} {% set prev_month_index = prev_month.strftime('%m/%Y') %} {% set two_months_ago_index = two_months_ago.strftime('%m/%Y') %} + {% set reports_url = url_for("workspaces.workspace_reports", workspace_id=workspace.id) %} - +
-
+

Cumulative Budget

- - - - + + + {# make this clickable to focus on that month #} + + +  |  + + + {# container block #} + + + {# budget bar #} + + + + {# cumulative dot #} + + + {# abbreviated cumulative label #} + + + {# abbreviated spend label #} + + + {# month label #} + + + + + {# spend/projected budget path lines #} + + + + {# max budget line #} + + + Total Budget +