-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (57 loc) · 2.14 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
<!doctype html>
<html>
<head>
<title>Who win F1 2015</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<script src="bower_components/webcomponentsjs/webcomponents.js"></script>
<script src="bower_components/angular/angular.min.js"></script>
<link rel="import" href="bower_components/polymer/layout.html">
<link rel="import" href="bower_components/core-icons/core-icons.html">
<link rel="import" href="bower_components/core-toolbar/core-toolbar.html">
<link rel="import" href="bower_components/font-roboto/roboto.html">
<link rel="import" href="bower_components/paper-button/paper-button.html">
<link rel="import" href="bower_components/paper-tabs/paper-tabs.html">
<link rel="import" href="bower_components/paper-progress/paper-progress.html">
<link rel="stylesheet" href="styles.css">
</head>
<body unresolved ng-app="myapp">
<core-toolbar>
<paper-icon-button icon="menu"></paper-icon-button>
<span flex>
<core-icon icon="insert-chart"></core-icon>
Who win F1 2015</span>
</core-toolbar>
<section ng-controller="MyController">
<paper-shadow z="1">
<table layout>
<tr>
<th></th>
<th>Piloto</th>
<th class="prob">puntos</th>
</tr>
<tbody ng-repeat="piloto in resultados">
<tr>
<th class="dorsal">
<span class="{{piloto.Constructors[0].constructorId}}">
{{piloto.Driver.permanentNumber}}</span></th>
<td class="nombre">
{{piloto.Driver.givenName}} {{piloto.Driver.familyName}}</td>
<td class="prob">
{{piloto.points}}</td>
</tr>
<tr>
<td colspan="3">
<paper-progress value="{{a(piloto.points)}}"
secondaryProgress="{{b(piloto.points)}}"
class="{{prob(piloto.points)}}"></paper-progress>
</td>
</tr>
</tbody>
</table>
</paper-shadow>
</section>
<script src="main.js"></script>
</body>
</html>