-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (51 loc) · 1.68 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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Metaphor Mapping</title>
<script type="text/javascript" src="lib/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="lib/utils.js"></script>
<script type="text/javascript" src="lib/raph.js"></script>
<script type="text/javascript" src="lib/d3.min.js"></script>
<script type="text/javascript" src="lib/init.js"></script>
<script type="text/javascript" src="lib/tree.js"></script>
<script type="text/javascript" src="lib/graph.js"></script>
<script type="text/javascript" src="lib/download.js"></script>
<script type="text/javascript" src="lib/cycle.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div id=header>
Metaphor Mapping
</div>
<a id="instructions_anchor">Hover for instructions...</a>
<div id=instructions>
<p>Hold D: Delete Mode</p>
<p>Press A: Add to Graph</p>
<p>Ctrl+Z: Undo</p>
<p>Ctrl+X: Clear Graph</p>
</div>
<div id=inputRow>
<span class='label'>Upload Files</span>
<input type="file" id="files" name="files[]" multiple/>
<span class='label'>Load State</span>
<button id="create">Save State</button><a download="info.txt" id="downloadlink" style="display: none">Download</a>
<input type ="file" id="upload">
</div>
<hr>
<div id='toprow'>
<div id='list'></div>
<div id='poemContainer'>
<div id='poem'></div>
</div>
<div id='tree'>
</div>
</div>
<div id='graph'> </div>
<span class="label2">Cycles Detected</span>
<div class="scrollable">
<select id='cycles' size="20" onchange="showCycle(this.value);">
<option value="none">No cycles detected</option>
</select>
</div>
</body>
</html>