-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (47 loc) · 2.04 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Graph-vis</title>
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="./vis.css" type="text/css" />
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/vis/4.16.1/vis-network.min.js"> </script>
</head>
<body>
<div class="h-100 w-100 flex flex-column">
<div id="header" class="h3 pa2 shadow-1 w-100 flex flex-between items-center z-10">
<h2>Graph Visualizer</h2>
<div class="flex-grow-1 flex justify-end">
<button class="bg-blue bn white " onclick="document.getElementById('uploadFile').click()" style="font-size:1.125rem;padding:0.5rem">Upload
File</button>
<input type="file" id="uploadFile" style="display:none;">
</div>
</div>
<div class="flex-grow-1 flex justify-center items-center flex-column" id="placeholder">
<h4 class="flex-grow-1 flex items-center" style="color:gray">Upload a file to view the graph</h4>
<small classs="w-100 pa"">A Graph Visualizer by TheIntrinsicError!</small>
</div>
<div id="main" class="flex-grow-1 relative" style="display:none">
<div id="graph" class="w-100 vh-fill"></div>
<div id="info" class="absolute pa1" style="bottom:1rem;left:1rem;background:#E0E0E0DD"></div>
<div id="overlay" class="z-2 w-100 vh-fill absolute top-0 bg-overlay"></div>
<div id="toggleMenu" class="absolute flex flex-colummn items-center justify-center z-5"
style="height:3rem;width:3rem;top:10px;right:10px;border-radius:50%;background:#E0E0E0DD">
<div>
<div class="hamburger">
<div class="line1"></div>
<div class="line2"></div>
<div class="line3"></div>
</div>
</div>
</div>
<div id="options" class="absolute top-0 right-100 vh-fill w-75 bg-white shadow-2 pa1 z-5">
<h3 class="tc"> Configuration Options </h3>
<div id="config" class="w-100"></div>
</div>
</div>
</div>
<!-- <script src="graph.js"></script>-->
<script src="main.js" defer></script>
</body>
</html>