diff options
author | Joris Guyonvarch | 2015-03-16 21:00:52 +0100 |
---|---|---|
committer | Joris Guyonvarch | 2015-03-16 21:00:52 +0100 |
commit | 1cfd5e02bbd92f54a6b888d475f9f3002f3763bb (patch) | |
tree | e1be7e520bf7ba1514912410983bd66bfd813822 /src/View/Timer.elm | |
parent | afb9308a106a5cc09271e4420ed16c56dcd73f98 (diff) |
Adding a restart button
Diffstat (limited to 'src/View/Timer.elm')
-rw-r--r-- | src/View/Timer.elm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/View/Timer.elm b/src/View/Timer.elm index 98f6514..271de5c 100644 --- a/src/View/Timer.elm +++ b/src/View/Timer.elm @@ -28,6 +28,11 @@ timerView (id, timer) = [ class <| "time block" ] [ text (timeView timer.currentTime) ] , button + [ class <| "restart block" + , onClick (Signal.send updates (UpdateTimer id Restart)) + ] + [ i [ class "fa fa-fw fa-backward" ] [] ] + , button [ class <| "stop block" , onClick (Signal.send updates (UpdateTimer id Stop)) ] |