-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
196 lines (182 loc) · 9.62 KB
/
Copy pathindex.html
File metadata and controls
196 lines (182 loc) · 9.62 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<title>NGAT</title>
<link rel="stylesheet" href="css/smoothness/jquery-ui.css">
<!-- <link rel="stylesheet" href="css/font-awesome.min.css" /> -->
<link rel="stylesheet" href="css/ngat.css" />
<script src="js/jquery-2.1.0.min.js"></script>
<script src="js/jquery-ui-1.10.4.custom.min.js"></script>
<script src="js/cytoscape.min.js"></script>
<script src="js/jquery.cytoscape-edgehandles.js"></script>
<script src="js/jquery.cytoscape-panzoom.js"></script>
<script src="js/jquery.cytoscape.js-cxtmenu.js"></script>
<script src="js/xmlwriter.min.js"></script>
</head>
<body>
<div id="toolbar" class="ui-widget-header ui-corner-all">
<form>
<div id="radio" class="ui-buttonset">
<input type="radio" id="btnSelect" name="radio" checked="checked" class="ui-helper-hidden-accessible">
<label for="btnSelect" class="ui-button ui-widget ui-state-default ui-button-text-only ui-corner-left ui-state-active tiphover" role="button" aria-disabled="false" aria-pressed="true" title="Select or move a concept"><span class="ui-button-text">Select</span>
</label>
<input type="radio" id="btnAddNode" name="radio" class="ui-helper-hidden-accessible">
<label for="btnAddNode" class="ui-button ui-widget ui-state-default ui-button-text-only tiphover" role="button" aria-disabled="false" aria-pressed="false" title="Add a new concept"><span class="ui-button-text">Concept</span>
</label>
<input type="radio" id="btnAddEdge" name="radio" class="ui-helper-hidden-accessible">
<label for="btnAddEdge" id="btnAddEdgeLabel" class="ui-button ui-widget ui-state-default ui-button-text-only ui-corner-right tiphover" role="button" aria-disabled="false" aria-pressed="false" title="Add a new relationship"><span class="ui-button-text">Relationship</span>
</label>
<input type="radio" id="btnClear" name="radio" class="ui-helper-hidden-accessible">
<label for="btnClear" class="ui-button ui-widget ui-state-default ui-button-text-only ui-corner-right tiphover" role="button" aria-disabled="false" aria-pressed="false" title="Clear the domain model"><span class="ui-button-text">Clear</span>
</label>
<input type="checkbox" id="btnJson" name="radio" class="ui-helper-hidden-accessible">
<label for="btnJson" id="btnJsonLabel" class="ui-button ui-widget ui-state-default ui-button-text-only ui-corner-right tiphover" role="button" aria-disabled="false" aria-pressed="false" title="Show JSON code"><span class="ui-button-text"> JSON</span>
</label>
<input type="checkbox" id="btnXml" name="radio" class="ui-helper-hidden-accessible">
<label for="btnXml" id="btnXmlLabel" class="ui-button ui-widget ui-state-default ui-button-text-only ui-corner-right tiphover" role="button" aria-disabled="false" aria-pressed="false" title="Show CAM code (XML / IMS VDEX based)"><span class="ui-button-text"> CAM</span>
</label>
</div>
</form>
</div>
<div id="cy"></div>
<div id="edition">
<p id="feedback">
</p>
<div class="node-edition">
<form >
<table>
<tr>
<td>Name</td>
<td>
<input type="text" class="node-name">
</td>
</tr>
<tr>
<td>Description</td>
<td>
<textarea class="node-description"></textarea>
</td>
</tr>
</table>
</form>
<div id="tabs">
<ul>
<li><a href="#tabs-1" id="node-res">Resources</a>
</li>
<li><a href="#tabs-2" id="node-prop">Properties</a>
</li>
<li><a href="#tabs-3" id="node-rel">Relationships</a>
</li>
</ul>
<div id="tabs-1">
<p class="content"></p>
<div style="border: 0px; text-align: center" class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix">
<div class="ui-dialog-buttonset">
<button id="btnAddRes" rel="hover" type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" title="Manage Resources" role="button" aria-disabled="false">
<span class="ui-button-text">Manage</span>
</button>
</div>
</div>
</div>
<div id="tabs-2">
<p class="content"></p>
<div style="border: 0px; text-align: center" class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix">
<div class="ui-dialog-buttonset">
<button id="btnAddProp" type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" title="Manage Properties" role="button" aria-disabled="false">
<span class="ui-button-text">Manage</span>
</button>
</div>
</div>
</div>
<div id="tabs-3">
<p class="content"></p>
</div>
</div>
</div>
<div class="edge-edition">
<table>
<tr>
<td>Type:</td>
<td>
<select class="edge-type">
<option value="is-composed-by">is-composed-by</option>
<option value="is-a">is-a</option>
<option value="belong-to">belong-to</option>
<option if="last" value="parent">parent</option>
</select>
</td>
</tr>
<tr>
<td colspan=2>
<div style="border: 0px; text-align: center" class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix">
<div class="ui-dialog-buttonset">
<button id="btnAddNewEdge" type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" title="Add new type of Relationship" role="button" aria-disabled="false">
<span class="ui-button-text">Add</span>
</button>
<button id="btnSaveEdge" type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false">
<span class="ui-button-text">Save</span>
</button>
</div>
</div>
</td>
</tr>
</table>
</div>
<div id="dialog-newdm" class="dialog">
<table>
<tr>
<td>Title:</td>
<td>
<input type="text" id="dmtitle" class="ui-button ui-widget ui-state-default" style="width: 250px; background-image: none; text-align: left" autofocus>
</td>
</tr>
<tr>
<tr>
<td>Description:</td>
<td>
<textarea class="ui-button ui-widget ui-state-default" id="dmdesc" style="width: 250px; height: 200px; background-image: none; text-align: left"></textarea>
</td>
</tr>
</table>
</div>
<div id="dialog-clear" class="dialog">
<span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span> The work area will be clean: all items from the map will be deleted. This can not be undone.
</div>
<div id="dialog-resource" class="dialog">
<table>
<tr>
<td>URL:</td>
<td>
<select class="resource-list" type="url"></select>
</td>
</tr>
<tr>
<tr>
<td>Description:</td>
<td>
<textarea class="ui-button ui-widget ui-state-default" id="resval" style="width: 250px; height: 200px; background-image: none; text-align: left" autofocus></textarea>
</td>
</tr>
</table>
</div>
<div id="dialog-property" class="dialog">
<p class="content">
<label for="property-list">Name:</label>
<select class="property-list"></select>
</p>
<p>
<label for="propval">Value:</label>
<input type="text" class="ui-button ui-widget ui-state-default" style="text-align: left" id="propval" autofocus>
</p>
</div>
</div>
<div id="json-edit">
<div id="json" contenteditable="true" class="boxsizingBorder"></div>
</div>
<div id="xml-edit">
<div id="xml" contenteditable="true" class="boxsizingBorder"></div>
</div>
<script type="text/javascript" src="js/ngat.js"></script>
</body>
</html>