From c6f0c6f5f7dbfbae79d99fa8c26538b2e767fe8d Mon Sep 17 00:00:00 2001
From: Alex Velez
Date: Mon, 19 Dec 2022 06:23:51 -0500
Subject: [PATCH 1/2] [Accounts] Use KDS Buttons
---
.../accounts/components/MessageLayout.vue | 5 ++-
.../frontend/accounts/pages/Create.vue | 10 ++++--
.../frontend/accounts/pages/Main.vue | 32 +++++++++----------
.../pages/accountDeleted/AccountDeleted.vue | 9 +-----
.../pages/activateAccount/AccountCreated.vue | 9 +-----
.../activateAccount/AccountNotActivated.vue | 9 ++++--
.../activateAccount/ActivationExpired.vue | 9 ++++--
.../RequestNewActivationLink.vue | 17 ++++++++--
.../pages/resetPassword/ForgotPassword.vue | 17 ++++++++--
.../pages/resetPassword/ResetLinkExpired.vue | 9 ++++--
.../pages/resetPassword/ResetPassword.vue | 17 ++++++++--
11 files changed, 89 insertions(+), 54 deletions(-)
diff --git a/contentcuration/contentcuration/frontend/accounts/components/MessageLayout.vue b/contentcuration/contentcuration/frontend/accounts/components/MessageLayout.vue
index 0a89c4ba5d..869ccf3a88 100644
--- a/contentcuration/contentcuration/frontend/accounts/components/MessageLayout.vue
+++ b/contentcuration/contentcuration/frontend/accounts/components/MessageLayout.vue
@@ -13,7 +13,10 @@
-
+
diff --git a/contentcuration/contentcuration/frontend/accounts/pages/Create.vue b/contentcuration/contentcuration/frontend/accounts/pages/Create.vue
index 4521b84337..710881cbbd 100644
--- a/contentcuration/contentcuration/frontend/accounts/pages/Create.vue
+++ b/contentcuration/contentcuration/frontend/accounts/pages/Create.vue
@@ -163,9 +163,13 @@
-
- {{ $tr('finishButton') }}
-
+
diff --git a/contentcuration/contentcuration/frontend/accounts/pages/Main.vue b/contentcuration/contentcuration/frontend/accounts/pages/Main.vue
index dc05d5204c..ffb927a472 100644
--- a/contentcuration/contentcuration/frontend/accounts/pages/Main.vue
+++ b/contentcuration/contentcuration/frontend/accounts/pages/Main.vue
@@ -58,24 +58,20 @@
:text="$tr('forgotPasswordLink')"
/>
-
- {{ $tr('createAccountButton') }}
-
+ appearance="flat-button"
+ />
@@ -226,4 +222,8 @@
content: '•';
}
+ .w-100 {
+ width: 100%;
+ }
+
diff --git a/contentcuration/contentcuration/frontend/accounts/pages/accountDeleted/AccountDeleted.vue b/contentcuration/contentcuration/frontend/accounts/pages/accountDeleted/AccountDeleted.vue
index f881737065..325482ddfd 100644
--- a/contentcuration/contentcuration/frontend/accounts/pages/accountDeleted/AccountDeleted.vue
+++ b/contentcuration/contentcuration/frontend/accounts/pages/accountDeleted/AccountDeleted.vue
@@ -2,13 +2,7 @@
-
-
- {{ $tr('continueToSignIn') }}
-
-
-
+ />
@@ -24,7 +18,6 @@
},
$trs: {
accountDeletedTitle: 'Account successfully deleted',
- continueToSignIn: 'Continue to sign-in page',
},
};
diff --git a/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/AccountCreated.vue b/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/AccountCreated.vue
index b55bbdf418..b8edb22ee2 100644
--- a/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/AccountCreated.vue
+++ b/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/AccountCreated.vue
@@ -2,13 +2,7 @@
-
-
- {{ $tr('continueToSignIn') }}
-
-
-
+ />
@@ -24,7 +18,6 @@
},
$trs: {
accountCreatedTitle: 'Account successfully created',
- continueToSignIn: 'Continue to sign-in',
},
};
diff --git a/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/AccountNotActivated.vue b/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/AccountNotActivated.vue
index a0db43bca2..ccbec003d1 100644
--- a/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/AccountNotActivated.vue
+++ b/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/AccountNotActivated.vue
@@ -4,9 +4,12 @@
:header="$tr('title')"
:text="$tr('text')"
>
-
- {{ $tr('requestNewLink') }}
-
+
diff --git a/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/ActivationExpired.vue b/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/ActivationExpired.vue
index cdf2db7a43..9dd1dad18c 100644
--- a/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/ActivationExpired.vue
+++ b/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/ActivationExpired.vue
@@ -4,9 +4,12 @@
:header="$tr('activationExpiredTitle')"
:text="$tr('activationExpiredText')"
>
-
- {{ $tr('requestNewLink') }}
-
+
diff --git a/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/RequestNewActivationLink.vue b/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/RequestNewActivationLink.vue
index df889b3ecb..afb06cdaca 100644
--- a/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/RequestNewActivationLink.vue
+++ b/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/RequestNewActivationLink.vue
@@ -11,9 +11,12 @@
>
-
- {{ $tr('submitButton') }}
-
+
@@ -64,3 +67,11 @@
};
+
+
\ No newline at end of file
diff --git a/contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ForgotPassword.vue b/contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ForgotPassword.vue
index 13910a9bad..7349cf97ff 100644
--- a/contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ForgotPassword.vue
+++ b/contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ForgotPassword.vue
@@ -7,9 +7,12 @@
-
- {{ $tr('submitButton') }}
-
+
@@ -65,3 +68,11 @@
};
+
+
\ No newline at end of file
diff --git a/contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetLinkExpired.vue b/contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetLinkExpired.vue
index 4f0c8fc057..0249fd9fda 100644
--- a/contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetLinkExpired.vue
+++ b/contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetLinkExpired.vue
@@ -4,9 +4,12 @@
:header="$tr('resetExpiredTitle')"
:text="$tr('resetExpiredText')"
>
-
- {{ $tr('requestNewLink') }}
-
+
diff --git a/contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue b/contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue
index b3866f5ccd..ae43d92fbc 100644
--- a/contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue
+++ b/contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue
@@ -16,9 +16,12 @@
:label="$tr('passwordConfirmLabel')"
:additionalRules="passwordConfirmRules"
/>
-
- {{ $tr('submitButton') }}
-
+
@@ -84,3 +87,11 @@
};
+
+
\ No newline at end of file
From 295bde72882a5ea02062d0c528224556c4a770af Mon Sep 17 00:00:00 2001
From: Alex Velez
Date: Tue, 10 Jan 2023 07:37:16 -0500
Subject: [PATCH 2/2] Bring back raised buttons for account created/deleted
message
---
.../accounts/pages/accountDeleted/AccountDeleted.vue | 9 ++++++++-
.../accounts/pages/activateAccount/AccountCreated.vue | 9 ++++++++-
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/contentcuration/contentcuration/frontend/accounts/pages/accountDeleted/AccountDeleted.vue b/contentcuration/contentcuration/frontend/accounts/pages/accountDeleted/AccountDeleted.vue
index 325482ddfd..032cfc506a 100644
--- a/contentcuration/contentcuration/frontend/accounts/pages/accountDeleted/AccountDeleted.vue
+++ b/contentcuration/contentcuration/frontend/accounts/pages/accountDeleted/AccountDeleted.vue
@@ -2,7 +2,13 @@
+ >
+
+
+ {{ $tr('backToLogin') }}
+
+
+
@@ -18,6 +24,7 @@
},
$trs: {
accountDeletedTitle: 'Account successfully deleted',
+ backToLogin: 'Continue to sign-in page',
},
};
diff --git a/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/AccountCreated.vue b/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/AccountCreated.vue
index b8edb22ee2..14e106c232 100644
--- a/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/AccountCreated.vue
+++ b/contentcuration/contentcuration/frontend/accounts/pages/activateAccount/AccountCreated.vue
@@ -2,7 +2,13 @@
+ >
+
+
+ {{ $tr('backToLogin') }}
+
+
+
@@ -18,6 +24,7 @@
},
$trs: {
accountCreatedTitle: 'Account successfully created',
+ backToLogin: 'Continue to sign-in page',
},
};