diff --git a/src/components/board/Stack.vue b/src/components/board/Stack.vue index d07ba66ff..ce500a06f 100644 --- a/src/components/board/Stack.vue +++ b/src/components/board/Stack.vue @@ -40,12 +40,12 @@ + + {{ t('deck', 'Archive all cards') }} + {{ t('deck', 'Delete list') }} - - {{ t('deck', 'Archive all cards in this list') }} - @@ -54,6 +54,19 @@ + + + +
{ + + this.stackLen = this.cardsByStack.length + this.cardsByStack.forEach((card, index) => { + this.archiveAllCardsProgress = index this.$store.dispatch('archiveUnarchiveCard', { ...card, archived: true }) }) + this.modalShow = false }, startEditing(stack) { this.copiedStack = Object.assign({}, stack) @@ -307,4 +328,25 @@ export default { height: 0px; } + .modal__content { + width: 25vw; + min-width: 250px; + min-height: 100px; + text-align: center; + margin: 20px 20px 20px 20px; + + .multiselect { + margin-bottom: 10px; + } + } + + .modal__content button { + float: right; + } + + progress { + margin-top: 3px; + margin-bottom: 30px; + } +