From 56845b1b3b08c56e79a61e7d44f9e1fd11dc0348 Mon Sep 17 00:00:00 2001 From: Nguyen Ngo Date: Sat, 2 Aug 2025 20:53:23 -0400 Subject: [PATCH] Clean up the UI --- static/js/attendance_report.js | 139 ------------------------------- templates/attendance_report.html | 103 +---------------------- templates/dashboard.html | 10 +-- 3 files changed, 2 insertions(+), 250 deletions(-) diff --git a/static/js/attendance_report.js b/static/js/attendance_report.js index 7415ff5..3947266 100644 --- a/static/js/attendance_report.js +++ b/static/js/attendance_report.js @@ -379,17 +379,6 @@ function createTableRow(record, displayIndex) {
- - -
-
-
-
-
- -
-
-

{{ stats.total_checkins or 0 }}

-

Total Check-ins

- All time -
-
- -
-
- -
-
-

{{ stats.unique_employees or 0 }}

-

Unique Employees

- Have checked in -
-
- -
-
- -
-
-

{{ stats.active_locations or 0 }}

-

Active Locations

- QR codes deployed -
-
- -
-
- -
-
-

{{ stats.today_checkins or 0 }}

-

Today's Check-ins

- {{ current_date_formatted }} -
-
- - -
-
- -
-
-

{{ stats.records_with_gps or 0 }}

-

GPS Records

- Location captured -
-
- - - {% if has_location_accuracy_feature %} -
-
- -
-
-

{{ "%.2f"|format(stats.avg_location_accuracy or 0) }}mi

-

Avg. Location Accuracy

- Distance precision -
-
- {% else %} -
-
- -
-
-

GPS

-

Tracking Mode

- Current system -
-
- {% endif %} -
-
+
@@ -331,24 +248,6 @@
- - {% if record.has_location_data %} - - {% else %} - - {% endif %}
-
-
- -
-
-

{{ total_users or 0 }}

-

Total Users

-
-
+