2023-04-27 21:06:05 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>DOAB Problem Links</title>
|
2023-08-21 18:51:42 +00:00
|
|
|
{% include "basestyle.html" %}
|
2023-04-27 21:06:05 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2023-08-21 18:51:42 +00:00
|
|
|
{% include "header.html" %}
|
|
|
|
<main class="section oapen-topic oapen-main">
|
|
|
|
<div class="container">
|
|
|
|
<div class="content">
|
2023-04-27 21:06:05 +00:00
|
|
|
<h2>
|
2023-08-21 18:51:42 +00:00
|
|
|
DOAB links with status code: {{ code | default:'0 or None' }}
|
2023-04-27 21:06:05 +00:00
|
|
|
</h2>
|
2023-08-21 18:51:42 +00:00
|
|
|
<p> Here's <a href="{% url 'fixing' %}#code{{ code | default:'0' }}">more information about status code {{ code | default:'0 or None' }}</a>
|
2023-05-02 19:52:03 +00:00
|
|
|
<ul>
|
|
|
|
{% for provider in providers %}
|
|
|
|
<li> <a href="#{{ provider.provider | urlencode }}">{{ provider.provider }}</a>:
|
2023-09-06 21:55:28 +00:00
|
|
|
{{ provider.provider__count }} problem links </li>
|
2023-05-02 19:52:03 +00:00
|
|
|
{% 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-09-06 21:55:28 +00:00
|
|
|
{% with title=link.title %}
|
2023-08-21 18:51:42 +00:00
|
|
|
{% ifchanged title %}<div class='itemtitle'>{{ title }}</div>{% endifchanged %}
|
|
|
|
|
|
|
|
<div class='itemlink'><a href="{{ link.url }}">{{ link.url }}</a></div>
|
|
|
|
<a href="{% url 'link' link.id %}">[full info]</a>
|
|
|
|
|
|
|
|
<table class="checked">
|
|
|
|
<tr>
|
|
|
|
<td>Last checked: {{ link.recent_check.created }}</td>
|
|
|
|
<td {%if code != 200 %} style="color:red"{% endif %}>{{ code }}</td>
|
|
|
|
<td>{{ link.recent_check.content_type }}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
{% if forloop.counter == 1000 %} Can't display more than 1000 links {% endif %}
|
|
|
|
{% endwith %}
|
2023-04-27 21:06:05 +00:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2023-05-02 19:52:03 +00:00
|
|
|
</dd>
|
|
|
|
{% endfor %}
|
|
|
|
</dl>
|
2023-08-21 18:51:42 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</main></body>
|
2023-04-27 21:06:05 +00:00
|
|
|
</html>
|