mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-17 23:37:47 +02:00
tweaks to template
This commit is contained in:
@@ -4,4 +4,5 @@ from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.index, name="start_scan"),
|
||||
path('history/', views.scan_history, name="scan_history"),
|
||||
]
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user