-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (46 loc) · 1.79 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
<!DOCTYPE>
<html>
<head>
<title>Lattice optimal path</title>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
<link type="text/css" rel="stylesheet" href="materialize.min.css" media="screen,projection"/>
<style type="text/css">
.bodi {
font-family: helvetica;
font-size: 18px;
}
#Lattice {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 998;
}
h1 {
opacity: 0.4;
font-size: 1em;
}
</style>
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
<script src="./cytoscape.min.js"></script>
</head>
<body class="bodi" onload="generate()">
<div class="row">
<div class="col s12">
<div class="results"></div>
<a class="waves-effect waves-light btn" value="Generate" style="z-index: 1000; position: relative;" onclick="generate()">Generate</a>
<div style="z-index: 1000; position: relative;">
<input placeholder="attrribute name" id="name" type="text" class="validate">
<label for="name">Attribute Name</label></div>
<div style="z-index: 1000; position: relative;">
<input placeholder="attrribute value" id="value" type="text" class="validate">
<label for="value">Attribute value</label></div>
<a class="waves-effect waves-light btn" value="Generate" style="z-index: 1000; position: relative;" onclick="add()">ADD</a>
<a class="waves-effect waves-light btn" value="Generate" style="z-index: 1000; position: relative;" onclick="pop()">POP</a></div>
<h1 align="center">Optimal path on LATTICE of CUBOID</h1>
</div>
<div id="Lattice"></div>
<script src="code.js"></script>
</body>
</html>