mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-07 02:28:54 +08:00
99 lines
2.5 KiB
HTML
99 lines
2.5 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
|
<link rel="icon" href="favicon.png" />
|
|
<link rel="manifest" href="manifest.webmanifest" />
|
|
<title>sqliteviz</title>
|
|
<style>
|
|
#sqliteviz-loading-wrapper {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
background-color: white;
|
|
}
|
|
|
|
#sqliteviz-loading-text {
|
|
display: block;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
color: #506784;
|
|
font-family: sans-serif;
|
|
font-size: 20px;
|
|
}
|
|
|
|
#sqliteviz-loading-wrapper svg {
|
|
display: block;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
#sqliteviz-loading-wrapper circle {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
fill: none;
|
|
stroke-width: 5px;
|
|
stroke-linecap: round;
|
|
stroke: #119dff;
|
|
}
|
|
|
|
#sqliteviz-loading-wrapper circle.bg {
|
|
stroke: #c8d4e3;
|
|
}
|
|
|
|
#sqliteviz-loading-wrapper circle.front {
|
|
stroke-dasharray: 402px;
|
|
animation: sqliteviz-loading 2s linear 0s infinite;
|
|
}
|
|
|
|
@keyframes sqliteviz-loading {
|
|
0% {
|
|
stroke-dasharray: 100px 402px;
|
|
stroke-dashoffset: 0;
|
|
}
|
|
50% {
|
|
stroke-dasharray: 251px;
|
|
stroke-dashoffset: -251px;
|
|
}
|
|
100% {
|
|
stroke-dasharray: 100px 402px;
|
|
stroke-dashoffset: -502px;
|
|
}
|
|
}
|
|
</style>
|
|
<!-- head extention slot start -->
|
|
<!-- head extention slot end -->
|
|
</head>
|
|
<body>
|
|
<noscript>
|
|
<strong>
|
|
We're sorry but this app doesn't work properly without JavaScript
|
|
enabled. Please enable it to continue.
|
|
</strong>
|
|
</noscript>
|
|
<div id="app">
|
|
<div id="sqliteviz-loading-wrapper">
|
|
<div id="sqliteviz-loading-text">LOADING</div>
|
|
<svg height="170" width="170" viewBox="0 0 170 170">
|
|
<circle class="bg" cx="85" cy="85" r="80" />
|
|
<circle class="front" cx="85" cy="85" r="80" />
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
<!-- extention slot start -->
|
|
<!-- extention slot end -->
|
|
<script type="module" src="/src/main.js"></script>
|
|
</body>
|
|
</html>
|