diff --git a/src/TODO.md b/src/TODO.md index eb13f7c..3b3257b 100644 --- a/src/TODO.md +++ b/src/TODO.md @@ -7,3 +7,6 @@ used - [ ] Debts table - [ ] Ability to export data in multiple formats and with a selection of columns - [ ] Migrate every column named "ExpenseSomething" to "ExpSomething" +- [ ] Make the models just return errors and not do any handling themselves +- [ ] Reduce the size of the font file +- [ ] Add some migration tool diff --git a/src/assets/css/aesthetic.css b/src/assets/css/aesthetic.css index 8e1bb8c..60d12ee 100644 --- a/src/assets/css/aesthetic.css +++ b/src/assets/css/aesthetic.css @@ -30,19 +30,19 @@ opacity: 1; } 20% { - opacity: 1; + opacity: 1.1; } 40% { - opacity: 1.1; + opacity: 0.9; } 60% { - opacity: 1.1; + opacity: 1; } 80% { - opacity: 1.1; + opacity: 0.9; } 100% { - opacity: 0.9; + opacity: 1; } } @keyframes beam { @@ -340,7 +340,7 @@ dt { } .text-color { - color: var(--text-color) !important; + color: var(--text-color); } #container { @@ -414,7 +414,7 @@ dt { } .warning { - color: var(--warning-color); + color: var(--warning-color) !important; } @media (max-width: 900px) { diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss index 0ac2aca..e6fa942 100644 --- a/src/assets/css/main.scss +++ b/src/assets/css/main.scss @@ -128,7 +128,7 @@ dt { } .text-color { - color: var(--text-color) !important; + color: var(--text-color); } #container { @@ -210,7 +210,7 @@ dt { } .warning { - color: var(--warning-color); + color: var(--warning-color) !important; } @media (max-width: 900px) { diff --git a/src/assets/htmx/expense.html b/src/assets/htmx/expense.html index 7be9b9c..0a6c118 100644 --- a/src/assets/htmx/expense.html +++ b/src/assets/htmx/expense.html @@ -10,29 +10,29 @@ + value="{{ .expense.ExpID }}" id="expense-id"> {{ end }} Description: + value="{{ .expense.Description }}" id="expense-desc"> Date: + value="{{ formatDate .expense.Date }}" id="expense-date"> Value: + value="{{ formatPrice .expense.Value }}" id="expense-value"> Type: {{ range .types }} {{ .TypeName }} {{ end}} @@ -71,7 +71,7 @@ DELETE {{ end }} diff --git a/src/assets/htmx/expensePaymentsTable.html b/src/assets/htmx/expensePaymentsTable.html index 1832c04..9194782 100644 --- a/src/assets/htmx/expensePaymentsTable.html +++ b/src/assets/htmx/expensePaymentsTable.html @@ -21,7 +21,7 @@ {{ range .users }} {{ .UserName }} {{ end }} @@ -38,10 +38,10 @@ {{ range .payments }} {{ $payment := . }} -