mirror of
https://github.com/wekan/wekan.git
synced 2026-02-23 08:24:07 +01:00
colors: add per list color
Hamburger menu only. Note that I am definitively not responsible for the resulting Christmas tree. fixes #328
This commit is contained in:
parent
78c779faaf
commit
d0a9d8c581
5 changed files with 166 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
template(name="listHeader")
|
||||
.list-header.js-list-header
|
||||
.list-header.js-list-header(
|
||||
class="{{#if colorClass}}list-header-{{colorClass}}{{/if}}")
|
||||
+inlinedForm
|
||||
+editListTitleForm
|
||||
else
|
||||
|
|
@ -49,6 +50,9 @@ template(name="listActionPopup")
|
|||
li: a.js-toggle-watch-list {{#if isWatching}}{{_ 'unwatch'}}{{else}}{{_ 'watch'}}{{/if}}
|
||||
unless currentUser.isCommentOnly
|
||||
hr
|
||||
ul.pop-over-list
|
||||
li: a.js-set-color-list {{_ 'set-color-list'}}
|
||||
hr
|
||||
ul.pop-over-list
|
||||
if cards.count
|
||||
li: a.js-select-cards {{_ 'list-select-cards'}}
|
||||
|
|
@ -111,3 +115,12 @@ template(name="wipLimitErrorPopup")
|
|||
p {{_ 'wipLimitErrorPopup-dialog-pt1'}}
|
||||
p {{_ 'wipLimitErrorPopup-dialog-pt2'}}
|
||||
button.full.js-back-view(type="submit") {{_ 'cancel'}}
|
||||
|
||||
template(name="setListColorPopup")
|
||||
form.edit-label
|
||||
.palette-colors: each colors
|
||||
span.card-label.palette-color.js-palette-color(class="list-header-{{color}}")
|
||||
if(isSelected color)
|
||||
i.fa.fa-check
|
||||
button.primary.confirm.js-submit {{_ 'save'}}
|
||||
button.js-remove-color.negate.wide.right {{_ 'unset-color'}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue