From e242733deb546c2b7f00d302a96bee0c0e609a2e Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Sat, 10 Oct 2020 09:49:26 -0500 Subject: Create expected, goals, and summary pages --- src/templates/expected.html | 38 +++++++++++++++++ src/templates/goals.html | 50 ++++++++++++++++++++++ src/templates/ledger.html | 51 ++++++++++++++++++++++ src/templates/summary.html | 101 ++++++++++++++++++++++++++++++-------------- 4 files changed, 208 insertions(+), 32 deletions(-) create mode 100644 src/templates/expected.html create mode 100644 src/templates/goals.html create mode 100644 src/templates/ledger.html (limited to 'src/templates') diff --git a/src/templates/expected.html b/src/templates/expected.html new file mode 100644 index 0000000..15b9d7c --- /dev/null +++ b/src/templates/expected.html @@ -0,0 +1,38 @@ + + + + + {{name}}'s Budget + + + + + +

{{name}}'s Budget

+
+ + + + +
+ +
+ + + + +
+ + + {{#each expecteds}} + + + + + + + {{/each}} +
NameTotalPeriod
{{this.index}}{{this.name}}{{this.total}}{{this.days}}
+ + + diff --git a/src/templates/goals.html b/src/templates/goals.html new file mode 100644 index 0000000..b617a6e --- /dev/null +++ b/src/templates/goals.html @@ -0,0 +1,50 @@ + + + + + {{name}}'s Budget + + + + + +

{{name}}'s Budget

+
+ + + + +
+ +
+ + + +
+
+ Allocate funds + + + +
+ + + {{#each goals}} + + + + + + + + {{/each}} +
NameAmountTotalRemaining
{{this.index}}{{this.name}}{{this.amount}}{{this.total}}{{this.remaining}}
+ + + diff --git a/src/templates/ledger.html b/src/templates/ledger.html new file mode 100644 index 0000000..0ac9b0e --- /dev/null +++ b/src/templates/ledger.html @@ -0,0 +1,51 @@ + + + + + {{name}}'s Budget + + + + + +

{{name}}'s Budget

+
+ + + + +
+
+ + + + + + +
+ + + + + + + + + + {{#each ledger}} + + + + + + + + + {{/each}} +
WhenWhereAmountCategoryTags
{{this.index}}{{this.when}}{{this.where}}{{this.amount}}{{this.category}}{{this.subcategory}}
+ + + + diff --git a/src/templates/summary.html b/src/templates/summary.html index 5bf828e..bffd46b 100644 --- a/src/templates/summary.html +++ b/src/templates/summary.html @@ -9,37 +9,74 @@

{{name}}'s Budget

-
- - - - - - -
- - - - - - - - - - {{#each ledger}} - - - - - - - - - {{/each}} -
WhenWhereAmountCategoryTags
{{this.index}}{{this.when}}{{this.where}}{{this.amount}}{{this.category}}{{this.subcategory}}
- +
+ + + + +
+ +
+

Weekly

+ + + + + + + + + {{#each week}} + + + + + + + + {{/each}} +
YearWeekInOutNet
{{this.y}}{{this.w}}{{this.in}}{{this.out}}{{this.net}}
+
+
+

Monthly

+ + + + + + + + + {{#each month}} + + + + + + + + {{/each}} +
YearMonthInOutNet
{{this.y}}{{this.m}}{{this.in}}{{this.out}}{{this.net}}
+
+
+

Yearly

+ + + + + + + + {{#each year}} + + + + + + + {{/each}} +
YearInOutNet
{{this.y}}{{this.in}}{{this.out}}{{this.net}}
+
- + \ No newline at end of file -- cgit v1.2.3