mirror of
https://github.com/wekan/wekan.git
synced 2026-03-01 11:20:15 +01:00
Improve the multi-selection experience
New features: - select all filtered cards - assign or unassign a member to selected cards - archive selected cards This commit also fix the card sort indexes calculation when a multi- selection is drag-dropped.
This commit is contained in:
parent
a41e07b37e
commit
5478fc93db
12 changed files with 146 additions and 53 deletions
|
|
@ -32,7 +32,8 @@ position()
|
|||
&.is-dragging-active
|
||||
|
||||
.list-composer,
|
||||
.open-minicard-composer
|
||||
.open-minicard-composer,
|
||||
.minicard-wrapper.is-checked
|
||||
display: none
|
||||
|
||||
.lists
|
||||
|
|
|
|||
|
|
@ -21,24 +21,20 @@ template(name="headerBoard")
|
|||
title="{{#if Filter.isActive}}{{_ 'filter-on-desc'}}{{/if}}"
|
||||
class="{{#if Filter.isActive}}emphasis{{/if}}")
|
||||
i.fa.fa-filter
|
||||
span {{#if Filter.isActive}}{{_ 'filter-on'}}{{else}}{{_ 'filter'}}{{/if}}
|
||||
if Filter.isActive
|
||||
span {{_ 'filter-on'}}
|
||||
a.board-header-btn-close.js-filter-reset(title="{{_ 'filter-clear'}}")
|
||||
i.fa.fa-times-thin
|
||||
else
|
||||
span {{_ 'filter'}}
|
||||
|
||||
if currentUser.isBoardMember
|
||||
a.board-header-btn.js-multiselection-activate(
|
||||
title="{{#if MultiSelection.isActive}}{{_ 'filter-on-desc'}}{{/if}}"
|
||||
class="{{#if MultiSelection.isActive}}emphasis{{/if}}")
|
||||
i.fa.fa-check-square-o
|
||||
span Multi-Selection {{#if MultiSelection.isActive}}is on{{/if}}
|
||||
if MultiSelection.isActive
|
||||
span Multi-Selection is on
|
||||
a.board-header-btn-close.js-multiselection-reset(title="{{_ 'filter-clear'}}")
|
||||
i.fa.fa-times-thin
|
||||
else
|
||||
span Multi-Selection
|
||||
|
||||
.separator
|
||||
a.board-header-btn.js-open-board-menu
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ setBoardColor(color)
|
|||
background-color: darken(color, 20%)
|
||||
|
||||
&.pop-over .pop-over-list li a:hover,
|
||||
.sidebar .sidebar-content .sidebar-btn:hover,
|
||||
.sidebar-list li a:hover
|
||||
background-color: lighten(color, 10%)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue