summaryrefslogtreecommitdiffstats
path: root/client/components/swimlanes/swimlanes.jade
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2018-01-19 16:00:02 -0300
committerAndrés Manelli <andresmanelli@gmail.com>2018-01-19 16:00:02 -0300
commitee2a43dd5b4b5296f61f68b46fd85521224f571d (patch)
tree124f6eedc070ba926b8dc3f47985bb6951be3d92 /client/components/swimlanes/swimlanes.jade
parent690a5b970319ceabc0be965152187d7098022621 (diff)
downloadwekan-ee2a43dd5b4b5296f61f68b46fd85521224f571d.tar.gz
wekan-ee2a43dd5b4b5296f61f68b46fd85521224f571d.tar.bz2
wekan-ee2a43dd5b4b5296f61f68b46fd85521224f571d.zip
Add siwmlane button. Allow card drop between swimlanes
Diffstat (limited to 'client/components/swimlanes/swimlanes.jade')
-rw-r--r--client/components/swimlanes/swimlanes.jade40
1 files changed, 40 insertions, 0 deletions
diff --git a/client/components/swimlanes/swimlanes.jade b/client/components/swimlanes/swimlanes.jade
index 8dbef116..e3b6b6d7 100644
--- a/client/components/swimlanes/swimlanes.jade
+++ b/client/components/swimlanes/swimlanes.jade
@@ -18,3 +18,43 @@ template(name="swimlane")
+cardDetails(currentCard)
if currentUser.isBoardMember
+addListForm
+ +addListAndSwimlaneForm
+
+template(name="addListAndSwimlaneForm")
+ .list.js-list.list-composer.js-list-composer
+ .list-header
+ +inlinedForm(autoclose=false)
+ input.list-name-input.full-line(type="text" placeholder="{{_ 'add-list'}}"
+ autocomplete="off" autofocus)
+ .edit-controls.clearfix
+ button.primary.confirm(type="submit") {{_ 'save'}}
+ a.fa.fa-times-thin.js-close-inlined-form
+ else
+ a.open-list-composer.js-open-inlined-form
+ i.fa.fa-plus
+ | {{_ 'add-list'}}
+ .list-header
+ +inlinedForm(autoclose=false)
+ input.swimlane-name-input.full-line(type="text" placeholder="{{_ 'add-swimlane'}}"
+ autocomplete="off" autofocus)
+ .edit-controls.clearfix
+ button.primary.confirm(type="submit") {{_ 'save'}}
+ a.fa.fa-times-thin.js-close-inlined-form
+ else
+ a.open-list-composer.js-open-inlined-form
+ i.fa.fa-plus
+ | {{_ 'add-swimlane'}}
+
+template(name="addListForm")
+ .list.js-list.list-composer.js-list-composer
+ .list-header
+ +inlinedForm(autoclose=false)
+ input.list-name-input.full-line(type="text" placeholder="{{_ 'add-list'}}"
+ autocomplete="off" autofocus)
+ .edit-controls.clearfix
+ button.primary.confirm(type="submit") {{_ 'save'}}
+ a.fa.fa-times-thin.js-close-inlined-form
+ else
+ a.open-list-composer.js-open-inlined-form
+ i.fa.fa-plus
+ | {{_ 'add-list'}}