-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.html
More file actions
44 lines (43 loc) · 940 Bytes
/
template.html
File metadata and controls
44 lines (43 loc) · 940 Bytes
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
<!DOCTYPE html>
<html>
<head>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Baseball</title>
</head>
<body class="container">
<h1>Baseball</h1>
<table class="highlight bordered">
<thead>
<tr>
<th>Rank</th>
<th>Teams</th>
<th>Owner</th>
<th>Wins</th>
<th>Losses</th>
<th>Pct</th>
</tr>
</thead>
<tbody>
{{
range.League
}}
<tr>
<td>{{.Rank}}</td>
<td>{{.Name}}</td>
<td>{{.Owner}}</td>
<td>{{.Wins}}</td>
<td>{{.Losses}}</td>
<td>{{.Perc}}</td>
</tr>
{{
end
}}
</tbody>
<tbody></tbody>
</table>
</body>
</html>