From 9345de879e6731ac1fc0d5346eacf08e3650f054 Mon Sep 17 00:00:00 2001 From: Alexander Platov Date: Thu, 18 Nov 2021 03:30:12 +0300 Subject: [PATCH] Add PluginCard Signed-off-by: Alexander Platov --- .../src/components/EditCandidate.svelte | 24 ++++++- .../src/components/PluginCard.svelte | 69 +++++++++++++++++++ .../src/components/icons/Gmail.svelte | 26 +++++++ .../src/components/icons/Telegram.svelte | 24 +++++++ 4 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 plugins/recruit-resources/src/components/PluginCard.svelte create mode 100644 plugins/recruit-resources/src/components/icons/Gmail.svelte create mode 100644 plugins/recruit-resources/src/components/icons/Telegram.svelte diff --git a/plugins/recruit-resources/src/components/EditCandidate.svelte b/plugins/recruit-resources/src/components/EditCandidate.svelte index 83a89e4c6a..6f16742269 100644 --- a/plugins/recruit-resources/src/components/EditCandidate.svelte +++ b/plugins/recruit-resources/src/components/EditCandidate.svelte @@ -36,6 +36,12 @@ import recruit from '../plugin' import { combineName, formatName, getFirstName, getLastName } from '@anticrm/contact' + // Start Demo + import PluginCard from './PluginCard.svelte' + import Telegram from './icons/Telegram.svelte' + import Gmail from './icons/Gmail.svelte' + // End Demo + export let _id: Ref let object: Candidate @@ -88,7 +94,14 @@ -
+ +
+ + +
+ + +
Applications
{ showPopup(CreateApplication, { candidate: object._id, preserveCandidate: true }, ev.target) } } /> @@ -116,6 +129,15 @@ {/if} diff --git a/plugins/recruit-resources/src/components/icons/Gmail.svelte b/plugins/recruit-resources/src/components/icons/Gmail.svelte new file mode 100644 index 0000000000..7869631ae0 --- /dev/null +++ b/plugins/recruit-resources/src/components/icons/Gmail.svelte @@ -0,0 +1,26 @@ + + + + + + + + + + + + diff --git a/plugins/recruit-resources/src/components/icons/Telegram.svelte b/plugins/recruit-resources/src/components/icons/Telegram.svelte new file mode 100644 index 0000000000..e14de00eb0 --- /dev/null +++ b/plugins/recruit-resources/src/components/icons/Telegram.svelte @@ -0,0 +1,24 @@ + + + + + + + + + +