-
Notifications
You must be signed in to change notification settings - Fork 0
/
dbExplorer.html
70 lines (69 loc) · 2.94 KB
/
dbExplorer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<style type="text/css">
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.4.1/dojo/resources/dojo.css";
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.4.1/dijit/themes/tundra/tundra.css";
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.4.1/dojox/grid/resources/Grid.css";
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.4.1/dojox/grid/resources/tundraGrid.css";
@import "FormGenerator.css";
#grid {
width: 400px;
height: 200px;
border: 1px solid black;
}
#schema {
height: 100px;
overflow: auto;
}
/*@import "css/your_css.css";*/
/* for now, I've included some rules to keep this demo in a single file */
html, body, .dijitBorderContainer {width: 100%; height: 100%;}
.dijitAccordionContainer {width: 200px;}
</style>
<script type="text/javascript">
var djConfig = {
isDebug: false,
parseOnLoad: true,
baseUrl: './',
modulePaths: {'widgets' : 'widgets',
'unc': '.' }
};
</script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.4.1/dojo/dojo.xd.js"></script>
<script type="text/javascript">
// include any modules needed for the initial Dojo markup parse here
dojo.require('dijit.layout.BorderContainer');
dojo.require('dijit.layout.ContentPane');
dojo.require('dijit.form.TextBox');
dojo.require('dijit.form.ComboBox');
dojo.require('dijit.form.Button');
dojo.require('dijit.layout.TabContainer');
</script>
<script type="text/javascript" src="/libs/uow/trace.js"></script>
<script type="text/javascript" src="/libs/uow.js"></script>
<script type="text/javascript" src="dbExplorer.js"></script>
</head>
<body class="tundra">
<div dojoType="dijit.layout.BorderContainer" liveSplitters="true">
<div dojoType="dijit.layout.ContentPane" region="top" splitter="false">
<label for="db">Database</label>
<input type="text" name="db" id="db" trim="true" dojoType="dijit.form.TextBox" />
<label for="co">Collections</label>
<select dojoType="dijit.form.ComboBox" id="co" name="co" ></select>
<label for="schemaName">Schema</label>
<input type="text" name="schemaName" id="schemaName" dojoType="dijit.form.TextBox" />
<button dojoType="dijit.form.Button" id="openButton">Open</button>
</div>
<div dojoType="dijit.layout.TabContainer" region="center" splitter="false">
<div id="myeditor" dojoType="dijit.layout.ContentPane" title="Editor">
</div>
<div dojoType="dijit.layout.ContentPane" title="Schema">
<pre id="schema">Schema will go here</pre>
</div>
</div>
<div dojoType="dijit.layout.ContentPane" region="bottom" splitter="false">bottom</div>
</body>
</html>