-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (65 loc) · 2.61 KB
/
index.html
File metadata and controls
70 lines (65 loc) · 2.61 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>LangMark</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-theme.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<script src="js/jquery-2.1.4.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/angular.min.js"></script>
<script src="js/marked.min.js"></script>
<script src="js/jsapi.min.js"></script>
<script>google.load('visualization', '1.0', {'packages':['corechart']});</script>
<script src="js/analyzer.min.js"></script>
<script src="js/app.min.js"></script>
</head>
<body ng-app="langmark" ng-controller="MainController" class="container">
<div class="page-header text-center">
<h1>LangMark</h1>
</div>
<div class="form-inline pull-right">
<div class="form-group">
<label for="selectFile">Select input file</label>
<select id="selectFile" class="form-control" ng-model="currentFile" ng-change="loadData()" ng-options="item as item.name for item in files track by item.file">
</select>
</div>
</div>
<h2>Using <small>{{currentAnalyzer.name}}</small></h2>
<hr/>
<div id="container"></div>
<hr/>
<div ng-repeat="(lang,table) in currentAnalyzer.tables">
<h1>{{lang}}</h1>
<table class="table">
<thead>
<tr>
<th>Compiler/Interpreter</th>
<th></th>
<th ng-repeat="lang in table.getTests()">{{lang}}</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="(compiler,data) in table.data">
<td><abbr title="{{currentAnalyzer.data[table.getTests()[0]][lang][$index].version}}">{{compiler}}</abbr></td>
<td></td>
<td ng-repeat="lang in table.getTests()">{{data[lang].toFixed(3)}}</td>
</tr>
</tbody>
</table>
</div>
<div class="modal fade" id="modal" tabindex="-1" role="dialog" aria-labelledby="model-title">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="modal-title"></h4>
</div>
<div class="modal-body">
</div>
</div>
</div>
</div>
</body>
</html>