From 0345f90a7baceae507f417abe30736cc95cdc0cf Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Fri, 9 Oct 2020 22:42:56 -0500 Subject: Begin refactor to use server side templates --- src/templates/index.html | 210 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 src/templates/index.html (limited to 'src/templates/index.html') diff --git a/src/templates/index.html b/src/templates/index.html new file mode 100644 index 0000000..525f8fe --- /dev/null +++ b/src/templates/index.html @@ -0,0 +1,210 @@ + + + + + Budget + + + + + + + + + + +
+

{{summary.username}}'s budget

+
+ + + + +
+ + +
+
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
DateWhereAmountCategorySubcategory
{{i+1}}{{transaction.when.substring(0,10)}}{{transaction.where}}{{transaction.amount}}{{transaction.category}}{{transaction.subcategory}} + + +
+
+ + + + + + + + + + + + + + + + + + + +
DateWhereAmountCategorySubcategory
+ + + + + + + + + +
+ + +
+
+

Weekly

+ + + + + + + + + + + + + + + +
YearWeekInOutNet
{{data.y}}{{data.w}}{{data.in}}{{data.out}}{{data.net}} +
+
+
+

Monthly

+ + + + + + + + + + + + + + + +
YearMonthInOutNet
{{data.y}}{{data.m}}{{data.in}}{{data.out}}{{data.net}} +
+
+
+

Yearly

+ + + + + + + + + + + + + +
YearInOutNet
{{data.y}}{{data.in}}{{data.out}}{{data.net}} +
+
+
+ + +
+
+
+ New Goal + + + +
+
+ Allocate funds + + out of {{total_to_allocate}} + + +
+ + + + + + + + + +
NameAmountTotalRemaining
{{i+1}}{{goal.name}}{{goal.amount}}{{goal.total}}{{goal.total - goal.amount}}
+
+
+ + +
+
+
+ New Expected + + + + +
+ + + + + + + + +
NameTotalPeriod
{{i+1}}{{e.name}}{{e.total}}{{e.days}}
+
+
+
+ + + \ No newline at end of file -- cgit v1.2.3