diff --git a/packages/panel/package.json b/packages/panel/package.json index 0b6200ddb6..1055f56a7a 100644 --- a/packages/panel/package.json +++ b/packages/panel/package.json @@ -20,6 +20,7 @@ "dependencies": { "@anticrm/ui": "~0.6.0", "@anticrm/text-editor": "~0.6.0", - "svelte": "^3.37.0" + "svelte": "^3.37.0", + "@anticrm/platform": "~0.6.5" } } diff --git a/packages/panel/src/components/Panel.svelte b/packages/panel/src/components/Panel.svelte index eb9bb73d51..affb416a6f 100644 --- a/packages/panel/src/components/Panel.svelte +++ b/packages/panel/src/components/Panel.svelte @@ -17,7 +17,7 @@ -
+
{#if typeof (icon) === 'string'} @@ -36,8 +37,6 @@ display: flex; justify-content: center; align-items: center; - width: 2rem; - height: 2rem; border: 1px solid var(--theme-card-divider); border-radius: 50%; backdrop-filter: blur(3px); @@ -51,4 +50,12 @@ &:hover { border-color: var(--theme-bg-focused-border); } &:active { background-color: var(--theme-bg-accent-color); } } + .icon-small { + width: 1.5rem; + height: 1.5rem; + } + .icon-medium { + width: 2rem; + height: 2rem; + } diff --git a/plugins/recruit-resources/src/components/Attachments copy.svelte b/plugins/recruit-resources/src/components/Attachments copy.svelte new file mode 100644 index 0000000000..03c56b5939 --- /dev/null +++ b/plugins/recruit-resources/src/components/Attachments copy.svelte @@ -0,0 +1,79 @@ + + + + + + {#each files as file} +
+
pdf
+
+
{file.name}
+
{file.type}
+
+
+ {/each} +
+ +
Add attachment
+
+
+ + \ No newline at end of file diff --git a/plugins/recruit-resources/src/components/Attachments.svelte b/plugins/recruit-resources/src/components/Attachments.svelte index 03c56b5939..20f38b3d5b 100644 --- a/plugins/recruit-resources/src/components/Attachments.svelte +++ b/plugins/recruit-resources/src/components/Attachments.svelte @@ -14,7 +14,7 @@ --> - - {#each files as file} -
-
pdf
-
-
{file.name}
-
{file.type}
-
-
- {/each} -
- -
Add attachment
+
+
+ Attachments +
- + + + + + + + + + {#each files as file} + + + + + {/each} + +
Attachments (2)Time
+
pdf
+
+
{file.name}
+
{file.type}
+
+
10 / 8
+
\ No newline at end of file diff --git a/plugins/recruit-resources/src/components/EditCandidate.svelte b/plugins/recruit-resources/src/components/EditCandidate.svelte index cb7c5bdb20..43bbb7054b 100644 --- a/plugins/recruit-resources/src/components/EditCandidate.svelte +++ b/plugins/recruit-resources/src/components/EditCandidate.svelte @@ -16,12 +16,16 @@ { dispatch('close') }}> + +
+ +
+
+ +
+
+
+ +
+
+
+
+
+
+ {#if resume.id} + { showPopup(PDFViewer, { file: resume.uuid }, 'right') } }/> + {:else} + { inputFile.click() } }>Upload resume + + {/if} +
+
+
+ +
+ +