This repository has been archived by the owner on Jul 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·138 lines (115 loc) · 4.8 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>The MindWalk Project</title>
<meta name="description" content="A project to help you remember things">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/vendor.min.css">
<link rel="stylesheet" href="css/main.css">
<script type="text/template" id="show-map">
<div id="map"></div>
<center>
<a role="button" class="btn" id="addQuestion">Add Question</a>
</center>
<div id="questionModal" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
</div>
</script>
<script type="text/template" id="path-form">
<fieldset class="modal-header">
<button type="button" class="close cancel" aria-hidden="true">×</button>
<h3 id="myModalLabel">Create a new walk</h3>
</fieldset>
<fieldset class="modal-body">
<label for="title">Title</label>
<input type="text" class="input-xxlarge" name="title" placeholder="Name of your path">
<label for="description">Description</label>
<textarea name="description" class="input-xxlarge" placeholder="Description of what you learn"></textarea>
</fieldset>
<fieldset class="modal-footer">
<button class="cancel btn" aria-hidden="true">Close</button>
<button type="submit" class="btn btn-primary">Submit</button>
</fieldset>
</script>
<script type="text/template" id="select-path-form">
<fieldset class="modal-header">
<button type="button" class="close cancel" aria-hidden="true">×</button>
<h3 id="myModalLabel">Select a Path</h3>
</fieldset>
<fieldset class="modal-body">
<label for="name">Name of the Path</label>
<select class="input-xxlarge" name="name">
<% this.collection.forEach(function (path) { %>
<option value="<%= path.get("id") %>"><%= path.get("title") %></option>
<% }); %>
</select>
</fieldset>
<fieldset class="modal-footer">
<button class="cancel btn" aria-hidden="true">Close</button>
<button type="submit" class="btn btn-primary">Submit</button>
</fieldset>
</script>
<script type="text/template" id="show-answer">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>Answer</h3>
</div>
<div class="modal-body">
<p><%= answer %></p>
</div>
</script>
<script type="text/template" id="choose-action">
<fieldset class="modal-header">
<button type="button" class="close cancel" aria-hidden="true">x</button>
<h3 id="myModalLabel">What do you want to do?</h3>
</fieldset>
<fieldset class="modal-body">
<center>
<button type="button" class="input-xxlarge btn" id="newWalk" style="margin-bottom: 5px;">Create a new walk</button><br>
<button type="button" class="input-xxlarge btn" id="existingWalk">Choose an existing walk</button>
</center>
</fieldset>
</script>
<script type="text/template" id="point-form">
<fieldset class="modal-header">
<button type="button" class="close cancel" aria-hidden="true">×</button>
<h3 id="myModalLabel">Create a new Point</h3>
</fieldset>
<fieldset class="modal-body">
<label for="question">Question</label>
<textarea name="question" class="input-xxlarge" placeholder="Your question"></textarea>
<label for="answer">Answer</label>
<textarea name="answer" class="input-xxlarge" placeholder="Your answer"></textarea>
</fieldset>
<fieldset class="modal-footer">
<button class="cancel btn" aria-hidden="true">Close</button>
<button type="submit" class="btn btn-primary">Submit</button>
</fieldset>
</script>
<script type="text/template" id="welcome-page">
<p class="lead" id="lead_top">Mindwalk</p>
<img src="logo.svg" width="350" alt="MindWalk" class="logo"/>
<p class="lead">A project to help you remember things.</p>
</script>
</head>
<body>
<div class="container">
<section id="content">
</section>
<footer>
<p>A project for the eLearning Lecture at RWTH Aachen University, 2013</p>
</footer>
</div>
<!-- Vendor -->
<script src="js/vendor.min.js"></script>
<!-- Custom -->
<script src="js/path.js"></script>
<script src="js/paths.js"></script>
<script src="js/demo-path.js"></script>
<script src="js/misc-views.js"></script>
<script src="js/path-view.js"></script>
<script src="js/map-view.js"></script>
<script src="js/app.js"></script>
</body>
</html>