summaryrefslogtreecommitdiff
path: root/tbc_error_page/templates/broken.html
blob: e25395e3897b7f85e69b7d0715eb5f3d99b4672e (plain)
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
{% extends "base.html" %}
{% block title %} TBC Broken Links {% endblock %}
{% block content %}
         {% if not broken %}
		<center><h4> There are no new comments  </h4></center>
         {% else %}
		<h3><u><center>TBC Broken Links Page </center></u></h3>
                <h5> Hi <b><u> {{user}} </b><u> </h5>
                <a href = "{% url 'tbc_error_page.views.error' %}"> TBC Error Status Page </a>
<p></p>
        <table border = 1>
                <tr>
                <th> Sr no. </b></th>
                <th> Broken Urls </b></th>
                <th> <b> HTTP status error code </th>
                </tr>
        {% for broken_data in broken %}
                <tr>
                <td> {{ forloop.counter }} </td>
                <td> <a href = {{ broken_data.broken_url }} target = ""> {{ broken_data.broken_url }} </a> </td>
                 <td><b> {{ broken_data.error_status }} </b> error </td>
                </tr>
        {% endfor %}

        </table>
{% endif %}

{% endblock %}