Improve UI
Highlight future transactions clarify settings are for budget
This commit is contained in:
parent
915964fa4e
commit
935499e3a8
@ -13,7 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<table class="container col-lg-12" id="content">
|
<table class="container col-lg-12" id="content">
|
||||||
{{range .Transactions}}
|
{{range .Transactions}}
|
||||||
<tr>
|
<tr class="{{if .Date.After now}}future{{end}}">
|
||||||
<td>{{.Date.Format "02.01.2006"}}</td>
|
<td>{{.Date.Format "02.01.2006"}}</td>
|
||||||
<td>
|
<td>
|
||||||
{{.Account}}
|
{{.Account}}
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
+ Add Account
|
+ Add Account
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="/budget/{{.Budget.ID}}/settings">Settings</a>
|
<a href="/budget/{{.Budget.ID}}/settings">Budget-Settings</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="/admin">Admin</a>
|
<a href="/admin">Admin</a>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{{define "title"}}
|
{{define "title"}}
|
||||||
{{.Budget.Name}} - Settings
|
Settings for Budget "{{.Budget.Name}}"
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{template "base" .}}
|
{{template "base" .}}
|
||||||
|
@ -65,9 +65,13 @@ body {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Highlights */
|
||||||
.negative {
|
.negative {
|
||||||
color: #d50000;
|
color: #d50000;
|
||||||
}
|
}
|
||||||
.zero {
|
.zero {
|
||||||
color: #888888;
|
color: #888888;
|
||||||
|
}
|
||||||
|
.future {
|
||||||
|
background-color: #cccccc;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user