From ed52f9a34ebe0cf51bda3cc2d719c55114fd4746 Mon Sep 17 00:00:00 2001 From: wjsjwr Date: Sun, 29 Dec 2024 21:38:30 +0800 Subject: [PATCH] Refine data structure and index page --- .idea/finance-consumer.iml | 1 + .idea/jsLibraryMappings.xml | 6 ++ .idea/workspace.xml | 32 +++++-- bookkeeper/Cargo.lock | 6 +- bookkeeper/Cargo.toml | 2 + bookkeeper/entity/src/transaction.rs | 5 +- .../src/m20220101_000001_create_table.rs | 10 +-- bookkeeper/src/main.rs | 85 ++++++++++++++++--- bookkeeper/templates/base.html.j2 | 70 +-------------- bookkeeper/templates/index.html.j2 | 71 ++++++++++------ bookkeeper/templates/nav.html.j2 | 29 +++++++ bookkeeper/templates/tx.html.j2 | 61 +++++++++++++ 12 files changed, 247 insertions(+), 131 deletions(-) create mode 100644 .idea/jsLibraryMappings.xml create mode 100644 bookkeeper/templates/nav.html.j2 create mode 100644 bookkeeper/templates/tx.html.j2 diff --git a/.idea/finance-consumer.iml b/.idea/finance-consumer.iml index a8b96a4..5859576 100644 --- a/.idea/finance-consumer.iml +++ b/.idea/finance-consumer.iml @@ -9,5 +9,6 @@ + \ No newline at end of file diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml new file mode 100644 index 0000000..13898e9 --- /dev/null +++ b/.idea/jsLibraryMappings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 0ea32f7..a60b665 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -11,15 +11,18 @@ - - - + + + + - + + + + + + + + @@ -145,7 +156,8 @@ - + + -