diff options
author | Mark Powers <markppowers0@gmail.com> | 2020-10-19 21:55:02 -0500 |
---|---|---|
committer | Mark Powers <markppowers0@gmail.com> | 2020-10-19 21:55:02 -0500 |
commit | e0a4d1bb1339e80775aa37efaf8cac314278f8e9 (patch) | |
tree | 91c09487df6793e4faaed4c0a883cba2ae199d20 /src/templates/expected.html | |
parent | ad24db7fe9fca72c38caaa40d2ada8cbeb04994d (diff) |
Add navigation template and logout
Diffstat (limited to 'src/templates/expected.html')
-rw-r--r-- | src/templates/expected.html | 86 |
1 files changed, 48 insertions, 38 deletions
diff --git a/src/templates/expected.html b/src/templates/expected.html index 64841a5..9554896 100644 --- a/src/templates/expected.html +++ b/src/templates/expected.html @@ -8,44 +8,54 @@ </head> <body> - <h1>{{name}}'s Budget</h1> - <div> - <a href="/ledger"><button>Ledger</button></a> - <a href="/summary"><button>Summary</button></a> - <a href="/goals"><button>Goals</button></a> - <a href="/expected"><button class="bold">Expected</button></a> - <a href="/about"><button>About</button></a> - </div> + <div class="main"> + <h1>{{name}}'s Budget</h1> + <div> + <a href="/ledger"><button>Ledger</button></a> + <a href="/summary"><button>Summary</button></a> + <a href="/goals"><button>Goals</button></a> + <a href="/expected"><button class="bold">Expected</button></a> + <a href="/about"><button>About</button></a> + </div> - <form method="post" action="/expected"> - <input name="name" placeholder="name" type="text"> - <input name="total" placeholder="total" type="number"> - <input name="days" placeholder="days" type="number"> - <input type="submit" value="Add"> - </form> - <table> - <tr><th></th><th>Name</th><th>Total</th><th>Period</th></tr> - {{#each expecteds}} - <tr> - <td class="table-index">{{this.index}}</td> - <td>{{this.name}}</td> - <td>{{this.total}}</td> - <td>{{this.days}}</td> - </tr> - {{/each}} - </table> - <table> - <tr> - <td>Weekly:</td> - <td>{{week}}</td> - </tr><tr> - <td>Monthly:</td> - <td>{{month}}</td> - </tr><tr> - <td>Yearly:</td> - <td>{{year}}</td> - </tr> - </table> + <form method="post" action="/expected"> + <input name="name" placeholder="name" type="text"> + <input name="total" placeholder="total" type="number"> + <input name="days" placeholder="days" type="number"> + <input type="submit" value="Add"> + </form> + <table> + <tr> + <th></th> + <th>Name</th> + <th>Total</th> + <th>Period</th> + </tr> + {{#each expecteds}} + <tr> + <td class="table-index">{{this.index}}</td> + <td>{{this.name}}</td> + <td>{{this.total}}</td> + <td>{{this.days}}</td> + </tr> + {{/each}} + </table> + <table> + <tr> + <td>Weekly:</td> + <td>{{week}}</td> + </tr> + <tr> + <td>Monthly:</td> + <td>{{month}}</td> + </tr> + <tr> + <td>Yearly:</td> + <td>{{year}}</td> + </tr> + </table> + </div> + {{>navigation}} </body> -</html> +</html>
\ No newline at end of file |