From 12d71a0103fc9e3f4df733c19aadb1fc0e0ae7e1 Mon Sep 17 00:00:00 2001 From: wjsjwr Date: Sun, 29 Dec 2024 01:17:37 +0800 Subject: [PATCH] Add index page --- .../244cc0b1-ac8c-4e66-a440-fb727301f139.xml | 65 +-- .idea/workspace.xml | 54 +- bookkeeper/Cargo.lock | 522 +++++++++++++++++- bookkeeper/Cargo.toml | 1 + bookkeeper/Rocket.toml | 3 + bookkeeper/entity/src/transaction.rs | 4 +- bookkeeper/src/main.rs | 22 +- bookkeeper/templates/base.html.j2 | 80 +++ bookkeeper/templates/index.html.j2 | 62 +++ 9 files changed, 762 insertions(+), 51 deletions(-) create mode 100644 bookkeeper/templates/base.html.j2 create mode 100644 bookkeeper/templates/index.html.j2 diff --git a/.idea/dataSources/244cc0b1-ac8c-4e66-a440-fb727301f139.xml b/.idea/dataSources/244cc0b1-ac8c-4e66-a440-fb727301f139.xml index 4c7c529..5d451a8 100644 --- a/.idea/dataSources/244cc0b1-ac8c-4e66-a440-fb727301f139.xml +++ b/.idea/dataSources/244cc0b1-ac8c-4e66-a440-fb727301f139.xml @@ -499,7 +499,7 @@ 1 - 2024-12-25.12:45:04 + 2024-12-28.14:00:33 R @@ -1654,84 +1654,87 @@ 1 2 - varchar|0s + integer|0s 1 3 varchar|0s - + 1 4 - real|0s + date_text|0s - + 1 5 - integer|0s - - - 1 - 6 real|0s - + + 1 + 6 + integer|0s + + 1 7 real|0s - - 1 + 8 + date_text|0s + + + 9 real|0s - - 1 - 9 + + 10 + real|0s + + + 11 integer|0s - - 1 - 10 + + 12 jsonb_text|0s - - 1 - 11 + + 13 real|0s - - 1 - 12 + + 14 real|0s - + id 1 - + 1 1 1 integer|0s - + 1 2 varchar|0s - + 1 3 varchar|0s - + 1 4 varchar|0s - + id 1 diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 3a08de5..0ea32f7 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -10,16 +10,15 @@ - + + + - - - - + + + + + + { "customColor": "", "associatedIndex": 1 @@ -46,6 +55,7 @@ @@ -132,7 +142,10 @@ @@ -161,6 +190,13 @@ - + + +