-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
100 lines (92 loc) · 3.88 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
99
100
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>BRaiNSTORM</title>
<link rel="stylesheet" type="text/css" href="./node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="./node_modules/bootstrap/dist/css/bootstrap-theme.min.css">
<link rel="stylesheet" type="text/css" href="./node_modules/bootstrap-tour/build/css/bootstrap-tour.min.css">
<style type='text/css'>
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(./node_modules/material-design-icons/iconfont/MaterialIcons-Regular.eot); /* For IE6-8 */
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(./node_modules/material-design-icons/iconfont/MaterialIcons-Regular.woff2) format('woff2'),
url(./node_modules/material-design-icons/iconfont/MaterialIcons-Regular.woff) format('woff'),
url(./node_modules/material-design-icons/iconfont/MaterialIcons-Regular.ttf) format('truetype');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px; /* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: 'liga';
}
</style>
<script src="./node_modules/jquery/dist/jquery.min.js"></script>
<script src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="./node_modules/vivagraphjs/dist/vivagraph.js"></script>
<script src="./node_modules/bootstrap-tour/build/js/bootstrap-tour.min.js"></script>
<script src="./js/tour.js"></script>
<script src="./js/graph.js"></script>
<style type='text/css'>
#graphContainer {
position: relative;
background-color: #dddddd;
}
html, body {
overflow: hidden;
height: 100%;
width: 100%
}
svg {
width: 100%;
height: 100%;
}
</style>
</head>
<body onload="onLoad(); initTour()" style="height: 100%">
<div class="row" style="height: 70%">
<div id='graphContainer' class="col-sm-8" style="height: 100%"></div>
<div class="col-sm-4" style="height: 100%; padding: 0">
<iframe id="suggestions" src="./suggestions.html" style="width: 100%; height: 100%" frameborder="0"></iframe>
</div>
</div>
<div class="row" style="height: 100%">
<div style="background-color:#aaa; height: inherit">
<div class="container-fluid" style="height: 100%">
<div class="col-sm-1" style="height: 100%">
<div id="voice" style="display:flex;justify-content:center;align-items:center;padding: 60%">
<i class="material-icons" style="font-size: 70px">mic_none</i>
</div>
</div>
<div class="col-sm-7">
<h2 id="input">Input</h2>
<div id="transcript"></div>
</div>
<div class="col-sm-4" id="demo">
<div id="add-node-buttons" style="padding-top: 20px"></div>
</div>
</div>
</div>
</div>
</body>
</html>