From 193bc315ca0a5f482093599d32b7ae713115118f Mon Sep 17 00:00:00 2001 From: Cindy Chang Date: Thu, 20 Jun 2024 16:54:37 +0800 Subject: [PATCH] WIP: create feature checkboxes layout --- src/assets/icon-blue-checkbox.svg | 3 ++ src/assets/icon-checkbox-checked.svg | 3 ++ src/assets/icon-checkbox-empty.svg | 3 ++ src/components/icons/IconChecked.vue | 34 +++++++++++++ src/i18n/en.json | 4 +- .../AccountManagement/ModalAccountEdit.vue | 48 +++++++++++++++---- 6 files changed, 86 insertions(+), 9 deletions(-) create mode 100644 src/assets/icon-blue-checkbox.svg create mode 100644 src/assets/icon-checkbox-checked.svg create mode 100644 src/assets/icon-checkbox-empty.svg create mode 100644 src/components/icons/IconChecked.vue diff --git a/src/assets/icon-blue-checkbox.svg b/src/assets/icon-blue-checkbox.svg new file mode 100644 index 0000000..45419a3 --- /dev/null +++ b/src/assets/icon-blue-checkbox.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icon-checkbox-checked.svg b/src/assets/icon-checkbox-checked.svg new file mode 100644 index 0000000..b95b239 --- /dev/null +++ b/src/assets/icon-checkbox-checked.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icon-checkbox-empty.svg b/src/assets/icon-checkbox-empty.svg new file mode 100644 index 0000000..c690de8 --- /dev/null +++ b/src/assets/icon-checkbox-empty.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/icons/IconChecked.vue b/src/components/icons/IconChecked.vue new file mode 100644 index 0000000..abe3e0b --- /dev/null +++ b/src/components/icons/IconChecked.vue @@ -0,0 +1,34 @@ + + + \ No newline at end of file diff --git a/src/i18n/en.json b/src/i18n/en.json index 76ff171..56d8ca6 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -24,7 +24,9 @@ "AccountInformation": "Account Information", "Password": "Password", "ConfirmPassword": "Confirm Password", - "PwdNotMatch": "Confirm Password does not match." + "PwdNotMatch": "Confirm Password does not match.", + "SetAsAdmin": "Set as admin.", + "ActivateNow": "Activate now." }, "Compare": { "timeUsage": "Time Usage", diff --git a/src/views/AccountManagement/ModalAccountEdit.vue b/src/views/AccountManagement/ModalAccountEdit.vue index c18dba7..d7f1c73 100644 --- a/src/views/AccountManagement/ModalAccountEdit.vue +++ b/src/views/AccountManagement/ModalAccountEdit.vue @@ -6,8 +6,8 @@
-
- +
+ {{ i18next.t("AcctMgmt.Account") }}
@@ -17,8 +17,8 @@
-
- +
+ {{ i18next.t("AcctMgmt.FullName") }}
@@ -27,8 +27,8 @@
-
- +
+ {{ i18next.t("AcctMgmt.Password") }}
@@ -42,7 +42,7 @@
-
- +
+
+
+
+
+
+ + + {{ i18next.t("AcctMgmt.SetAsAdmin") }} + +
+
+ + + {{ i18next.t("AcctMgmt.ActivateNow") }} + +
+