From ba5f921305c4b6a5b3d528fd398fa99fdf17810b Mon Sep 17 00:00:00 2001 From: Noah Cussatti Date: Fri, 27 Oct 2023 16:42:00 -0400 Subject: [PATCH 1/3] Create 404.html Created a 404 page that has a button to lead back home --- ACMAS/app/ACMAS_Web/templates/404.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ACMAS/app/ACMAS_Web/templates/404.html diff --git a/ACMAS/app/ACMAS_Web/templates/404.html b/ACMAS/app/ACMAS_Web/templates/404.html new file mode 100644 index 0000000..5903520 --- /dev/null +++ b/ACMAS/app/ACMAS_Web/templates/404.html @@ -0,0 +1,21 @@ +{% extends '_base.html' %} +{% load component_tags %} + +{% block title %}Not Found{% endblock %} + +{% block content %} +
+ + + + {% component "button" text="Back to Home" component_type="primary" value="" %} + +
+{% endblock content %} From 2e9698c3d976963071b1fde81b8b10f9a4afba18 Mon Sep 17 00:00:00 2001 From: Noah Cussatti Date: Tue, 14 Nov 2023 16:20:50 -0500 Subject: [PATCH 2/3] Update 404.html --- ACMAS/app/ACMAS_Web/templates/404.html | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/ACMAS/app/ACMAS_Web/templates/404.html b/ACMAS/app/ACMAS_Web/templates/404.html index 5903520..5886326 100644 --- a/ACMAS/app/ACMAS_Web/templates/404.html +++ b/ACMAS/app/ACMAS_Web/templates/404.html @@ -4,7 +4,26 @@ {% block title %}Not Found{% endblock %} {% block content %} -
+
+
+
+
+ + + + {% component "button" text="Back to Home" component_type="primary" value="" %} + +
+
+
+{% comment %}
404 @@ -17,5 +36,5 @@ {% component "button" text="Back to Home" component_type="primary" value="" %} -
+
{% endcomment %} {% endblock content %} From cefe552862e87a502cda9340f796d5f102c903a7 Mon Sep 17 00:00:00 2001 From: Noah Cussatti Date: Tue, 14 Nov 2023 16:27:53 -0500 Subject: [PATCH 3/3] Update 404.html --- ACMAS/app/ACMAS_Web/templates/404.html | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/ACMAS/app/ACMAS_Web/templates/404.html b/ACMAS/app/ACMAS_Web/templates/404.html index 5886326..ac8647f 100644 --- a/ACMAS/app/ACMAS_Web/templates/404.html +++ b/ACMAS/app/ACMAS_Web/templates/404.html @@ -16,25 +16,10 @@ We couldn't find
this page
- {% component "button" text="Back to Home" component_type="primary" value="" %} -{% comment %}
- - - - {% component "button" text="Back to Home" component_type="primary" value="" %} - -
{% endcomment %} {% endblock content %}