aboutsummaryrefslogtreecommitdiff
path: root/editor-instance.html
diff options
context:
space:
mode:
authorJames Barnett <james.barnett@fivium.co.uk>2018-02-21 21:42:55 +0000
committerGitHub <noreply@github.com>2018-02-21 21:42:55 +0000
commit11e98009906651acb110cd3b1625a771b1e2f472 (patch)
treede0a90c201f1949e701c969b2a3a94d7015f4006 /editor-instance.html
parent6e21916395fac6861783c2b930b47242ac0f4c09 (diff)
parent703f78867653ed9c53a745f9808eb96ae8a89dc7 (diff)
downloadsql-plus-plus-11e98009906651acb110cd3b1625a771b1e2f472.tar.xz
sql-plus-plus-11e98009906651acb110cd3b1625a771b1e2f472.zip
Merge branch tabbed-interface into master
Support multiple, configurable connections Each connection is displayed in its own tab in the main UI, and gets its own query executor. New connections can be added dynamically through the new connection dialog.
Diffstat (limited to 'editor-instance.html')
-rw-r--r--editor-instance.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/editor-instance.html b/editor-instance.html
new file mode 100644
index 0000000..454c6ce
--- /dev/null
+++ b/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" 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