diff --git a/drcr/templates/statements/import.html b/drcr/templates/statements/import.html index 6ae6a98..726b749 100644 --- a/drcr/templates/statements/import.html +++ b/drcr/templates/statements/import.html @@ -1,5 +1,5 @@ {# DrCr: Web-based double-entry bookkeeping framework - Copyright (C) 2022–2023 Lee Yingtong Li (RunasSudo) + Copyright (C) 2022–2024 Lee Yingtong Li (RunasSudo) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by @@ -15,48 +15,56 @@ along with this program. If not, see . #} -{% extends 'base.html' %} +{% extends 'base_tailwind.html' %} {% block title %}Import statement{% endblock %} {% block content %} -

Import statement

+

+ Import statement +

-

OFX 1.x

+

OFX 1.x

-
-
- +
+
+
-
- +
+
+
+ + +
+
+
- -
-
- +
-

OFX 2.x

+

OFX 2.x

-
-
- +
+
+
-
- +
+
+
+ + +
+
+
- -
-
- +
diff --git a/drcr/templates/statements/import_preview.html b/drcr/templates/statements/import_preview.html index 167a42c..60b5052 100644 --- a/drcr/templates/statements/import_preview.html +++ b/drcr/templates/statements/import_preview.html @@ -1,5 +1,5 @@ {# DrCr: Web-based double-entry bookkeeping framework - Copyright (C) 2022–2023 Lee Yingtong Li (RunasSudo) + Copyright (C) 2022–2024 Lee Yingtong Li (RunasSudo) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by @@ -15,32 +15,32 @@ along with this program. If not, see . #} -{% extends 'base.html' %} +{% extends 'base_tailwind.html' %} {% block title %}Import statement preview{% endblock %} {% block content %} -

Import statement preview

+

+ Import statement preview +

-

Imported statement lines

- - +
- - - - - - + + + + + + {% for line in statement_lines %} - - - - - + + + + + {% endfor %}
DateDescriptionDrCrBalance
DateDescriptionDrCrBalance
{{ 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.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 '' }}