doab-check/doab_check/templates/problems.html

39 lines
904 B
HTML
Raw Normal View History

2023-04-27 21:06:05 +00:00
<html>
<head>
<title>DOAB Problem Links</title>
</head>
<body>
<h2>
2023-05-02 19:52:03 +00:00
DOAB links with Status code: {{ code | default:'0 or None' }}
2023-04-27 21:06:05 +00:00
</h2>
2023-05-02 19:52:03 +00:00
<ul>
{% for provider in providers %}
<li> <a href="#{{ provider.provider | urlencode }}">{{ provider.provider }}</a>:
{{ provider.count }} problem links </li>
{% endfor %}
</ul>
2023-04-27 21:06:05 +00:00
2023-05-02 19:52:03 +00:00
<dl>
{% for provider in providers %}
<dt id="{{ provider.provider | urlencode }}"><h3>{{ provider.provider }}</h3></dt>
<dd>
2023-04-27 21:06:05 +00:00
<ul>
2023-05-02 19:52:03 +00:00
{% for link in provider.links %}
2023-04-27 21:06:05 +00:00
<li>
2023-05-09 19:19:06 +00:00
<p><a href="{{link.url}}">{{link.url}}</a> ({{link.items.first.publisher_name | default:'*** no publisher name ***'}})
2023-04-27 21:06:05 +00:00
<table>
{% for check in link.recent_checks %}
<tr>
<td>{{ check.created }}</td>
<td {% if check.return_code != 200 %} style="color:red"{% endif %}>{{ check.return_code }}</td>
<td>{{check.content_type}}</td>
{% endfor %}
</table>
</li>
{% endfor %}
</ul>
2023-05-02 19:52:03 +00:00
</dd>
{% endfor %}
</dl>
2023-04-27 21:06:05 +00:00
</body>
</html>