From 2283c3505f47801a98cec37a565de931236a6064 Mon Sep 17 00:00:00 2001 From: Muhsin Keloth Date: Fri, 12 Apr 2024 15:08:42 +0530 Subject: [PATCH] add form --- .../dashboard/components/ui/PreviewCard.vue | 7 +- .../dashboard/settings/personal/Index.vue | 122 ++++++++++-------- .../settings/personal/PersonalWrapper.vue | 48 +++++++ .../settings/profile/MessageSignature.vue | 48 ++----- .../auth/signup/components/Signup/Form.vue | 2 +- .../dashboard/profile/hot-key-ctrl-enter.svg | 25 ++++ .../dashboard/profile/hot-key-enter.svg | 25 ++++ 7 files changed, 186 insertions(+), 91 deletions(-) create mode 100644 app/javascript/dashboard/routes/dashboard/settings/personal/PersonalWrapper.vue create mode 100644 public/assets/images/dashboard/profile/hot-key-ctrl-enter.svg create mode 100644 public/assets/images/dashboard/profile/hot-key-enter.svg diff --git a/app/javascript/dashboard/components/ui/PreviewCard.vue b/app/javascript/dashboard/components/ui/PreviewCard.vue index ec0dd5539..c8586ef6e 100644 --- a/app/javascript/dashboard/components/ui/PreviewCard.vue +++ b/app/javascript/dashboard/components/ui/PreviewCard.vue @@ -14,13 +14,16 @@ }" >
{{ heading }}
- + /> --> +
+ +
-
-
- - Profile Settings +
+

+ Profile Settings +

+
+ + Profile picture -
- - Profile picture - - -
- -
- - Personal message signature - -
-

- Create a unique message signature to appear at the end of every - message you send from any inbox. You can also include an inline - image, which is supported in live-chat, email, and API inboxes. -

-
- -
- - Hot key to send messages - -
-

- You can select a hotkey (either Enter or Cmd/Ctrl+Enter) based on - your preference of writing. -

-
-
-
-
Enter (↵)
- -
-
- Send messages by pressing Enter key instead of clicking send - button. -
- Enter key -
- -
BOX 2
-
-
+
+ + + + + + +
diff --git a/app/javascript/dashboard/routes/dashboard/settings/personal/PersonalWrapper.vue b/app/javascript/dashboard/routes/dashboard/settings/personal/PersonalWrapper.vue new file mode 100644 index 000000000..0d89bf5b4 --- /dev/null +++ b/app/javascript/dashboard/routes/dashboard/settings/personal/PersonalWrapper.vue @@ -0,0 +1,48 @@ + + + diff --git a/app/javascript/dashboard/routes/dashboard/settings/profile/MessageSignature.vue b/app/javascript/dashboard/routes/dashboard/settings/profile/MessageSignature.vue index d2eb246d5..7f5ec0859 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/profile/MessageSignature.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/profile/MessageSignature.vue @@ -1,40 +1,14 @@