summaryrefslogtreecommitdiffstats
path: root/client/components/boards/body.jade
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-05-27 17:17:00 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-05-27 17:23:25 +0200
commitdcc64f44f9f81d32c8071c6bdac86546eaeb57a0 (patch)
treeb8977727227a3ddbb2874ea3f86f1e26e03c8835 /client/components/boards/body.jade
parent42f6dc686f313ba294e3cbcfb0ebde50678580fe (diff)
downloadwekan-dcc64f44f9f81d32c8071c6bdac86546eaeb57a0.tar.gz
wekan-dcc64f44f9f81d32c8071c6bdac86546eaeb57a0.tar.bz2
wekan-dcc64f44f9f81d32c8071c6bdac86546eaeb57a0.zip
UI improvements
* Implement visibility choice on board creation; * Rework the board header bar. Remove links to un-implemented features; * Implement a board star counter (visible if the board have >2 stars); * Define a new icon (a thin cross) to close elements; * Remove $(document).on('mouseover') event handlers that were basically fired hundreds of times for nothing, we now define a proper Tracker dependency to execute jquery-ui plugin initialization only when something has changed; * Bug fixes related to list scrolling.
Diffstat (limited to 'client/components/boards/body.jade')
-rw-r--r--client/components/boards/body.jade34
1 files changed, 0 insertions, 34 deletions
diff --git a/client/components/boards/body.jade b/client/components/boards/body.jade
deleted file mode 100644
index b157b742..00000000
--- a/client/components/boards/body.jade
+++ /dev/null
@@ -1,34 +0,0 @@
-//-
- XXX This template can't be transformed into a component because it is
- included by iron-router. That's a bug.
- See https://github.com/peerlibrary/meteor-blaze-components/issues/44
-template(name="board")
- +boardComponent
-
-template(name="boardComponent")
- if this
- .board-wrapper(class=colorClass)
- .board-canvas(class=sidebarSize)
- .lists.js-lists
- each lists
- +list(this)
- if currentCardIsInThisList
- +cardDetails(currentCard)
- if currentUser.isBoardMember
- +addListForm
- +sidebar
- else
- +message(label="board-no-found")
-
-template(name="addListForm")
- .list.js-list.list-composer.js-list-composer
- +inlinedForm(autoclose=false)
- input.list-name-input(type="text" placeholder="{{_ 'add-list'}}"
- autocomplete="off" autofocus value=getCache)
- div.edit-controls.clearfix
- button.primary.confirm.js-save-edit(type="submit") {{_ 'save'}}
- a.fa.fa-times.dark-hover.cancel.js-close-inlined-form
- else
- .js-open-inlined-form
- i.fa.fa-plus
- | {{_ 'add-list'}}