Sha256: 82b5773b8db51e6827f6f05085ebded76c416aef56ed34b745e4afb81051eee3
Contents?: true
Size: 907 Bytes
Versions: 3
Compression:
Stored size: 907 Bytes
Contents
class Skr.Screens.TimeTracking.MiniControls extends Lanes.React.Component onEditEvent: -> @props.onEditEvent(@props.event) EditButton: -> return null unless @props.event <BS.Button onClick={@onEditEvent} title="Edit Time Entry"> <LC.Icon type='pencil-square-o' 2x flush /> </BS.Button> render: -> <div className="mini-controls"> <div className='l'> <span>{@props.date.format('MMM')}</span> <span>{@props.date.format('Do')}</span> </div> <BS.Button onClick={@props.onCancel} title="Hide Controls"> <LC.Icon type='ban' 2x flush /> </BS.Button> <@EditButton /> <BS.Button onClick={@props.onAddEntry} title="Create Time Entry"> <LC.Icon type='plus-square' 2x flush /> </BS.Button> </div>
Version data entries
3 entries across 3 versions & 1 rubygems