From 5963d7df9d231018d8739f27093a25fedc1c514d Mon Sep 17 00:00:00 2001 From: Arnaud Bos Date: Tue, 1 Nov 2011 14:35:20 +0100 Subject: [PATCH] Replace edit / delete links by icons. Fix #49. --- budget/static/main.css | 13 +++++++++++++ budget/static/pen.png | Bin 0 -> 3912 bytes budget/static/scissors.png | Bin 0 -> 4312 bytes budget/templates/list_bills.html | 10 ++++++++-- 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 budget/static/pen.png create mode 100644 budget/static/scissors.png diff --git a/budget/static/main.css b/budget/static/main.css index 7995295..f156fa8 100644 --- a/budget/static/main.css +++ b/budget/static/main.css @@ -126,3 +126,16 @@ div.topbar ul.secondary-nav { padding-right: 75px; } .confirm, .confirm:hover { color: red; } + +.bill-actions { + padding-top: 2px; + padding-bottom: 2px; +} + +.edit img { + height: 24px; +} + +.delete img { + height: 24px; +} diff --git a/budget/static/pen.png b/budget/static/pen.png new file mode 100644 index 0000000000000000000000000000000000000000..f486e40e73a3e304f29728ea42308f37d95167b0 GIT binary patch literal 3912 zcmV-O54Z4%P)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=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({{ "%0.2f"|format(bill.pay_each()) }} {{ _("each") }}) - {{ _("edit") }} - {{ _("delete") }} + + + + + + + + {% endfor %}