From f701687ca6e6d324542aa51908dd67be3e47d725 Mon Sep 17 00:00:00 2001 From: mahesh Date: Fri, 1 Apr 2016 01:54:39 +0530 Subject: displays errors on tbc notebooks, broken notebook paths/urls --- tbc_error_page/templates/error.html | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 tbc_error_page/templates/error.html (limited to 'tbc_error_page/templates/error.html') diff --git a/tbc_error_page/templates/error.html b/tbc_error_page/templates/error.html new file mode 100644 index 0000000..ee4c415 --- /dev/null +++ b/tbc_error_page/templates/error.html @@ -0,0 +1,41 @@ +{% extends "base.html" %} +{% block title %} TBC Error Page {% endblock %} + + + + +{% block content %} + +

TBC Error Page

+
Hi {{ user }}
+

TBC Broken Links page

+ {% if not context %} +

There are no new errors

+ {% else %} + + + + + + + + {% csrf_token %} + {% for errors in context %} +
+ +
+ + {% if errors.is_deliberate == 0 %} + + + + + + {% endfor %} +
Chapters With errors Number of errors Delibrate Errors
{{ errors.chapter_name }} {{ errors.number_of_errors }} + {% endif %} +
+ + +{% endif %} +{% endblock %} -- cgit From ce8ce678374a85dc73671dd405e68ee14ac97fb7 Mon Sep 17 00:00:00 2001 From: mahesh Date: Fri, 15 Apr 2016 13:56:43 +0530 Subject: links will open in new tab --- tbc_error_page/templates/error.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tbc_error_page/templates/error.html') diff --git a/tbc_error_page/templates/error.html b/tbc_error_page/templates/error.html index ee4c415..5323efb 100644 --- a/tbc_error_page/templates/error.html +++ b/tbc_error_page/templates/error.html @@ -26,7 +26,7 @@ {% if errors.is_deliberate == 0 %} - {{ errors.chapter_name }} + {{ errors.chapter_name }} {{ errors.number_of_errors }} {% endif %} -- cgit From 6ebf233256a1892808d3a9535d6f602e52915381 Mon Sep 17 00:00:00 2001 From: mahesh Date: Fri, 15 Apr 2016 16:09:04 +0530 Subject: submit buttons changes --- tbc_error_page/templates/error.html | 1 + 1 file changed, 1 insertion(+) (limited to 'tbc_error_page/templates/error.html') diff --git a/tbc_error_page/templates/error.html b/tbc_error_page/templates/error.html index 5323efb..d9c5861 100644 --- a/tbc_error_page/templates/error.html +++ b/tbc_error_page/templates/error.html @@ -35,6 +35,7 @@ {% endfor %} +
{% endif %} -- cgit From 51e98a5afade150865803ccb1ad0f853b14a492e Mon Sep 17 00:00:00 2001 From: mahesh Date: Fri, 15 Apr 2016 17:45:23 +0530 Subject: minor changes in template --- tbc_error_page/templates/error.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tbc_error_page/templates/error.html') diff --git a/tbc_error_page/templates/error.html b/tbc_error_page/templates/error.html index d9c5861..237c7f3 100644 --- a/tbc_error_page/templates/error.html +++ b/tbc_error_page/templates/error.html @@ -14,9 +14,9 @@ {% else %} - - - + + + {% csrf_token %} -- cgit
Chapters With errors Number of errors Delibrate Errors Chapters With errors Number of errors Delibrate Errors