diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-01-24 12:09:23 +0100 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-01-24 20:50:42 +0100 |
commit | dd88eb4cc191a06f7eb84213b026dfb93546f245 (patch) | |
tree | e78486f56d862c0aabd1f0c8918a1c483d15dfe9 /client/components/swimlanes/swimlanes.jade | |
parent | 5fa0821e078ff03647d23909517ddf6984f8baf5 (diff) | |
download | wekan-dd88eb4cc191a06f7eb84213b026dfb93546f245.tar.gz wekan-dd88eb4cc191a06f7eb84213b026dfb93546f245.tar.bz2 wekan-dd88eb4cc191a06f7eb84213b026dfb93546f245.zip |
swimlane-view: have the swimlane header horizontal
This allows to use the header as a separator between swimlanes.
This will be most useful when we can set the background color of these
headers.
Diffstat (limited to 'client/components/swimlanes/swimlanes.jade')
-rw-r--r-- | client/components/swimlanes/swimlanes.jade | 36 |
1 files changed, 13 insertions, 23 deletions
diff --git a/client/components/swimlanes/swimlanes.jade b/client/components/swimlanes/swimlanes.jade index 76f54c66..4380de2b 100644 --- a/client/components/swimlanes/swimlanes.jade +++ b/client/components/swimlanes/swimlanes.jade @@ -1,21 +1,22 @@ template(name="swimlane") .swimlane.js-lists.js-swimlane +swimlaneHeader - if isMiniScreen - if currentList - +list(currentList) + .swimlane.list-group.js-lists + if isMiniScreen + if currentList + +list(currentList) + else + each currentBoard.lists + +miniList(this) + if currentUser.isBoardMember + +addListForm else each currentBoard.lists - +miniList(this) + +list(this) + if currentCardIsInThisList _id ../_id + +cardDetails(currentCard) if currentUser.isBoardMember +addListForm - else - each currentBoard.lists - +list(this) - if currentCardIsInThisList _id ../_id - +cardDetails(currentCard) - if currentUser.isBoardMember - +addListAndSwimlaneForm template(name="listsGroup") .swimlane.list-group.js-lists @@ -35,21 +36,10 @@ template(name="listsGroup") if currentUser.isBoardMember +addListForm -template(name="addListAndSwimlaneForm") +template(name="addSwimlaneForm") .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 |