Buttons to add tasks directly in columns.
This commit is contained in:
parent
2a860e1cac
commit
1a2f0e452a
@ -113,6 +113,15 @@ Project = (self, todod-ws, users-cache) ->
|
|||||||
else
|
else
|
||||||
self.selected-tasks.push task.id
|
self.selected-tasks.push task.id
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h \div.button.is-outlined.is-success.visible-on-hover.is-large.is-fullwidth {
|
||||||
|
onclick: ->
|
||||||
|
modal := TaskCreationModal self, self.todod-ws, {
|
||||||
|
extra_properties: { column: column.id }
|
||||||
|
}, users-cache
|
||||||
|
} [
|
||||||
|
"+"
|
||||||
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
self.inner-nav-render = ->
|
self.inner-nav-render = ->
|
||||||
|
@ -32,9 +32,11 @@
|
|||||||
.project .columns .column
|
.project .columns .column
|
||||||
padding: 0.25rem
|
padding: 0.25rem
|
||||||
|
|
||||||
.project .column .title .visible-on-hover
|
.project .column .visible-on-hover
|
||||||
visibility: hidden
|
visibility: hidden
|
||||||
.project .column .title:hover .visible-on-hover
|
.project .column .title:hover > .visible-on-hover
|
||||||
|
visibility: visible
|
||||||
|
.project .column:hover > .visible-on-hover
|
||||||
visibility: visible
|
visibility: visible
|
||||||
|
|
||||||
.project .column .card .visible-on-hover
|
.project .column .card .visible-on-hover
|
||||||
|
Loading…
Reference in New Issue
Block a user