This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathindex.html
53 lines (53 loc) · 1.43 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
---
---
<!DOCTYPE html>
<html>
<head>
<title>SM Updater</title>
<link href="atom.xml" type="application/atom+xml" rel="alternate" title="SM ATOM Feed" />
<style>
table {
border: 1px solid #DFDFDF;
border-collapse: collapse;
}
th, td {
text-align: left;
border: 1px solid #DFDFDF;
padding: 4px 8px;
}
.new td {
font-weight: bold;
}
</style>
</head>
<body>
<table>
<tr>
<th>name</th>
<th>code</th>
<th>url</th>
<th>md5</th>
<th>time</th>
</tr>
{% assign last_updated = site.data.last_updated %}
{% for dev in site.data.devices %}
{% assign link = site.data.links[dev.device] %}
{% if link != null %}
<tr{% if link.timestamp == last_updated.timestamp %} class="new"{% endif %}>
<td>{{ dev.name }}</td>
<td><code>{{ dev.device }}</code></td>
<td><code><a href="{{ link.url }}">{{ link.filename }}</a></code></td>
<td><code>{{ link.md5sum }}</code></td>
<td><code>{{ link.timestamp | date_to_xmlschema }}</code></td>
</tr>
{% endif %}
{% endfor %}
</table>
<footer style="margin-top: 8px">
<a href="atom.xml">atom</a>
<a href="https://github.com/xingrz/smartisan">source</a>
<a href="exp.html">exp</a>
<code>{{ last_updated.timestamp | date_to_xmlschema }}</code>
</footer>
</body>
</html>