From 462d85b4e6922b7a7e8fee3e09c6cddb85588f2e Mon Sep 17 00:00:00 2001 From: Yogesh Ojha Date: Sun, 2 May 2021 08:31:26 +0530 Subject: [PATCH] Scan Summary scan status badge --- .../templates/startScan/detail_scan.html | 46 ++++++++++--------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/startScan/templates/startScan/detail_scan.html b/startScan/templates/startScan/detail_scan.html index b045fb85..f5bc38c5 100644 --- a/startScan/templates/startScan/detail_scan.html +++ b/startScan/templates/startScan/detail_scan.html @@ -168,9 +168,30 @@ Detailed Scan Results for {{history.domain_name}}
-

- -

+
+
+
Scan Status
+
+ {% if history.scan_status == -1 %} +
Pending
+ {% elif history.scan_status == 0 %} +
Failed
+ {% elif history.scan_status == 1 %} +
Scanning
+ {% elif history.scan_status == 2 %} +
Completed
+ {% elif history.scan_status == 3 %} +
Aborted
+ {% else %} +
Unknown
+ {% endif %} +
+
+
+
Scan Duration
+
00:35 minutes
+
+
{% if history.scan_status == -1 %} @@ -196,25 +217,6 @@ Detailed Scan Results for {{history.domain_name}} {% endif %}
-
-
-

3 Days Left

-
-
-
- +6 -
-
- avatar -
-
- avatar -
-
- avatar -
-
-