mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 07:56:28 +00:00
zero loading info
This commit is contained in:
@@ -21,9 +21,25 @@
|
|||||||
<link rel='stylesheet' href='build/fonts/materialdesignicons.css'>
|
<link rel='stylesheet' href='build/fonts/materialdesignicons.css'>
|
||||||
|
|
||||||
<script defer src='build/bundle.js'></script>
|
<script defer src='build/bundle.js'></script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
#starting_dbgate_zero {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-around;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<div id='starting_dbgate_zero'>
|
||||||
|
Loading DbGate App ...
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -33,6 +33,11 @@
|
|||||||
|
|
||||||
onMount(loadApi);
|
onMount(loadApi);
|
||||||
|
|
||||||
|
onMount(() => {
|
||||||
|
const removed = document.getElementById('starting_dbgate_zero');
|
||||||
|
if (removed) removed.remove();
|
||||||
|
});
|
||||||
|
|
||||||
$: {
|
$: {
|
||||||
if (loadedApi && $loadingPluginStore?.loaded) {
|
if (loadedApi && $loadingPluginStore?.loaded) {
|
||||||
setAppLoaded();
|
setAppLoaded();
|
||||||
|
|||||||
Reference in New Issue
Block a user