-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (74 loc) · 2.3 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
<!DOCTYPE html>
<html>
<head>
<title>DecodeDeps</title>
<link rel="icon" href="./logo.ico" type="image/x-icon" />
<link rel="stylesheet" href="./public/style.css" />
<!-- <script src="
https://cdn.jsdelivr.net/npm/[email protected]/dist/d3.min.js
"></script> -->
</head>
<body>
<div id="canvas">
<div id="side">
<div>
<div id="projectTitle"></div>
<div id="control">
<div class="side-title">Control</div>
<div class="bar">
<label for="nodeSize">Node Size</label>
<input
type="range"
id="nodeSize"
min="5"
max="50"
value='${localStorage.getItem("nodeSize") || 20}'
/>
</div>
<div class="bar">
<label for="linkDistance">Link Distance</label>
<input
type="range"
id="linkDistance"
min="10"
max="200"
value='${localStorage.getItem("linkDistance") || 125}'
/>
</div>
<div class="bar">
<label for="fontSize">Font Size</label>
<input
type="range"
id="fontSize"
min="8"
max="30"
value='${localStorage.getItem("fontSize") || 12}'
/>
</div>
</div>
<div id="mode">
<div class="side-title">Dependency Type</div>
<div class="mode-buttons">
<div id="showAll" class="mode-button">All</div>
<div id="showInternal" class="mode-button">Internal</div>
<div id="showExternal" class="mode-button">External</div>
</div>
</div>
<div class="warning">
<div class="warning-title"></div>
<div class="warningBox"></div>
</div>
</div>
<div id="footer">
If you have any issue, please visit
<a target="_blank" href="https://github.com/jnoncode/decode-deps"
>Github</a
>
</div>
</div>
<svg></svg>
</div>
<script type="module" src="/src/graph/index.ts"></script>
<script type="module" src="/src/ui/warning.ts"></script>
</body>
</html>