|
|
|
@ -90,7 +90,7 @@ const onDecode = async (scannedCodeValue: string) => {
|
|
|
|
|
class="transition-all duration-300 ease-in relative flex flex-col justify-center gap-2 w-full my-6 bg-white dark:bg-transparent rounded-3xl border-1 border-gray-200 px-4 py-8 lg:p-12 md:(p-8 dark:bg-slate-700)" |
|
|
|
|
> |
|
|
|
|
<template v-if="sharedFormView"> |
|
|
|
|
<div class="mb-4"> |
|
|
|
|
<div> |
|
|
|
|
<h1 class="text-2xl font-bold text-gray-900 mb-4"> |
|
|
|
|
{{ sharedFormView.heading }} |
|
|
|
|
</h1> |
|
|
|
@ -106,12 +106,12 @@ const onDecode = async (scannedCodeValue: string) => {
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<a-alert v-if="notFound" type="warning" class="my-4 text-center" message="Not found" /> |
|
|
|
|
<a-alert v-if="notFound" type="warning" class="!mt-2 !mb-4 text-center" message="Not found" /> |
|
|
|
|
|
|
|
|
|
<template v-else-if="submitted"> |
|
|
|
|
<div class="flex justify-center"> |
|
|
|
|
<div v-if="sharedFormView" class="w-full"> |
|
|
|
|
<a-alert class="!my-4 !py-4 text-left !rounded-lg" type="success" outlined> |
|
|
|
|
<a-alert class="!mt-2 !mb-4 !py-4 text-left !rounded-lg" type="success" outlined> |
|
|
|
|
<template #message> |
|
|
|
|
<LazyCellRichText |
|
|
|
|
v-if="sharedFormView?.success_msg?.trim()" |
|
|
|
@ -125,7 +125,7 @@ const onDecode = async (scannedCodeValue: string) => {
|
|
|
|
|
</template> |
|
|
|
|
</a-alert> |
|
|
|
|
|
|
|
|
|
<p v-if="sharedFormView.show_blank_form" class="text-xs text-slate-500 dark:text-slate-300 text-center my-4"> |
|
|
|
|
<p v-if="sharedFormView.show_blank_form" class="text-xs text-slate-500 dark:text-slate-300 my-4"> |
|
|
|
|
{{ $t('msg.newFormWillBeLoaded', { seconds: secondsRemain }) }} |
|
|
|
|
</p> |
|
|
|
|
|
|
|
|
|