diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2018-02-28 21:32:48 +0000 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2018-02-28 21:32:48 +0000 |
| commit | 28ebae4525f35672acd6253b3022bdb8cdc1cbd1 (patch) | |
| tree | f78cd401095f6405057d3e67509218483f789413 /html/editor-instance.html | |
| parent | 46d3ba84ed407548d368dd146393e747cfb2d0af (diff) | |
| download | sql-plus-plus-28ebae4525f35672acd6253b3022bdb8cdc1cbd1.tar.xz sql-plus-plus-28ebae4525f35672acd6253b3022bdb8cdc1cbd1.zip | |
Update readme. Fix result parsing bug. Rearrange files
- Prefix query result fields with an underscore to avoid clashing with JS builtin property/function names which causes issues with Tabulator
- Move html files into their own dir
Diffstat (limited to 'html/editor-instance.html')
| -rw-r--r-- | html/editor-instance.html | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/html/editor-instance.html b/html/editor-instance.html new file mode 100644 index 0000000..eaa2599 --- /dev/null +++ b/html/editor-instance.html @@ -0,0 +1,45 @@ +<!DOCTYPE html> +<html> + + <head> + <meta charset="UTF-8"> + <title>SQL++</title> + + <link rel="stylesheet" href="../node_modules/codemirror/lib/codemirror.css"></link> + <link rel="stylesheet" href="../node_modules/codemirror/theme/dracula.css"></link> + <link rel="stylesheet" href="../node_modules/codemirror/addon/hint/show-hint.css"></link> + <link rel="stylesheet" href="../node_modules/jquery.tabulator/dist/css/tabulator.css"></link> + <link rel="stylesheet" type="text/css" href="../styles/editor-instance.css"></link> + <link rel="stylesheet" type="text/css" href="../styles/table-style.css"></link> + + </head> + + <body> + + <div class="flex-wrapper"> + <div class="row header"> + <input id="run-query" type="button" class="button" value="Run"></input> + </div> + + + <div class="row content"> + <div id="editor" class="editor-row split-row"></div> + + <div class="results-row split-row"> + <div id="result-table"></div> + <div id="result-error"></div> + </div> + </div> + + <div class="row footer"> + <div id="execution-status" class="exec-idle">Idle</div> + <div id="execution-time"></div> + <div id="cursor-coords"></div> + </div> + </div> + <script> + require("../editor-instance.js"); + </script> + </body> + +</html>
\ No newline at end of file |