diff options
author | Joris Guyonvarch | 2015-08-13 23:13:59 +0200 |
---|---|---|
committer | Joris Guyonvarch | 2015-08-13 23:13:59 +0200 |
commit | c23ec2aed46b3e766cffbf3662fe529426ad1b84 (patch) | |
tree | 4d3338f235ccb5c2f85f446e20c03d764ad46123 /src/client | |
parent | 359f837511597354bc6462cfc4200f54d647d728 (diff) |
Payment input rounded and payment columns fixed percentagewise
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/View/Payments/Table.elm | 12 |
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) ] ] |