diff --git a/packages/nc-gui/pages/[projectType]/form/[viewId]/index.vue b/packages/nc-gui/pages/[projectType]/form/[viewId]/index.vue index 10003bdaf4..618425aae5 100644 --- a/packages/nc-gui/pages/[projectType]/form/[viewId]/index.vue +++ b/packages/nc-gui/pages/[projectType]/form/[viewId]/index.vue @@ -1,159 +1,36 @@ - + + - - - - {{ sharedFormView?.heading }} - - {{ sharedFormView.subheading }} - - - - - - - - - - New form will be loaded after {{ secondsRemain }} seconds - - - - Submit Another Form - - - - - - - - - - - - - - - - - - - {{ field.description }} - - - - {{ error.$message }} - - - - - - - - {{ field.description }} - - - - {{ error.$message }} - - - - - - - - {{ $t('general.submit') }} - - - - - - - - - - This shared view is protected - - - - - - - - {{ $t('general.unlock') }} - - - - + + This shared view is protected + + + + + + + + {{ $t('general.unlock') }} + + + @@ -162,5 +39,23 @@ function isRequired(_columnObj: Record, required = false) { .nc-input { @apply w-full rounded p-2 min-h-[40px] flex items-center border-solid border-1 border-primary; } + + .submit { + @apply z-1 relative color-transition rounded p-3 text-white shadow-sm; + + &::after { + @apply rounded absolute top-0 left-0 right-0 bottom-0 transition-all duration-150 ease-in-out bg-primary; + content: ''; + z-index: -1; + } + + &:hover::after { + @apply transform scale-110 ring ring-accent; + } + + &:active::after { + @apply ring ring-accent; + } + } } diff --git a/packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue b/packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue new file mode 100644 index 0000000000..457e1e5178 --- /dev/null +++ b/packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue @@ -0,0 +1,121 @@ + + + + + + + + {{ sharedFormView?.heading }} + + {{ sharedFormView.subheading }} + + + + + + + + + + New form will be loaded after {{ secondsRemain }} seconds + + + + Submit Another Form + + + + + + + + + + + + + + + + + + + {{ field.description }} + + + + {{ error.$message }} + + + + + + + + {{ field.description }} + + + + {{ error.$message }} + + + + + + + + {{ $t('general.submit') }} + + + + + + + + diff --git a/packages/nc-gui/pages/[projectType]/form/[viewId]/index/survey.vue b/packages/nc-gui/pages/[projectType]/form/[viewId]/index/survey.vue new file mode 100644 index 0000000000..e69de29bb2
- New form will be loaded after {{ secondsRemain }} seconds -
+ New form will be loaded after {{ secondsRemain }} seconds +