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
(limited to 'tbc_error_page/templates')
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
From f8c6f438d8128a45ceb8c6a76edb8b33c8c9fe8e Mon Sep 17 00:00:00 2001
From: mahesh
Date: Fri, 1 Apr 2016 11:55:46 +0530
Subject: changed ui
---
tbc_error_page/templates/broken.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'tbc_error_page/templates')
diff --git a/tbc_error_page/templates/broken.html b/tbc_error_page/templates/broken.html
index 41449cd..e25395e 100644
--- a/tbc_error_page/templates/broken.html
+++ b/tbc_error_page/templates/broken.html
@@ -4,7 +4,7 @@
{% if not broken %}
There are no new comments
{% else %}
- TBC Error Page
+ TBC Broken Links Page
Hi {{user}}
TBC Error Status Page
--
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/broken.html | 2 +-
tbc_error_page/templates/error.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
(limited to 'tbc_error_page/templates')
diff --git a/tbc_error_page/templates/broken.html b/tbc_error_page/templates/broken.html
index e25395e..1b7a05f 100644
--- a/tbc_error_page/templates/broken.html
+++ b/tbc_error_page/templates/broken.html
@@ -17,7 +17,7 @@
{% for broken_data in broken %}
{{ forloop.counter }} |
- {{ broken_data.broken_url }} |
+ {{ broken_data.broken_url }} |
{{ broken_data.error_status }} error |
{% endfor %}
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')
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')
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 %}
- Chapters With errors |
- Number of errors |
- Delibrate Errors |
+ Chapters With errors |
+ Number of errors |
+ Delibrate Errors |
|