|
|
|
@ -69,25 +69,25 @@ const onClick = (type: 'airtable' | 'csv' | 'excel' | 'json') => {
|
|
|
|
|
<template> |
|
|
|
|
<GeneralModal v-model:visible="visible" width="35rem"> |
|
|
|
|
<div class="flex flex-col px-8 pt-6 pb-9"> |
|
|
|
|
<div class="text-lg font-medium mb-6">Import</div> |
|
|
|
|
<div class="text-lg font-medium mb-6">{{ $t('general.import') }}</div> |
|
|
|
|
<div class="row mb-10"> |
|
|
|
|
<div class="nc-project-view-import-sub-btn" @click="onClick('airtable')"> |
|
|
|
|
<GeneralIcon icon="airtable" /> |
|
|
|
|
<div class="label">Airtable</div> |
|
|
|
|
<div class="label">{{ $t('labels.airtable') }}</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="nc-project-view-import-sub-btn" @click="onClick('csv')"> |
|
|
|
|
<GeneralIcon icon="csv" /> |
|
|
|
|
<div class="label">CSV</div> |
|
|
|
|
<div class="label">{{ $t('labels.csv') }}</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="nc-project-view-import-sub-btn" @click="onClick('excel')"> |
|
|
|
|
<GeneralIcon icon="excelColored" /> |
|
|
|
|
<div class="label">Excel</div> |
|
|
|
|
<div class="label">{{ $t('labels.excel') }}</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="nc-project-view-import-sub-btn" @click="onClick('json')"> |
|
|
|
|
<GeneralIcon icon="code" /> |
|
|
|
|
<div class="label">JSON</div> |
|
|
|
|
<div class="label">{{ $t('labels.json') }}</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|