diff --git a/app.css.sass b/app.css.sass index 05320d9..0d2379d 100644 --- a/app.css.sass +++ b/app.css.sass @@ -1,3 +1,6 @@ +h1 + float: left + #clock .duration font-size: 2em @@ -45,6 +48,7 @@ outline: none main + clear: both margin: 0 auto width: 20em text-align: center diff --git a/app.js.coffee b/app.js.coffee index d85e3bf..6610878 100644 --- a/app.js.coffee +++ b/app.js.coffee @@ -73,7 +73,6 @@ window.addEventListener 'load', -> window.list = [] counter = 0 clock.element.addEventListener 'clock_splitted', (e) -> - counter++ dur = duration_to_string e.duration tr = document.createElement 'tr' td = document.createElement 'td' diff --git a/index.html.haml b/index.html.haml index ede1803..9cf9591 100644 --- a/index.html.haml +++ b/index.html.haml @@ -11,7 +11,6 @@ %body %header %h1 Zeitschplitter - %main #clock .duration 00:00:00.0 .controls(data-state="loaded") @@ -24,6 +23,7 @@ %button.export ⤓ .never %a.exporthelper(download="schplitter.csv") + %main #TimeList %table %thead