summaryrefslogtreecommitdiff
path: root/yaksh/templates/404.html
diff options
context:
space:
mode:
authoradityacp2018-02-08 11:48:34 +0530
committeradityacp2018-02-08 11:48:34 +0530
commite1f4ffc3ab43d02115e6c496bf08bea1e52af2ef (patch)
treeb6586cc46fbf38c36850238ba359561dca77cc4e /yaksh/templates/404.html
parent440c18f4e0565e0824d432b01bc2be7b8847e122 (diff)
downloadonline_test-e1f4ffc3ab43d02115e6c496bf08bea1e52af2ef.tar.gz
online_test-e1f4ffc3ab43d02115e6c496bf08bea1e52af2ef.tar.bz2
online_test-e1f4ffc3ab43d02115e6c496bf08bea1e52af2ef.zip
Change in templates
- Show error messages properly in 404.html - Show Lesson and LearningModule active/deactive status in courses.html - Disable home button for student - Add proper redirections and form submissions to edit/view question paper
Diffstat (limited to 'yaksh/templates/404.html')
-rw-r--r--yaksh/templates/404.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/yaksh/templates/404.html b/yaksh/templates/404.html
index e9d99de..d4777f2 100644
--- a/yaksh/templates/404.html
+++ b/yaksh/templates/404.html
@@ -1,7 +1,13 @@
{% extends "base.html" %}
+{% block pagetitle %} <h2>Yaksh</h2> {% endblock %}
+
{% block content %}
+<center>
It seems that you have encountered an error
-Type of Error - {{ exception }}
+<br>
Please contact your administrator
+<br><br>
+<div class="alert alert-danger">Error Message:- {{exception}}</div>
+</center>
{% endblock %}