aboutsummaryrefslogtreecommitdiff
path: root/new-connection.html
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2018-02-28 21:32:48 +0000
committerJames Barnett <noreply@jamesbarnett.xyz>2018-02-28 21:32:48 +0000
commit28ebae4525f35672acd6253b3022bdb8cdc1cbd1 (patch)
treef78cd401095f6405057d3e67509218483f789413 /new-connection.html
parent46d3ba84ed407548d368dd146393e747cfb2d0af (diff)
downloadsql-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 'new-connection.html')
-rw-r--r--new-connection.html73
1 files changed, 0 insertions, 73 deletions
diff --git a/new-connection.html b/new-connection.html
deleted file mode 100644
index ddfb380..0000000
--- a/new-connection.html
+++ /dev/null
@@ -1,73 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <title>SQL++ - New connection</title>
- <link rel="stylesheet" href="node_modules/bulma/css/bulma.css"></link>
- <link rel="stylesheet" href="./styles/new-connection.css"></link>
- </head>
- <body>
-
- <h4 class="title is-4" >Add new connection</h4>
- <form>
- <div class="field">
- <label class="label is-small" for="name">Connection name</label>
- <div class="control">
- <input name="name" class="input is-small" type="text"/>
- </div>
- <p class="help">This is shown as the title of the connection tab</p>
- </div>
- <div class="field">
- <label class="label is-small" for="vendor">Vendor</label>
- <div class="control">
- <div class="select is-small">
- <select name="vendor">
- <option value="postgres">Postgres</option>
- <option value="mysql">MySQL/MariaDB</option>
- <option value="oracle">Oracle</option>
- </select>
- </div>
- </div>
- </div>
- <div class="field">
- <label class="label is-small" for="hostname">Hostname</label>
- <div class="control">
- <input name="hostname" class="input is-small" type="text"/>
- </div>
- </div>
- <div class="field">
- <label class="label is-small" for="port">Port</label>
- <div class="control">
- <input name="port" class="input is-small" type="text" placeholder="5432"/>
- </div>
- </div>
- <div class="field">
- <label class="label is-small" for="username">Username</label>
- <div class="control">
- <input name="username" class="input is-small" type="text"/>
- </div>
- </div>
- <div class="field">
- <label class="label is-small" for="password">Password</label>
- <div class="control">
- <input name="password" class="input is-small" type="text"/>
- </div>
- </div>
- <div id="status-message" class="field"></div>
- <div class="field is-grouped">
- <div class="control">
- <input id="create-connection" type="button" class="button is-link is-small" value="Add"></input>
- </div>
- <div class="control">
- <input id="test-connection" type="button" class="button is-small" value="Test connection"></input>
- </div>
- <div class="control">
- <input id="cancel" type="button" class="button is-text is-small" value="Cancel"></input>
- </div>
- </div>
- </form>
- </body>
- <script>
- require("./new-connection.js");
- </script>
-</html> \ No newline at end of file