-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
98 lines (91 loc) · 3.55 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>PerCollECT - UltrasonicUnderwood</title>
<!-- include stylesheets -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="src/style.css">
<!-- include D3 -->
<script src="https://d3js.org/d3.v7.min.js"></script>
<!-- include jquery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- include table sort lib -->
<script src="https://table-sortable.now.sh/table-sortable.js"></script>
<!-- include scripts -->
<script src="src/helper.js"></script>
<script src="src/model.js"></script>
<script src="src/sidenav.js"></script>
<script src="https://unpkg.com/[email protected]"></script>
<script src="https://requirejs.org/docs/release/2.3.6/minified/require.js"></script>
<script src="src/dag.js"></script>
<script>
function isIE() {
let ua = window.navigator.userAgent;
return ua.indexOf('MSIE ') > 0 || ua.indexOf('Trident/') > 0;
}
</script>
</head>
<body onhashchange=location.reload()>
<script>
// define some global vars
let repoName = "UltrasonicUnderwood";
let dataDict = "master/";
let jsonDataFile = "data.json";
let dataHost = "https://raw.githubusercontent.com/PerCollECT/" + repoName + "/"
let homePath = (window.location.href.includes("localhost") || window.location.href.includes("127.0.")) ?
`${window.location.origin}/` :
`${window.location.origin}/${window.location.pathname.split("/")[1]}/`;
</script>
<!-- sidenav -->
<div id="side_nav" class="sidenav">
<div id="head">
<script>$("#head").append(createLink("Ultrasonic Underwood", homePath));</script>
</div>
<hr>
<div class="search-container">
<form action="javascript:jumpToSearch()" autocomplete="off">
<input id="search_input" type="text" placeholder="Search..." name="search" onfocus="this.value=''">
<button type="submit" class="btn btn-light"><em class="fa fa-search"></em></button>
</form>
</div>
<div class="infoHead">Decomposition Blocks</div>
<div id="side_nav_links"></div>
</div>
<!-- content -->
<div class="content">
<svg></svg>
<div id="legend" class="legend"></div>
<div id="info_box"></div>
<!-- content table -->
<div id="tree_table_container">
<!-- tree collapse button -->
<button id="tree_table_collapse" type="button" class="btn btn-light open" title="Hide table"
style="display: none;">
<em id="toggle_symbol" class="fa fa-fw fa-chevron-up"></em>
</button>
<div id="tree_table_content" style="display: none;">
<!-- tree menu bar -->
<div id="tree_table_menu" class="row">
<div class="col-sm-4">
<input id="searchField" type="text" class="form-control" placeholder="Search...">
</div>
<p class="col-sm text-right">Rows per page</p>
<div class="col-sm-2">
<select id="changeRows" class="custom-select" name="rowsPerPage">
<option value="1">1</option>
<option value="5">5</option>
<option value="10" selected="">10</option>
<option value="15">15</option>
</select>
</div>
</div>
<!-- tree content -->
<svg></svg>
</div>
</div>
</div>
<script src="src/content.js"></script>
</body>
</html>