diff --git a/startScan/templates/startScan/history.html b/startScan/templates/startScan/history.html new file mode 100644 index 00000000..e69de29b diff --git a/startScan/urls.py b/startScan/urls.py index f50a1c18..4c206f2e 100644 --- a/startScan/urls.py +++ b/startScan/urls.py @@ -4,4 +4,5 @@ from . import views urlpatterns = [ path('', views.index, name="start_scan"), + path('history/', views.scan_history, name="scan_history"), ] diff --git a/startScan/views.py b/startScan/views.py index 1ada754a..304f743f 100644 --- a/startScan/views.py +++ b/startScan/views.py @@ -7,3 +7,6 @@ from django.urls import reverse def index(request): return render(request, 'startScan/index.html') + +def scan_history(request): + return render(request, 'startScan/history.html') diff --git a/templates/base/_items/sidebar.html b/templates/base/_items/sidebar.html index fce3b81e..25275324 100644 --- a/templates/base/_items/sidebar.html +++ b/templates/base/_items/sidebar.html @@ -37,7 +37,7 @@