diff --git a/frontend/package.json b/frontend/package.json index a5527a2..06fc1bb 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -50,6 +50,8 @@ "swiper": "^8.4.6", "tippy.js": "^6.3.7", "typesafe-i18n": "^5.20.0", + "jspdf": "^2.5.1", + "svg2pdf.js": "^2.2.1", "yup": "^0.32.11" } } diff --git a/frontend/src/lib/components/admin/CreateCandidateModal.svelte b/frontend/src/lib/components/admin/CreateCandidateModal.svelte new file mode 100644 index 0000000..2582427 --- /dev/null +++ b/frontend/src/lib/components/admin/CreateCandidateModal.svelte @@ -0,0 +1,83 @@ + + +{#if isOpened} + +
+ + + + {#if login} +

{applicationId}

+

{login.password}

+ {:else} +

Registrace nového uchazeče

+

Evidenčni číslo přihlášky

+ +

Rodné číslo

+ + + {/if} +
+
+{/if} + + diff --git a/frontend/static/drawing.svg b/frontend/static/drawing.svg new file mode 100644 index 0000000..b07fa93 --- /dev/null +++ b/frontend/static/drawing.svg @@ -0,0 +1,86 @@ + + + + + + + + + ${APPLICATION} + ${CODE} + + + +