tweaks to template

This commit is contained in:
Yogesh Ojha
2020-05-13 22:47:13 +05:30
parent 6ee0c0736b
commit 2ea87bc11b
4 changed files with 5 additions and 1 deletions
+1
View File
@@ -4,4 +4,5 @@ from . import views
urlpatterns = [
path('', views.index, name="start_scan"),
path('history/', views.scan_history, name="scan_history"),
]
+3
View File
@@ -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')
+1 -1
View File
@@ -37,7 +37,7 @@
</li>
<li class="menu">
<a href="#" aria-expanded="false" class="dropdown-toggle">
<a href="{% url 'scan_history' %}" aria-expanded="false" class="dropdown-toggle" data-active="{{scan_history_active}}">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-activity"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline></svg>
<span> Scan History</span>