Added custom 404 display and login redirect
This commit is contained in:
		
							
								
								
									
										8
									
								
								ref-test/quiz/templates/quiz/404.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								ref-test/quiz/templates/quiz/404.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
{% extends "quiz/components/base.html" %}
 | 
			
		||||
 | 
			
		||||
{% block content %}
 | 
			
		||||
    <h1>Page Not Found</h1>
 | 
			
		||||
    <p>
 | 
			
		||||
        The page you were looking for does not exist. Try going back and navigating to the desired destination correctly.
 | 
			
		||||
    </p>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
@@ -30,11 +30,11 @@
 | 
			
		||||
                {% include "quiz/components/server-alerts.html" %}
 | 
			
		||||
            {% endblock %}
 | 
			
		||||
            {% block content %}{% endblock %}
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        <footer class="container site-footer">
 | 
			
		||||
            {% include "quiz/components/footer.html" %}
 | 
			
		||||
        </footer>
 | 
			
		||||
            <footer class="container site-footer">
 | 
			
		||||
                {% include "quiz/components/footer.html" %}
 | 
			
		||||
            </footer>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        <!-- JQuery, Popper, and Bootstrap js dependencies -->
 | 
			
		||||
        <script
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user