From 78f38b2d9434e42177a4d9541425344d2e7d40bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20R=C3=B6hrl?= Date: Wed, 13 May 2020 09:49:56 +0200 Subject: [PATCH] show menu in compact mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakob Röhrl --- src/components/cards/CardBadges.vue | 132 +-------------------- src/components/cards/CardItem.vue | 5 +- src/components/cards/CardMenu.vue | 171 ++++++++++++++++++++++++++++ 3 files changed, 178 insertions(+), 130 deletions(-) create mode 100644 src/components/cards/CardMenu.vue diff --git a/src/components/cards/CardBadges.vue b/src/components/cards/CardBadges.vue index 35f5ab10d..21c0a6103 100644 --- a/src/components/cards/CardBadges.vue +++ b/src/components/cards/CardBadges.vue @@ -34,141 +34,32 @@ -
- - - {{ t('deck', 'Assign to me') }} - - - {{ t('deck', (showArchived ? 'Unarchive card' : 'Archive card')) }} - - - {{ t('deck', 'Delete card') }} - - - {{ t('deck', 'Move card') }} - - - {{ t('deck', 'Card details') }} - - -
- - - + @@ -239,21 +130,4 @@ export default { .fade-enter, .fade-leave-to { opacity: 0; } - - .modal__content { - width: 25vw; - min-width: 250px; - min-height: 120px; - text-align: center; - margin: 20px 20px 100px 20px; - - .multiselect { - margin-bottom: 10px; - } - } - - .modal__content button { - float: right; - margin-top: 50px; - } diff --git a/src/components/cards/CardItem.vue b/src/components/cards/CardItem.vue index 16ed4950d..860cd6b97 100644 --- a/src/components/cards/CardItem.vue +++ b/src/components/cards/CardItem.vue @@ -54,6 +54,8 @@ + + + - + - @author Julius Härtl + - + - @license GNU AGPL version 3 or any later version + - + - This program is free software: you can redistribute it and/or modify + - it under the terms of the GNU Affero General Public License as + - published by the Free Software Foundation, either version 3 of the + - License, or (at your option) any later version. + - + - This program is distributed in the hope that it will be useful, + - but WITHOUT ANY WARRANTY; without even the implied warranty of + - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + - GNU Affero General Public License for more details. + - + - You should have received a copy of the GNU Affero General Public License + - along with this program. If not, see . + - + --> + + + + +