diff options
Diffstat (limited to 'src/View/Timer.elm')
-rw-r--r-- | src/View/Timer.elm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/View/Timer.elm b/src/View/Timer.elm index 100514a..c8b6561 100644 --- a/src/View/Timer.elm +++ b/src/View/Timer.elm @@ -39,7 +39,7 @@ timerView model (id, timer) = nameBlockReadOnly : Id -> Timer -> Html nameBlockReadOnly id timer = - button + div [ class "name block" , onClick (Signal.send updates (Edit id Name)) ] @@ -47,7 +47,7 @@ nameBlockReadOnly id timer = nameBlockEdition : Id -> Timer -> Edition -> Html nameBlockEdition id timer edition = - button + div [ [ (True, "name block edition") , (List.isEmpty edition.chars, "empty") ] @@ -68,7 +68,7 @@ timerName id = Maybe.withDefault ("Timer " ++ toString id) << .name timeBlockReadOnly : Id -> Timer -> Html timeBlockReadOnly id timer = - button + div [ [ (True, "time block") , (timer.state == Ringing, "isRinging") , (timer.state == Running, "isRunning") @@ -84,7 +84,7 @@ timeBlockReadOnly id timer = timeBlockEdition : Timer -> Edition -> Html timeBlockEdition timer edition = let isEmptyEdition = List.isEmpty edition.chars - in button + in div [ [ (True, "time block edition") , (isEmptyEdition, "empty") ] |