-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwords.html
86 lines (73 loc) · 1.09 KB
/
words.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
<style>
body {
font-size: xx-large
}
table {
margin-left: auto;
margin-right: auto;
margin-top: 20px;
width: 80%
}
table {
table-layout: fixed;
width: 80%;
border-collapse: collapse;
border: 3px solid darkslategrey;
}
thead th:nth-child(1) {
width: 30%;
}
thead th:nth-child(2) {
width: 10%;
}
thead th:nth-child(3) {
width: 10%;
}
thead th:nth-child(4) {
width: 50%;
}
th,
td {
padding: 20px;
}
th {
letter-spacing: 2px;
text-transform: uppercase;
}
td {
letter-spacing: 1px;
}
tbody td {
text-align: center;
}
tfoot th {
text-align: right;
}
h1 {
text-align: center
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
</style>
<h1>Word Summary</h1>
<table>
<thead>
<tr>
<th>Word</th>
<th>Added</th>
<th>Lookuped</th>
<th>Translation</th>
</tr>
</thead>
{{range .}}
<tr>
<td><a href="/word/{{.Word}}">{{.Word}}</a></td>
<td>{{.AddedCount}}</td>
<td>{{.LookupCount}}</td>
<td>{{.ZhTrans}}</td>
</tr>
{{end}}
</table>
<hr />
<center>Generated by <a href="https://github.com/notsobad/w2r">w2r</a></center>