Improve UI

Highlight future transactions
clarify settings are for budget
This commit is contained in:
Jan Bader 2021-12-11 20:19:28 +00:00
parent 915964fa4e
commit 935499e3a8
4 changed files with 7 additions and 3 deletions

View File

@ -13,7 +13,7 @@
</div>
<table class="container col-lg-12" id="content">
{{range .Transactions}}
<tr>
<tr class="{{if .Date.After now}}future{{end}}">
<td>{{.Date.Format "02.01.2006"}}</td>
<td>
{{.Account}}

View File

@ -36,7 +36,7 @@
+ Add Account
</li>
<li>
<a href="/budget/{{.Budget.ID}}/settings">Settings</a>
<a href="/budget/{{.Budget.ID}}/settings">Budget-Settings</a>
</li>
<li>
<a href="/admin">Admin</a>

View File

@ -1,5 +1,5 @@
{{define "title"}}
{{.Budget.Name}} - Settings
Settings for Budget "{{.Budget.Name}}"
{{end}}
{{template "base" .}}

View File

@ -65,9 +65,13 @@ body {
text-align: right;
}
/* Highlights */
.negative {
color: #d50000;
}
.zero {
color: #888888;
}
.future {
background-color: #cccccc;
}