aboutsummaryrefslogtreecommitdiff
path: root/src/client/View
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-08-13 23:13:59 +0200
committerJoris Guyonvarch2015-08-13 23:13:59 +0200
commitc23ec2aed46b3e766cffbf3662fe529426ad1b84 (patch)
tree4d3338f235ccb5c2f85f446e20c03d764ad46123 /src/client/View
parent359f837511597354bc6462cfc4200f54d647d728 (diff)
Payment input rounded and payment columns fixed percentagewise
Diffstat (limited to 'src/client/View')
-rw-r--r--src/client/View/Payments/Table.elm12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/client/View/Payments/Table.elm b/src/client/View/Payments/Table.elm
index b92735a..847c620 100644
--- a/src/client/View/Payments/Table.elm
+++ b/src/client/View/Payments/Table.elm
@@ -20,10 +20,10 @@ paymentsTable payments =
[]
([ tr
[]
- [ th [] [ renderIcon "user" ]
- , th [] [ renderIcon "shopping-cart" ]
- , th [] [ renderIcon "euro" ]
- , th [] [ renderIcon "calendar" ]
+ [ th [ class "category" ] [ renderIcon "shopping-cart" ]
+ , th [ class "cost" ] [ renderIcon "euro" ]
+ , th [ class "user" ] [ renderIcon "user" ]
+ , th [ class "date" ] [ renderIcon "calendar" ]
]
] ++ (paymentLines payments))
@@ -38,9 +38,9 @@ paymentLine : Payment -> Html
paymentLine payment =
tr
[]
- [ td [] [ text payment.id ]
- , td [] [ text payment.name ]
+ [ td [] [ text payment.name ]
, td [] [ text ((toString payment.cost) ++ " €") ]
+ , td [] [ text payment.userName ]
, td [] [ text (renderDate payment.creation) ]
]