 {react_utils, theme, mixins, components, sounds, format_time, markdown} = require './common_ui.coffee'
 {Component, React, ReactDOM} = react_utils
-{div} = React.DOM
+{div, form, input} = React.DOM
 log = require './log'
 
 log.get_load_promise().then ->

                        last_task = task
                    final_entries.push {active, task, date}

            # Calculating duration
            for e,i in final_entries
                next_entry = final_entries[i+1]
                if next_entry?
                    e.delta = next_entry.date - e.date
                else
                    e.delta = Date.now() - e.date

            div
                id: 'main_container'

                    # overflowX: 'hidden'
                    WebkitAppRegion: 'drag'
                ]
                form {},
                    "from "
                    input
                        type: 'date'
                        name: 'date_value'
                        defaultValue: f_min_date_from
                        min: f_min_date_from
                        max: f_max_date_from
                        onChange: (e)=>
                            e.target.value = e.target.value or f_min_date_from
                            @setState {date_from: Date.parse(e.target.value)}
                    "to"
                    input
                        type: 'date'
                        name: 'date_value'
                        defaultValue: f_max_date_to
                        min: f_min_date_to
                        max: f_max_date_to
                        onChange: (e)=>
                            e.target.value = e.target.value or f_max_date_to
                            @setState {date_to: Date.parse(e.target.value)}

                for {active, delta, task, date} in final_entries when @state.date_to + 24*60*60*1000 >= date >= @state.date_from
                    div
                        className: 'entry'
                        style: [
