50 lines
1.8 KiB
HTML
50 lines
1.8 KiB
HTML
<!doctype html>
|
|
<html lang="en-us">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
|
|
<link rel="stylesheet" href="common/emscripten.css"/>
|
|
<link rel="stylesheet" href="common/testing.css"/>
|
|
<title>sqlite3-kvvfs.js tests</title>
|
|
</head>
|
|
<body>
|
|
<header id='titlebar'><span>sqlite3-kvvfs.js tests</span></header>
|
|
<!-- emscripten bits -->
|
|
<figure id="module-spinner">
|
|
<div class="spinner"></div>
|
|
<div class='center'><strong>Initializing app...</strong></div>
|
|
<div class='center'>
|
|
On a slow internet connection this may take a moment. If this
|
|
message displays for "a long time", intialization may have
|
|
failed and the JavaScript console may contain clues as to why.
|
|
</div>
|
|
</figure>
|
|
<div class="emscripten" id="module-status">Downloading...</div>
|
|
<div class="emscripten">
|
|
<progress value="0" max="100" id="module-progress" hidden='1'></progress>
|
|
</div><!-- /emscripten bits -->
|
|
<fieldset>
|
|
<legend>Options</legend>
|
|
<div class='toolbar'>
|
|
<button id='btn-clear-log'>Clear log</button>
|
|
<button id='btn-clear-storage'>Clear storage</button>
|
|
<button id='btn-init-db'>(Re)init db</button>
|
|
<button id='btn-select1'>Select db rows</button>
|
|
<button id='btn-storage-size'>Approx. storage size</button>
|
|
</div>
|
|
</fieldset>
|
|
<div id='test-output'></div>
|
|
<style>
|
|
.toolbar {
|
|
display: flex;
|
|
}
|
|
.toolbar > * { margin: 0.25em; }
|
|
fieldset { border-radius: 0.5em; }
|
|
</style>
|
|
<script src="jswasm/sqlite3.js"></script>
|
|
<script src="common/SqliteTestUtil.js"></script>
|
|
<script src="demo-jsstorage.js"></script>
|
|
</body>
|
|
</html>
|