2023-03-02 22:40:34 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>DOAB Hosts</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h2>
|
2023-04-27 21:05:29 +00:00
|
|
|
Link Checking for
|
|
|
|
{{provider.provider}} ({{provider.link_count}} links)
|
2023-03-02 22:40:34 +00:00
|
|
|
</h2>
|
2023-04-27 21:05:29 +00:00
|
|
|
<h3>Summary</h3>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>HTTP Code</th>
|
|
|
|
<th>number</th>
|
|
|
|
</tr>
|
|
|
|
{% for code in codes %}
|
|
|
|
<tr {% if code.recent_check__return_code != 200 %} style="color:red"{% endif %}>
|
|
|
|
<td> {{ code.recent_check__return_code }} </td>
|
|
|
|
<td> {{ code.count }} </td>
|
|
|
|
</tr>
|
2023-04-27 21:24:55 +00:00
|
|
|
{% empty %}
|
|
|
|
<tr><td colspan=2>None of the active links for {{ provider.provider }} have been checked.</td>
|
2023-04-27 21:05:29 +00:00
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<h3>Checked links</h3>
|
2023-03-02 22:40:34 +00:00
|
|
|
<ul>
|
|
|
|
{% for link in links %}
|
|
|
|
<li>
|
|
|
|
<a href="{{link.url}}">{{link.url}}</a>
|
|
|
|
<table>
|
2023-04-27 21:05:29 +00:00
|
|
|
{% for check in link.recent_checks %}
|
2023-03-02 22:40:34 +00:00
|
|
|
<tr>
|
|
|
|
<td>{{ check.created }}</td>
|
|
|
|
<td {% if check.return_code != 200 %} style="color:red"{% endif %}>{{ check.return_code }}</td>
|
|
|
|
<td>{{check.content_type}}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</body>
|
|
|
|
</html>
|