Skip to content

Add dashboard UI, JS, CSS, and template #15

Merged
merged 1 commit into from
Mar 5, 2026
Merged

Commits on Mar 5, 2026

  1. Add dashboard UI, JS, CSS, and template

    Introduce the front-end for the Smart Campus Environmental Monitor: adds a Jinja2 dashboard template (index.html) with stats, live readings table, active alerts panel and a placeholder for historical charts; adds style.css with themed layout, cards, alert and responsive styles; adds dashboard.js to auto-refresh every 30s, update page title with alert count and show last-updated timestamp (contains TODOs for MQTT/Chart.js integration). Also adds a simple requirements.txt with installation instructions for Flask and paho-mqtt (note: the file currently lists commands using `python -m install ...`).
    ezehf2 committed Mar 5, 2026
    Configuration menu
    Copy the full SHA
    b460911 View commit details
    Browse the repository at this point in the history