modal style, import-export configurator style

This commit is contained in:
Jan Prochazka
2020-11-08 20:50:12 +01:00
parent 6fb314c414
commit fd12eef0fc
5 changed files with 143 additions and 26 deletions

View File

@@ -25,8 +25,9 @@ import SqlEditor from '../sqleditor/SqlEditor';
import { useUploadsProvider } from '../utility/UploadsProvider';
const Container = styled.div`
max-height: 50vh;
overflow-y: scroll;
// max-height: 50vh;
// overflow-y: scroll;
flex: 1;
`;
const Wrapper = styled.div`
@@ -68,6 +69,12 @@ const DragWrapper = styled.div`
background: #ddd;
`;
const ArrowWrapper = styled.div`
font-size: 30px;
color: blue;
align-self: center;
`;
function getFileFilters(storageType) {
const res = [];
if (storageType == 'csv') res.push({ name: 'CSV files', extensions: ['csv'] });
@@ -344,6 +351,9 @@ export default function ImportExportConfigurator({ uploadedFile = undefined }) {
tablesField="sourceList"
engine={sourceEngine}
/>
<ArrowWrapper>
<i className="fas fa-arrow-right" />
</ArrowWrapper>
<SourceTargetConfig
direction="target"
storageTypeField="targetStorageType"