mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 03:24:01 +00:00
SYNC: improved about modal
This commit is contained in:
committed by
Diflow
parent
f14577f8bf
commit
162040545d
@@ -6,6 +6,8 @@
|
|||||||
import ModalBase from './ModalBase.svelte';
|
import ModalBase from './ModalBase.svelte';
|
||||||
import { closeCurrentModal } from './modalTools';
|
import { closeCurrentModal } from './modalTools';
|
||||||
import Link from '../elements/Link.svelte';
|
import Link from '../elements/Link.svelte';
|
||||||
|
import FontIcon from '../icons/FontIcon.svelte';
|
||||||
|
import { isProApp } from '../utility/proTools';
|
||||||
|
|
||||||
const config = useConfig();
|
const config = useConfig();
|
||||||
$: version = $config?.version;
|
$: version = $config?.version;
|
||||||
@@ -16,24 +18,51 @@
|
|||||||
<svelte:fragment slot="header">About DbGate</svelte:fragment>
|
<svelte:fragment slot="header">About DbGate</svelte:fragment>
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<img src="logo192.png" />
|
<img src="logo192.png" />
|
||||||
<div>
|
<div class="ml-4">
|
||||||
<div class="m-1">
|
<div>
|
||||||
Version: <span>{version}</span>
|
Version: <span>{version}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="m-1">
|
<div>
|
||||||
Build date: <span>{moment(buildTime).format('YYYY-MM-DD')}</span>
|
Build date: <span>{moment(buildTime).format('YYYY-MM-DD')}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="m-1">
|
<div>
|
||||||
Web: <Link href="https://dbgate.io">dbgate.io</Link>
|
License type: <span
|
||||||
|
>{$config?.checkedLicense ? ($config?.checkedLicense?.licenseTypeObj?.name ?? 'Unknown') : 'Community'}</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="m-1">
|
|
||||||
Source codes: <Link href="https://github.com/dbgate/dbgate/">github</Link>
|
<div class="mt-2">
|
||||||
|
<FontIcon icon="mdi mdi-web color-icon-blue" /> Web: <Link href="https://dbgate.io">dbgate.io</Link>
|
||||||
</div>
|
</div>
|
||||||
<div class="m-1">
|
{#if isProApp()}
|
||||||
Docker container: <Link href="https://hub.docker.com/r/dbgate/dbgate">docker hub</Link>
|
<div>
|
||||||
|
<FontIcon icon="mdi mdi-email color-icon-red" /> Support: <Link href="mailto:support@dbgate.io"
|
||||||
|
>support@dbgate.io</Link
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
|
<div>
|
||||||
|
<FontIcon icon="mdi mdi-lightbulb color-icon-yellow" /> Give us feedback: <Link
|
||||||
|
href="https://dbgate.io/feedback">dbgate.io/feedback</Link
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="m-1">
|
|
||||||
|
<div class="mt-2">
|
||||||
|
Source codes: <Link href="https://github.com/dbgate/dbgate/">GitHub</Link>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
Docker container: <Link
|
||||||
|
href={isProApp()
|
||||||
|
? 'https://hub.docker.com/r/dbgate/dbgate-premium'
|
||||||
|
: 'https://hub.docker.com/r/dbgate/dbgate'}>Docker Hub</Link
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<!-- <div>
|
||||||
Search plugins: <Link href="https://www.npmjs.com/search?q=keywords:dbgateplugin">npmjs.com</Link>
|
Search plugins: <Link href="https://www.npmjs.com/search?q=keywords:dbgateplugin">npmjs.com</Link>
|
||||||
|
</div> -->
|
||||||
|
|
||||||
|
<div class="mt-2">
|
||||||
|
Produced by: <span>Sprinx System a.s.</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user