From 711e8d7ecbe075eb7de93f906e79cd60146dfa8c Mon Sep 17 00:00:00 2001 From: Kristijan Mitrovic Date: Tue, 5 May 2020 14:46:20 +0000 Subject: [PATCH] Fix FE for download restore keys (#3) Set loading image src in a single place Add loading image when buttons are clicked Prefill restore key code on query param Clear info labels on new request for restore keys Better UI elements for the restore key output Add missing method import Use proper button classes Co-authored-by: Kristijan Mitrovic Reviewed-on: https://git.bubblev.org/bubblev/bubble-web/pulls/3 --- src/_components/TotpModal.vue | 8 ++-- src/_store/index.js | 11 +++++ src/_store/networks.module.js | 4 ++ src/account/DevicesPage.vue | 6 ++- src/account/NetworkPage.vue | 50 ++++++++++++++-------- src/account/NewNetworkPage.vue | 6 ++- src/account/profile/ChangePasswordPage.vue | 8 ++-- src/account/profile/PolicyPage.vue | 8 ++-- src/account/profile/ProfilePage.vue | 6 ++- src/account/profile/SetPasswordPage.vue | 6 ++- src/account/profile/SshKeysPage.vue | 6 ++- src/auth/ActivationPage.vue | 7 ++- src/auth/ForgotPasswordPage.vue | 6 ++- src/auth/LoginPage.vue | 8 ++-- src/auth/RegisterPage.vue | 6 ++- 15 files changed, 99 insertions(+), 47 deletions(-) diff --git a/src/_components/TotpModal.vue b/src/_components/TotpModal.vue index ee310c4..2fa2607 100644 --- a/src/_components/TotpModal.vue +++ b/src/_components/TotpModal.vue @@ -13,7 +13,7 @@ - + @@ -21,7 +21,8 @@ \ No newline at end of file + diff --git a/src/account/NewNetworkPage.vue b/src/account/NewNetworkPage.vue index ed44c1a..8fe6cf3 100644 --- a/src/account/NewNetworkPage.vue +++ b/src/account/NewNetworkPage.vue @@ -299,7 +299,7 @@
- +
@@ -309,6 +309,7 @@ \ No newline at end of file + diff --git a/src/auth/RegisterPage.vue b/src/auth/RegisterPage.vue index ef1c889..ef6307e 100644 --- a/src/auth/RegisterPage.vue +++ b/src/auth/RegisterPage.vue @@ -71,7 +71,7 @@
- + {{messages.button_label_cancel}}
@@ -81,6 +81,7 @@