Admin Panel

Lifting Appointed Person Training
Enter your PIN to continue

Default PIN: 1234

Dashboard

Learner progress & statistics

Cloudflare D1 Phase 2 ● Live
Sections Completed
in this browser
Total Sections
across 4 days
Course Progress
overall completion
Content Overrides
active in IndexedDB

Day-by-Day Progress

Recent Activity

💡 Database Roadmap
  • Content/quiz edits now save to Cloudflare D1 (cloud database).
  • Changes persist across all browsers and devices.
  • Enter your Admin Token in Settings to enable cloud saves.
ℹ️ Edits are saved to IndexedDB and override the default JS content files without redeploying. Use Reset to Default to revert a day.
Loading content…
Default

📦 Full Backup

Export all content overrides, quiz overrides, settings, and learner progress as a single JSON file.

📝 Content Overrides Only

Export only the training section content overrides stored in IndexedDB.

❓ Quiz Overrides Only

Export only the quiz question overrides stored in IndexedDB.

📂 Import from File

Import a previously exported JSON backup. Merges with existing data (does not delete).

📋 Phase 2 Note: When migrating to Cloudflare D1, use the Full Backup export to seed the D1 database via the Cloudflare Dashboard SQL editor.

🔒 Security

Admin PIN

Current PIN: ••••

Cloudflare Access

Protect /admin.html at the CDN level (recommended for production)

Open Dashboard ↗

🔑 D1 Admin Token

Token for saving content to the D1 cloud database. Set AP_ADMIN_TOKEN in Cloudflare dashboard.

🗄️ Database

Database Info

View IndexedDB store sizes and record counts

Clear Content Overrides

Revert all training sections to JavaScript file defaults

Clear Progress Data

Reset all learner progress stored in localStorage

🗺️ Database Roadmap

✅ Phase 1 — IndexedDB (Active)

In-browser storage. Zero setup. Works offline. Per-browser only.

Current

🔜 Phase 2 — Cloudflare D1

Edge SQLite. Free tier 5GB / 25M reads/day. Shared across users.

Docs ↗

🔮 Phase 3 — PocketBase / Supabase / Coolify

Self-hosted, full auth, multi-user, real-time. Deploy on any VPS.

PocketBase ↗

🔗 Links

Main Training App

Return to the learner-facing app

Open ↗

AliLMS Platform

Visit the AliLMS homepage

Open ↗

Documentation

ADMIN-GUIDE.md and ARCHITECTURE.md

GitHub Docs ↗