forked from heatherzurek/pupster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWWW SQL Designer.htm
114 lines (89 loc) · 13.6 KB
/
WWW SQL Designer.htm
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<!-- saved from url=(0034)https://ondras.zarovi.cz/sql/demo/ -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WWW SQL Designer</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1">
<link rel="stylesheet" href="./WWW SQL Designer_files/style.css" media="all">
<!--[if IE 6]><link rel="stylesheet" type="text/css" href="styles/ie6.css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="styles/ie7.css" /><![endif]-->
<link rel="stylesheet" href="./WWW SQL Designer_files/print.css" type="text/css" media="print">
<script type="text/javascript" src="./WWW SQL Designer_files/dropbox.min.js"></script>
<script src="./WWW SQL Designer_files/oz.js"></script>
<script src="./WWW SQL Designer_files/config.js"></script>
<script src="./WWW SQL Designer_files/globals.js"></script>
<script src="./WWW SQL Designer_files/visual.js"></script>
<script src="./WWW SQL Designer_files/row.js"></script>
<script src="./WWW SQL Designer_files/table.js"></script>
<script src="./WWW SQL Designer_files/relation.js"></script>
<script src="./WWW SQL Designer_files/key.js"></script>
<script src="./WWW SQL Designer_files/rubberband.js"></script>
<script src="./WWW SQL Designer_files/map.js"></script>
<script src="./WWW SQL Designer_files/toggle.js"></script>
<script src="./WWW SQL Designer_files/io.js"></script>
<script src="./WWW SQL Designer_files/tablemanager.js"></script>
<script src="./WWW SQL Designer_files/rowmanager.js"></script>
<script src="./WWW SQL Designer_files/keymanager.js"></script>
<script src="./WWW SQL Designer_files/window.js"></script>
<script src="./WWW SQL Designer_files/options.js"></script>
<script src="./WWW SQL Designer_files/wwwsqldesigner.js"></script>
</head>
<body style="visibility: visible;">
<div id="area" class=""><svg width="3000" height="3000"><path stroke="#800" stroke-width="2" fill="none" d="M 701 118 C 716 118 716 647 671 647"></path><path stroke="#080" stroke-width="2" fill="none" d="M 311 112 C 415 112 415 670 519 670"></path><path stroke="#008" stroke-width="2" fill="none" d="M 324 879 C 559 879 560 879 795 879"></path><path stroke="#080" stroke-width="2" fill="none" d="M 311 112 C 553 112 553 902 795 902"></path></svg><div class="table" style="z-index: 3; left: 178px; top: 78px;"><table><thead><tr><td class="title" colspan="2" title="">dogs</td></tr></thead><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title primary key">id</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(255, 200, 200);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">name</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(255, 200, 200);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">photo</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(255, 200, 200);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">sex</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(255, 200, 200);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">breed</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">color</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(255, 200, 200);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">size</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(255, 200, 200);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">age</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">neutered_spayed</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">shots_up_to_date</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(255, 200, 200);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">activity_level</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">good_with_dogs</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">good_with_cats</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">good_with_kids</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">house_trained</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">good_alone</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(255, 200, 200);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">needs_description</div></td><td class="typehint"></td></tr></tbody></table></div><div class="table" style="z-index: 1; left: 580px; top: 84px;"><table><thead><tr><td class="title" colspan="2" title="">Adopter</td></tr></thead><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title primary key">id</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(255, 200, 200);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">Adopter Name</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">size</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(255, 200, 200);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">age</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(255, 200, 200);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">activity_leve</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">good_with_dogs</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(255, 200, 200);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">good_with_cats</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">good_with_kids</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">good_alone</div></td><td class="typehint"></td></tr></tbody></table></div><div class="table" style="z-index: 2; left: 519px; top: 590px;"><table><thead><tr><td class="title" colspan="2" title="">adopter_dogs</td></tr></thead><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title primary key">id</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">adopter_id</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">dog_id</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">score</div></td><td class="typehint"></td></tr></tbody></table></div><div class="table" style="z-index: 5; left: 199px; top: 845px;"><table><thead><tr><td class="title" colspan="2" title="">questions</td></tr></thead><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title primary key">id</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(255, 200, 200);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">answer1</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(255, 200, 200);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">answer2</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">answer3</div></td><td class="typehint"></td></tr></tbody></table></div><div class="table" style="z-index: 4; left: 795px; top: 822px;"><table><thead><tr><td class="title" colspan="2" title="">answers_dogs</td></tr></thead><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title primary key">id</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">answers_id</div></td><td class="typehint"></td></tr></tbody><tbody title="" style="background-color: rgb(238, 238, 170);"><tr><td><div class="selected" style="display: none;">» </div><div class="title">dogs_id</div></td><td class="typehint"></td></tr></tbody></table></div></div>
<div id="controls" style="z-index: 10;">
<div id="bar" style="overflow: hidden;">
<div id="toggle" class="on"></div>
<input type="button" id="saveload" value="Save / Load">
<hr>
<input type="button" id="addtable" value="Add table">
<input type="button" id="edittable" value="Edit table" disabled="">
<input type="button" id="tablekeys" value="Keys" disabled="">
<input type="button" id="removetable" value="Remove table" disabled="">
<input type="button" id="aligntables" value="Align tables">
<input type="button" id="cleartables" value="Clear tables">
<hr>
<input type="button" id="addrow" value="Add field" disabled="">
<input type="button" id="editrow" value="Edit field" disabled="">
<input type="button" id="uprow" class="small" value="Up" disabled=""><input type="button" id="downrow" class="small" value="Down" disabled="">
<input type="button" id="foreigncreate" value="Create foreign key" disabled="">
<input type="button" id="foreignconnect" value="Connect foreign key" disabled="">
<input type="button" id="foreigndisconnect" value="Remove foreign key" disabled="">
<input type="button" id="removerow" value="Remove field" disabled="">
<hr>
<input type="button" id="options" value="Options">
<a href="https://github.com/ondras/wwwsqldesigner/wiki" target="_blank"><input type="button" id="docs" value="Documentation"></a>
</div>
<div id="rubberband" style="left: 34px; top: 128px; width: 1px; height: 1px; visibility: hidden;"></div>
<div id="minimap"><div class="port" style="z-index: 1; width: 36px; height: 35px; left: 0px; top: 1px;"></div><div class="mini" style="width: 4px; height: 8px; left: 19px; top: 3px;"></div><div class="mini" style="width: 5px; height: 4px; left: 17px; top: 20px;"></div><div class="mini" style="width: 4px; height: 14px; left: 6px; top: 3px;"></div><div class="mini" style="width: 5px; height: 3px; left: 27px; top: 27px;"></div><div class="mini" style="width: 4px; height: 4px; left: 7px; top: 28px;"></div></div>
<div id="background" style="width: 1185px; height: 1177px; left: 0px; top: 32px; visibility: hidden;"></div>
<div id="window" style="left: 406px; top: 549px; visibility: hidden;">
<div id="windowtitle"><img id="throbber" src="./WWW SQL Designer_files/throbber.gif" alt="Please wait..." title="Please wait..." style="visibility: hidden;">Edit table</div>
<div id="windowcontent"><div id="table">
<table>
<tbody>
<tr>
<td>
<label id="tablenamelabel" for="tablename">Name</label>
</td>
<td>
<input id="tablename" type="text">
</td>
</tr>
<tr>
<td>
<label id="tablecommentlabel" for="tablecomment">Comment</label>
</td>
<td>
<textarea rows="5" cols="40" id="tablecomment"></textarea>
</td>
</tr>
</tbody>
</table>
</div></div>
<input type="button" id="windowok" value="OK">
<input type="button" id="windowcancel" value="Cancel">
</div>
</div> <!-- #controls -->
<script type="text/javascript">
var d = new SQL.Designer();
</script>
</body></html>