-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtopic_details.html
78 lines (72 loc) · 1.66 KB
/
topic_details.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
<html>
<head>
<title>Hub - Topic Details - {{topic_url|escape}}</title>
<link rel="stylesheet" href="/base.css" type="text/css">
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="/favicon.ico">
</head>
<body>
<h1>Topic Details - {{topic_url|escape}}</h1>
{% if error %}
<div>{{error|escape}}</div>
{% else %}
<table cellspacing="0", cellpadding="3" border="0">
{% if next_fetch %}
<tr>
<td>Next fetch time (UTC):</td>
<td>{{next_fetch|date:"Y-m-d\TH:i:s\Z"}}</td>
</tr>
<tr>
<td>Current fetch attempts:</td>
<td>{{fetch_attempts}}</td>
</tr>
<tr>
<td>All attempts failed</td>
<td>{{totally_failed}}</td>
</tr>
{% endif %}
<tr>
<td>Last successful fetch (UTC):</td>
<td>{{last_successful_fetch|date:"Y-m-d\TH:i:s\Z"}}</td>
</tr>
<tr>
<td>Last Content-Type:</td>
<td>{{last_content_type|escape}}</td>
</tr>
<tr>
<td>Last ETag:</td>
<td>{{last_etag|escape}}</td>
</tr>
<tr>
<td>Last Modified:</td>
<td>{{last_modified|escape}}</td>
</tr>
<tr>
<td>Fetch from domain:</td>
<td>
{% if fetch_blocked %}
<span style="color: red">BLOCKED</span>
{% else %}
OK
{% endif %}
</td>
</tr>
<tr>
<td>Fetch short-term:</td>
<td>{{fetch_errors|floatformat:"-2"}}% errors for domain</td>
</tr>
</table>
<h2>Error rate statistics</h2>
{% for result in fetch_url_error %}
{% include "stats_table.html" %}
{% endfor %}
<h2>Latency statistics</h2>
{% for result in fetch_url_latency %}
{% include "stats_table.html" %}
{% endfor %}
<h2>Last feed envelope retrieved:</h2>
<pre>
{{last_header_footer|escape}}
</pre>
{% endif %}
</body>
</html>