Update public source
This commit is contained in:
+13
-16
@@ -705,16 +705,19 @@ def generate_dashboard(
|
||||
|
||||
html = page_begin(
|
||||
|
||||
title="WiFi GPS Mapper",
|
||||
title="Dashboard",
|
||||
|
||||
description=(
|
||||
"Database overview"
|
||||
"Overview of collected Wi-Fi data, access points, "
|
||||
"capture sessions, and vendors."
|
||||
),
|
||||
|
||||
active="dashboard",
|
||||
|
||||
context=context,
|
||||
|
||||
section_title="Reports",
|
||||
|
||||
)
|
||||
|
||||
# --------------------------------------------------------
|
||||
@@ -813,28 +816,22 @@ def generate_capture_sessions(
|
||||
|
||||
html = page_begin(
|
||||
|
||||
title="Capture Sessions",
|
||||
title="🚗 Capture Sessions",
|
||||
|
||||
description="All capture sessions",
|
||||
description=f"""
|
||||
All capture sessions
|
||||
<br>
|
||||
Total sessions: <b>{len(sessions)}</b>
|
||||
""",
|
||||
|
||||
active="capture_sessions",
|
||||
|
||||
context=context,
|
||||
|
||||
section_title="Reports",
|
||||
|
||||
)
|
||||
|
||||
html += page_header(
|
||||
|
||||
"🚗 Capture Sessions",
|
||||
|
||||
f"""
|
||||
|
||||
Total sessions:
|
||||
|
||||
<b>{len(sessions)}</b>
|
||||
|
||||
"""
|
||||
)
|
||||
|
||||
cards = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user