diff options
author | Xavier Priour <xavier.priour@bubblyware.com> | 2015-10-15 14:01:13 +0200 |
---|---|---|
committer | Xavier Priour <xavier.priour@bubblyware.com> | 2015-10-17 18:00:46 +0200 |
commit | 468694a84cc164e4923f2d2e4631c37ceb1c4b55 (patch) | |
tree | 654abe750816e8d6fc7e4affff1af7c44932a829 /client/components/boards | |
parent | 15ebfa63c61694e4aa60e0f9c5047f678d6cf0c4 (diff) | |
download | wekan-468694a84cc164e4923f2d2e4631c37ceb1c4b55.tar.gz wekan-468694a84cc164e4923f2d2e4631c37ceb1c4b55.tar.bz2 wekan-468694a84cc164e4923f2d2e4631c37ceb1c4b55.zip |
Import board: added UI
Diffstat (limited to 'client/components/boards')
-rw-r--r-- | client/components/boards/boardHeader.jade | 2 | ||||
-rw-r--r-- | client/components/boards/boardHeader.js | 1 | ||||
-rw-r--r-- | client/components/boards/boardHeader.styl | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade index ffc79143..e460170b 100644 --- a/client/components/boards/boardHeader.jade +++ b/client/components/boards/boardHeader.jade @@ -107,6 +107,8 @@ template(name="createBoardPopup") | {{{_ 'board-private-info'}}} a.js-change-visibility {{_ 'change'}}. input.primary.wide(type="submit" value="{{_ 'create'}}") + | {{_ 'or'}} + a.js-import {{_ 'import-board'}} template(name="boardChangeTitlePopup") diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js index dbd76895..92d5f6d4 100644 --- a/client/components/boards/boardHeader.js +++ b/client/components/boards/boardHeader.js @@ -145,6 +145,7 @@ BlazeComponent.extendComponent({ this.setVisibility(this.currentData()); }, 'click .js-change-visibility': this.toggleVisibilityMenu, + 'click .js-import': Popup.open('boardImportBoard'), submit: this.onSubmit, }]; }, diff --git a/client/components/boards/boardHeader.styl b/client/components/boards/boardHeader.styl new file mode 100644 index 00000000..adfe4b19 --- /dev/null +++ b/client/components/boards/boardHeader.styl @@ -0,0 +1,2 @@ +a.js-import + text-decoration underline |