From 4587bdb14414dce2e3429eb49ee0138f83de0228 Mon Sep 17 00:00:00 2001 From: wagesj45 Date: Thu, 17 Sep 2026 18:09:35 -0500 Subject: [PATCH] Vendor dashboard frontend assets --- README.md | 2 +- app/static/index.html | 14 ++++++++++++-- app/static/vendor/bulma.min.css | 3 +++ app/static/vendor/chart.umd.min.js | 20 ++++++++++++++++++++ 4 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 app/static/vendor/bulma.min.css create mode 100644 app/static/vendor/chart.umd.min.js diff --git a/README.md b/README.md index 31413df..3c6eaec 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ python3 -m venv .venv pip install -r requirements.txt ``` -The dashboard uses Bulma and Chart.js from their public CDNs. For an offline deployment, vendor those two assets and update `app/static/index.html`. +Bulma and Chart.js are vendored under `app/static/vendor`, so the dashboard does not require browser access to a public CDN. ## Nginx log format diff --git a/app/static/index.html b/app/static/index.html index 969e679..06fb296 100644 --- a/app/static/index.html +++ b/app/static/index.html @@ -3,7 +3,7 @@ Nginx Live Traffic Monitor - +