-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
65 lines (57 loc) · 1.74 KB
/
index.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
<meta equiv="Content-type" content="text/html; charset=utf8" />
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="js/jquery.flydom-3.1.1.js"></script>
<link type="text/css" href="css/ui-lightness/jquery-ui-1.7.2.custom.css" rel="Stylesheet" />
<link type="text/css" href="css/database-diagram-0.1.css" rel="Stylesheet" />
<script type="text/javascript" src="js/database-diagram-parser-0.1.js"></script>
<script type="text/javascript" src="js/database-diagram-graph-0.1.js"></script>
<script type="text/javascript" src="js/database-diagram-storage-0.1.js"></script>
<script type="text/javascript" src="js/database-diagram-0.1.js"></script>
<script type="text/javascript">
function go()
{
dbd($("#sql").val());
}
</script>
</head>
<body>
<canvas id="canvas"></canvas>
<div style="padding-top: 640px;">
<table>
<tr>
<td style="width:380px; padding:0 30px 0 0;">
<h2>What to do:</h2>
<p>
<ul>
<li>Find your database and export as SQL dump. Structure only.
<li>Trim the SQL to only show tables you are interested in.
<li>Paste this SQL into the box
<li>Click "moo!"
</ul>
</p>
</td>
<td>
<textarea id="sql"></textarea>
<br>
<input type="button" onclick="go()" value="moo!">
</td>
</tr>
</table>
<h2>Help</h2>
<p>
Database-diagram <a href="https://github.com/gregtampa/database-diagram/">wiki</a>.
</p>
<h2>Tests</h2>
<p>
<ul>
<li><a href="test-MySQL-InnoDB.html">MySQL-InnoDB</a>
<li><a href="test-MySQL-MyISAM.html">MySQL-MyISAM</a>
</ul>
</p>
</div>
</body>
</html>