diff --git a/drcr/css/tailwind.config.js b/drcr/css/tailwind.config.js index cd868d8..5f45ab3 100644 --- a/drcr/css/tailwind.config.js +++ b/drcr/css/tailwind.config.js @@ -7,5 +7,7 @@ module.exports = { "sans": ["Roboto Flex", "Helvetica", "Arial", "sans-serif"], } }, - plugins: [], + plugins: [ + require('@tailwindcss/forms'), + ], } diff --git a/drcr/templates/statements/statement_lines.html b/drcr/templates/statements/statement_lines.html index 31cc1b2..428b89a 100644 --- a/drcr/templates/statements/statement_lines.html +++ b/drcr/templates/statements/statement_lines.html @@ -15,73 +15,107 @@ along with this program. If not, see . #} -{% extends 'base.html' %} +{% extends 'base_tailwind.html' %} {% block title %}Statement lines{% endblock %} {% block content %} -

Statement lines

+

+ Statement lines +

-
-
- - Import statement +
+
+ + + Import statement + {% if request.args.get('unclassified', '0') != '1' %} - Show only unclassified lines + + Show only unclassified lines + {% endif %}
-
- +
- + - - - - - - - + + + + + + + {% for line in page.items %} - - - - - + + + + - - - + + + {% endfor %}
Source accountDateDescriptionCharged toDrCrBalanceSource accountDateDescriptionCharged toDrCrBalance
{{ line.source_account }}{{ line.dt.strftime('%Y-%m-%d') }}{{ line.description }}{{ line.source_account }}{{ line.dt.strftime('%Y-%m-%d') }}{{ line.description }}{{ line.amount().format() if line.quantity >= 0 else '' }}{{ (line.amount()|abs).format() if line.quantity < 0 else '' }}{{ line.balance or '' }}{{ line.amount().format() if line.quantity >= 0 else '' }}{{ (line.amount()|abs).format() if line.quantity < 0 else '' }}{{ line.balance or '' }}