From 57ff25198a82b3f6f413440e4005f0ade8dfb8d8 Mon Sep 17 00:00:00 2001 From: pacien Date: Thu, 29 Jul 2021 18:04:48 +0200 Subject: app: render and serve proper web pages --- templates/_base.html.jinja | 71 ++++++++++++++++++++ templates/_fragments.html.jinja | 34 ++++++++++ templates/homepage.html.jinja | 95 +++++++++++++++++++++++++++ templates/launder.html.jinja | 38 +++++++++++ templates/wallet.html.jinja | 140 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 378 insertions(+) create mode 100644 templates/_base.html.jinja create mode 100644 templates/_fragments.html.jinja create mode 100644 templates/homepage.html.jinja create mode 100644 templates/launder.html.jinja create mode 100644 templates/wallet.html.jinja (limited to 'templates') diff --git a/templates/_base.html.jinja b/templates/_base.html.jinja new file mode 100644 index 0000000..5649718 --- /dev/null +++ b/templates/_base.html.jinja @@ -0,0 +1,71 @@ +{# + UGE / L2 / Intro to relational databases / Python project prototype + Author: Pacien TRAN-GIRARD + Licence: EUPL-1.2 +#} + +{% import '_fragments.html.jinja' as fragments %} + + + +
+ + + + + + {% block headers %} + + + + + +The financial cycle will be completed soon.
+Date | +Operation | +Amount | +
---|---|---|
{{ transaction.datetime.strftime('%Y-%m-%d %H:%M:%S') }} | +{{ format_operation(transaction) }} | ++ {{ transaction.amount }} § + | +
No past transaction. | +