mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 06:36:00 +00:00
connection modal
This commit is contained in:
24
packages/web/src/modals/ConnectionModal.svelte
Normal file
24
packages/web/src/modals/ConnectionModal.svelte
Normal file
@@ -0,0 +1,24 @@
|
||||
<script lang="ts">
|
||||
import registerCommand from '../commands/registerCommand';
|
||||
import FormButton from '../forms/FormButton.svelte';
|
||||
import FormSubmit from '../forms/FormSubmit.svelte';
|
||||
|
||||
import ModalBase from './ModalBase.svelte';
|
||||
</script>
|
||||
|
||||
<ModalBase {...$$restProps}>
|
||||
<div slot="header">Add connection</div>
|
||||
xxx
|
||||
<div slot="footer" class="flex">
|
||||
<div class="buttons">
|
||||
<FormButton value="Test" />
|
||||
<FormSubmit value="Save" />
|
||||
</div>
|
||||
</div>
|
||||
</ModalBase>
|
||||
|
||||
<style>
|
||||
.buttons {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user