-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (31 loc) · 1.11 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Gremlin Dashboard</title>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.14/angular.min.js"></script>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="vendor/gremlin.js"></script>
<script src="vendor/sigmajs/sigma.min.js"></script>
<script src="vendor/sigmajs/plugins/sigma.parsers.json.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="gremlin-dashboard.js"></script>
</head>
<body ng-app="GremlinDashboard">
<div ng-controller="GremlinReplController">
<div id="gremlinform">
<form ng-submit="submit()">
<input type="text" ng-model="gScript" name="gScript"/>
</form>
</div>
<div id="main" ng-show="res">
<!--initialize the sigmaGraph directive. pass shared.g in as the graph object.-->
<sigma-graph g="shared.g"></sigma-graph>
<div id="results">
<h2>Results:</h2>
<pre>{{res}}</pre>
</div>
</div>
</div>
</body>
</html>