From 5963d7df9d231018d8739f27093a25fedc1c514d Mon Sep 17 00:00:00 2001 From: Arnaud Bos Date: Tue, 1 Nov 2011 14:35:20 +0100 Subject: 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 0000000..f486e40 Binary files /dev/null and b/budget/static/pen.png differ diff --git a/budget/static/scissors.png b/budget/static/scissors.png new file mode 100644 index 0000000..2a40f0b Binary files /dev/null and b/budget/static/scissors.png differ diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html index c33a7e2..a6c68b8 100644 --- a/budget/templates/list_bills.html +++ b/budget/templates/list_bills.html @@ -104,8 +104,14 @@ {{ bill.what }} {% for ower in bill.owers %}{{ ower.name }} {% endfor %} {{ "%0.2f"|format(bill.amount) }} ({{ "%0.2f"|format(bill.pay_each()) }} {{ _("each") }}) - {{ _("edit") }} - {{ _("delete") }} + + + + + + + + {% endfor %} -- cgit v1.1