diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-06-05 21:37:13 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-06-05 21:37:13 +0200 |
commit | dea52907bdbed92c95dec7e7e832ac95d9f9d388 (patch) | |
tree | 22edfa8b3eb623084edcb2e25abb0bd8285b9cc4 /client/components/lists/header.jade | |
parent | 97807abd709f4355964b52105c0931d6671ff20b (diff) | |
download | wekan-dea52907bdbed92c95dec7e7e832ac95d9f9d388.tar.gz wekan-dea52907bdbed92c95dec7e7e832ac95d9f9d388.tar.bz2 wekan-dea52907bdbed92c95dec7e7e832ac95d9f9d388.zip |
Start designing the card details pane
Implement a dynamic overflow to focus sight on the pane.
Diffstat (limited to 'client/components/lists/header.jade')
-rw-r--r-- | client/components/lists/header.jade | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/client/components/lists/header.jade b/client/components/lists/header.jade index b8548278..e319aa93 100644 --- a/client/components/lists/header.jade +++ b/client/components/lists/header.jade @@ -3,11 +3,14 @@ template(name="listHeader") +inlinedForm +editListTitleForm else - h2.list-header-name.js-open-inlined-form= title + h2.list-header-name( + class="{{#if currentUser.isBoardMember}}js-open-inlined-form is-editable{{/if}}") + = title a.list-header-menu-icon.fa.fa-bars.js-open-list-menu template(name="editListTitleForm") - input.field.single-line(type="text" value=title autofocus) - .edit-controls.clearfix - button.primary.confirm(type="submit") {{_ 'save'}} - a.fa.fa-times-thin.js-close-inlined-form + .list-composer + input.field.single-line(type="text" value=title autofocus) + .edit-controls.clearfix + button.primary.confirm(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form |