1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

#if'd out the '.import' command in WASM builds. Several minor cosmetic UI tweaks.

FossilOrigin-Name: e4f87eb7c3ed16b7e431f86b7d337bb4097246d20780207b43e28fffda3d8a61
This commit is contained in:
stephan
2022-05-19 00:38:34 +00:00
parent 348f7420b3
commit 29f2458aae
4 changed files with 21 additions and 13 deletions

View File

@ -81,6 +81,7 @@
margin: 0.25em 0.5em;
border: 1px inset;
border-radius: 0.25em;
white-space: nowrap;
}
</style>
</head>
@ -106,12 +107,14 @@
</fieldset>
<div id='main-wrapper'>
<div class='ta-wrapper'>
<textarea id="input" rows="8">-- Use ctrl-enter or shift-enter to execute SQL
<textarea id="input" rows="8"
placeholder="Shell input. Ctrl-enter/shift-enter runs it.">
-- Use ctrl-enter or shift-enter to execute SQL
.nullvalue NULL
.mode box
create table t(a,b);
insert into t(a,b) values('abc',123),('def',456),(NULL,789),('ghi',012);
select * from t;</textarea>
CREATE TABLE t(a,b);
INSERT INTO t(a,b) VALUES('abc',123),('def',456),(NULL,789),('ghi',012);
SELECT * FROM t;</textarea>
<div class='button-bar'>
<button id='btn-run' disabled>Run</button>
<button id='btn-clear' disabled>Clear</button>
@ -119,7 +122,8 @@ select * from t;</textarea>
</div>
</div>
<div class='ta-wrapper'>
<textarea id="output" readonly rows="18" placeholder="Shell output"></textarea>
<textarea id="output" rows="18" readonly
placeholder="Shell output."></textarea>
<div class='button-bar'>
<button id='btn-clear-output' disabled>Clear</button>
</div>