Improve sidebar template
This commit is contained in:
27
web/budget-sidebar.tpl
Normal file
27
web/budget-sidebar.tpl
Normal file
@ -0,0 +1,27 @@
|
||||
{{define "budget-sidebar"}}
|
||||
<ul>
|
||||
<li>Budget (Coming Soon)</li>
|
||||
<li>Reports (Coming Soon)</li>
|
||||
<li>All Accounts</li>
|
||||
<li>
|
||||
On-Budget Accounts
|
||||
<ul class="two-valued">
|
||||
{{range .Accounts}}
|
||||
<li>
|
||||
<a href="/budget/{{$.Budget.ID}}/account/{{.ID}}">{{.Name}}</a>
|
||||
<span class="right">{{printf "%.2f" .Balance.GetFloat64}}</span>
|
||||
</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Off-Budget Accounts
|
||||
</li>
|
||||
<li>
|
||||
Closed Accounts
|
||||
</li>
|
||||
<li>
|
||||
+ Add Account
|
||||
</li>
|
||||
</ul>
|
||||
{{end}}
|
Reference in New Issue
Block a user