-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (57 loc) · 2.49 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
66
67
68
69
70
71
72
<!doctype html>
<html class="no-js" lang="">
<head>
<title>TCAP Viewer</title>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="js/jquery_1.7.js"></script>
<script type="text/javascript" src="js/vis.js"></script>
<script src="js/json2table.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="css/simple-table-styling.css" type="text/css" media="all" charset="utf-8">
<link href="js/vis-network.min.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#mynetwork {
width: 900px;
height: 912px;
border: 1px solid lightgray;
}
</style>
<script src="js/tcap-parser.js"></script>
<script src="js/tcap-viewer.js"></script>
</head>
<body>
<table>
<tr>
<td rowspan="3">
<div id="mynetwork"></div>
</td>
<td>
<textarea css="display:block" id="tcapStringArea" rows="38" cols="50">
inputDataForScanUserSet_0(in0) <= SCAN ('chris_set', 'chris_db', 'ScanUserSet_0')
/* Apply selection filtering */
nativ_0OutForSelectionComp1(in0,nativ_0_1OutFor) <= APPLY (inputDataForScanUserSet_0(in0), inputDataForScanUserSet_0(in0), 'SelectionComp_1', 'native_lambda_0')
filteredInputForSelectionComp1(in0) <= FILTER (nativ_0OutForSelectionComp1(nativ_0_1OutFor), nativ_0OutForSelectionComp1(in0), 'SelectionComp_1')
/* Apply selection projection */
nativ_1OutForSelectionComp1 (nativ_1_1OutFor) <= APPLY (filteredInputForSelectionComp1(in0), filteredInputForSelectionComp1(), 'SelectionComp_1', 'native_lambda_1')
nativ_1OutForSelectionComp1_out( ) <= OUTPUT ( nativ_1OutForSelectionComp1 ( nativ_1_1OutFor ), 'output_set1', 'chris_db', 'WriteUserSet_2')
</textarea>
</td>
</tr>
<tr style="position:relative;height:100%; margin-top:0; padding-top:0;">
<td style="position:relative;height:100%; margin-top:0; padding-top:0;"><button class="button" id="showGraph">Show Graph</button></td>
</tr>
<tr>
<td><table id="info-table"></table></td>
</tr>
</table>
<script>
$(document).ready(function(){
$("#showGraph").live("click", function(){
showGraphForTCAP($("#tcapStringArea").val());
});
});
</script>
</body>
</html>