-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (44 loc) · 1.45 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
<!DOCTYPE html>
<html>
<head>
<!-- Dependencies -->
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="lib/knockout-3.1.0.js"></script>
<script src="lib/xml2json.js"></script>
<script src="lib/Chart.min.js"></script>
<script src="lib/ChartNew.js"></script>
<script src="lib/xapicollection.min.js"></script>
<script type="text/javascript" src="src/dash.js"></script>
<link type="text/css" rel="stylesheet" href="css/style.css" />
</head>
<body>
<a class="reset" href="" data-bind="click:reset">Reset</a>
<div class="overview">
<h2>Your Progress</h2>
<div class="pie">
<canvas id="myChart" width="320" height="320"></canvas>
<div id="legend"></div>
</div>
<div class="overview_info">
<p>Possibly display more info here</p>
</div>
</div>
<div class="content">
<div class="components" data-bind="foreach: Component">
<h3 data-bind="text:Title"></h3>
<div class="component_inner">
<canvas data-bind="attr:{id: 'canvas' + $index()}" width="520" height="180"></canvas>
<!-- This for loop should really be removed -->
<div class="performanceLevel" data-bind="foreach: PerformanceLevelSet.PerformanceLevel">
<div data-bind="if:$root.isCurrentScore($data, $parentContext.$index())">
<p>
<span data-bind="text: Indicator.Description"></span><br/><br/>
<img data-bind="attr:{src: $root.getImgURL($data)}" />
</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>