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/broken.html | 28 ++++++++++++++++++++++
tbc_error_page/templates/deliberate.html | 17 +++++++++++++
tbc_error_page/templates/error.html | 41 ++++++++++++++++++++++++++++++++
3 files changed, 86 insertions(+)
create mode 100644 tbc_error_page/templates/broken.html
create mode 100644 tbc_error_page/templates/deliberate.html
create mode 100644 tbc_error_page/templates/error.html
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 %}
+
There are no new comments
+ {% else %}
+ TBC Error Page
+ Hi {{user}}
+ TBC Error Status Page
+
+
+
+ Sr no. |
+ Broken Urls |
+ HTTP status error code |
+
+ {% for broken_data in broken %}
+
+ {{ forloop.counter }} |
+ {{ broken_data.broken_url }} |
+ {{ broken_data.error_status }} error |
+
+ {% endfor %}
+
+
+{% endif %}
+
+{% endblock %}
diff --git a/tbc_error_page/templates/deliberate.html b/tbc_error_page/templates/deliberate.html
new file mode 100644
index 0000000..89a8974
--- /dev/null
+++ b/tbc_error_page/templates/deliberate.html
@@ -0,0 +1,17 @@
+{% extends "base.html" %}
+{% block title %} Success {% endblock %}
+{% block content %}
+ You have added following urls as deliberate
+
+Urls |
+
+{% for deliberate_links in deliberate %}
+
+ {{ deliberate_links }} |
+
+
+{% endfor %}
+
+
+ <<< Go back to Error Page
+{% endblock %}
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 %}
+
+
+ Chapters With errors |
+ Number of errors |
+ Delibrate Errors |
+
+
+
+
+
+{% endif %}
+{% endblock %}
--
cgit