aboutsummaryrefslogtreecommitdiff
path: root/src/View/Timer.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/View/Timer.elm')
-rw-r--r--src/View/Timer.elm7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/View/Timer.elm b/src/View/Timer.elm
index 13f071c..98f6514 100644
--- a/src/View/Timer.elm
+++ b/src/View/Timer.elm
@@ -26,7 +26,12 @@ timerView (id, timer) =
[ text timer.name ]
, div
[ class <| "time block" ]
- [ text (timeView timer.time) ]
+ [ text (timeView timer.currentTime) ]
+ , button
+ [ class <| "stop block"
+ , onClick (Signal.send updates (UpdateTimer id Stop))
+ ]
+ [ i [ class "fa fa-fw fa-stop" ] [] ]
, button
[ class <| "remove block"
, onClick (Signal.send updates (RemoveTimer id))