diff options
author | mahesh | 2016-04-01 01:54:39 +0530 |
---|---|---|
committer | mahesh | 2016-04-01 01:54:39 +0530 |
commit | f701687ca6e6d324542aa51908dd67be3e47d725 (patch) | |
tree | 3ad01f8e9b3e6bf164316c2912828ff4ce48cc28 /tbc_error_page/templates/broken.html | |
parent | cf1209063bf68e01d312bc870280cf43b2a616a9 (diff) | |
download | Python-TBC-Interface-f701687ca6e6d324542aa51908dd67be3e47d725.tar.gz Python-TBC-Interface-f701687ca6e6d324542aa51908dd67be3e47d725.tar.bz2 Python-TBC-Interface-f701687ca6e6d324542aa51908dd67be3e47d725.zip |
displays errors on tbc notebooks, broken notebook paths/urls
Diffstat (limited to 'tbc_error_page/templates/broken.html')
-rw-r--r-- | tbc_error_page/templates/broken.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tbc_error_page/templates/broken.html b/tbc_error_page/templates/broken.html new file mode 100644 index 0000000..41449cd --- /dev/null +++ b/tbc_error_page/templates/broken.html @@ -0,0 +1,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 Error 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 %} |