From 8d23e36a542e64f4aea978e828a9d4bfc039d7f9 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Fri, 19 Jun 2020 21:40:08 +0300 Subject: [PATCH] Put managing local and remote packs on tabs --- src/views/emojiPacks/index.vue | 112 ++++++++++++++++++--------------- 1 file changed, 61 insertions(+), 51 deletions(-) diff --git a/src/views/emojiPacks/index.vue b/src/views/emojiPacks/index.vue index 14811828..be05d2c4 100644 --- a/src/views/emojiPacks/index.vue +++ b/src/views/emojiPacks/index.vue @@ -6,56 +6,62 @@
- {{ $t('emoji.reloadEmoji') }} + {{ $t('emoji.reloadEmoji') }} - + {{ $t('emoji.importPacks') }}
- - - - {{ $t('emoji.refreshLocalPacks') }} - - -
- - - {{ $t('users.create') }} - -
-
- - - - - - - -
- - - {{ $t('emoji.refreshRemote') }} - -
-
- - - - - -
+ + + + + {{ $t('emoji.refreshLocalPacks') }} + + +
+ + + {{ $t('users.create') }} + +
+
+ + + + + +
+
+ + + +
+ + + {{ $t('emoji.refreshRemote') }} + +
+
+ + + + + +
+
+
@@ -69,6 +75,7 @@ export default { components: { LocalEmojiPack, RebootButton, RemoteEmojiPack }, data() { return { + activeTab: 'local', newPackName: '', activeLocalPack: [], activeRemotePack: [], @@ -164,6 +171,13 @@ export default {