Skip to content

Commit 38b9aca

Browse files
committed
fixup! fixup! feat: add import function (#1425)
1 parent 93f152f commit 38b9aca

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

src/Forms.vue

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,14 @@
100100
<NcIconSvgWrapper :svg="FormsIcon" :size="64" />
101101
</template>
102102
<template v-if="canCreateForms" #action>
103-
<NcButton variant="primary" @click="onNewForm">
104-
{{ t('forms', 'Create a form') }}
105-
</NcButton>
103+
<div class="form-buttons">
104+
<NcButton variant="primary" @click="onNewForm">
105+
{{ t('forms', 'Create a form') }}
106+
</NcButton>
107+
<NcButton variant="secondary" @click="onUploadForm">
108+
{{ t('forms', 'Import a form') }}
109+
</NcButton>
110+
</div>
106111
</template>
107112
</NcEmptyContent>
108113

@@ -695,6 +700,12 @@ export default {
695700
</script>
696701
697702
<style scoped lang="scss">
703+
.form-buttons {
704+
display: flex;
705+
justify-content: flex-end;
706+
gap: 6px;
707+
}
708+
698709
.forms-navigation-footer {
699710
display: flex;
700711
flex-direction: column;

0 commit comments

Comments
 (0)