From 9d30359602ec878bb2e8e415670d4cd5eb0ddb2b Mon Sep 17 00:00:00 2001 From: Ignace Date: Fri, 17 Jul 2026 18:19:42 +0200 Subject: [PATCH] moved the report button --- .gitignore | 1 - instance/calendar.sqlite | Bin 0 -> 20480 bytes static/styles.css | 11 +++++- templates/calendar.html | 4 +- tests/test_app.py | 81 ++++++++++++++++++++++----------------- 5 files changed, 55 insertions(+), 42 deletions(-) create mode 100644 instance/calendar.sqlite diff --git a/.gitignore b/.gitignore index 4907a28..de054b9 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,3 @@ __pycache__/ .pytest_cache/ *.py[cod] config.yaml -instance/ diff --git a/instance/calendar.sqlite b/instance/calendar.sqlite new file mode 100644 index 0000000000000000000000000000000000000000..197c3d625eddc3a2d7409a49fa203f03a91812db GIT binary patch literal 20480 zcmeI3duSZT9mntVxaZD{ZCRER$M(u+<#dV9o|(P9S0Y=obZUep*_F?whP1~;Qi-rF zrO`P}nzYa~(AG(z(0}@%&=P2yQV4`R{|W?>7y^Mp9whlQO$vpQ&@?82LOXNb)%?b{ zQ~F2U_K#T*+OPI=^Z4$}?CtM2I{n4@wa%*hwT*i(v^%aB+ZKz*W0S5Mi^Yb-&!G4T zk3MlS5DM`-4$e)dL$Sk`b|UgwYyi<1eww_9D1N{M+rL`}tOM2o>wtB@I$#~J4p;}Q z1J;56CkGy$?N5&6^YKScblP{FUtMW;R$H5$cIV>e>ZT?Jrk5I1&4$~YIzHcUwM*`J z#=YjaT0~1?ZnN>_rh95>ZeeQatb3wy_D~PK(taSQ^eVh~vgt0KnV)xO8naVp=9_N* z8yokYTV2Wbd{S0BeMe*ZggXujnOk(n!;c(t^Y^uv+nu$I^}IOWTw6YuFBE#)aPc15 z*p-%eYwR|-rw!9*mX;ce%~o@6p>eu7wQx#nOrbWA7+J{2V{7XxtM_ky{k(V!ZM83U zHoCfN#Fnourr9_6a4Mc085@g#_q4hP%Xe?AEeE$CIPdGd1HqMu8*uf?zk37P7d9@g zcUsG<>zz$^Zn4?;LSxC@av(5RgN{zP^g6g$=}U~982gtl27L}p3{=0EQz<#G5P3c} zlSs$Nd*sJtoy?Jg_#gOP{0#mPK8I)VDEd2k8$E@7i0($yXrJ@B^M>=JbIDnCCY?Rm zE7?C}f1mwc_O9$ic6a8J%wtCOzv)1(F)-Ta zamvd@S}D@%@I&D_^IgvB)T>jTo6#WF1M#|F%S|h&T;!z)s8q`xhY+hoL4IyZgJ=}w z(f33RmCDU*@+qjdlghEvht!E1>FQ8T8r-89t|@1bfbdA zVsG&21_-g>{5`GY$$6vvV_!y>m6z{U`+D?Ob+VaDM0f+&m_m9TIHwId5Xp+q+DZ{tZP_oK#P0}eSsW+*l46`27Bs~fx z^CqCA<=d5%;n3TlWPTk=TCHi4Rh5)s%LVxLCO3B zP}1tCCYie>yJ4#RO3HxLJ|$)7X)lztc9SOg9wlYq=td}6^#)C{-B60at&%dpvrCg~ z7)n;!38e_nC@BLm;@!177yKd>qt4q7B`a@(lGcbOIaX4JMi7*&=4g^b)CdR<($hjqX@U>&dySO=^F)&c8)b-+4c9k32ue+LR8m%lei^;X6H zpKyD=dWj46=XvFV$mlDS`ew9L5PAI&t%!F@Gs+7hyAM!v19){z&dySO=^F)&c8)b>M&LK#)rpTj*uzCCvYKCH2Gne|LjD zuZ8*ltCENLe<5WkB+UN{DMKDA|1bWd%VQw_FT)og|6db4$p6c51jzr3R(T-*UoFxy Y$p6bQLciJ$AmTh;nEx019b{PGpGxFOb^rhX literal 0 HcmV?d00001 diff --git a/static/styles.css b/static/styles.css index bccadd7..d00043e 100644 --- a/static/styles.css +++ b/static/styles.css @@ -178,7 +178,6 @@ button { -webkit-tap-highlight-color: transparent; } .amount-input span { padding-left: 9px; font-size: 13px; } .amount-input input { width: 100%; min-width: 0; height: 100%; padding: 0 8px 0 3px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; } .custom-amount-form > button { padding: 0 13px; } -.report-row { display: flex; justify-content: flex-end; margin-bottom: 7px; } .delete-row { display: flex; justify-content: flex-end; margin-top: 7px; } .report-button { display: flex; @@ -194,7 +193,15 @@ button { -webkit-tap-highlight-color: transparent; } font-weight: 800; text-decoration: none; } -.report-row .report-button { min-width: 92px; } +.calendar-header .report-button { + min-height: 36px; + padding: 0 13px; + border-color: var(--green); + border-radius: 999px; + background: transparent; + color: var(--green); + font-size: 12px; +} .delete-row button { min-height: 28px; padding: 0 10px; diff --git a/templates/calendar.html b/templates/calendar.html index fea8cdf..7354710 100644 --- a/templates/calendar.html +++ b/templates/calendar.html @@ -9,6 +9,7 @@

Calendar

+ Report
@@ -25,9 +26,6 @@

Tap a day

-
- Report -