diff --git a/admin.html b/admin.html new file mode 100644 index 0000000..c688131 --- /dev/null +++ b/admin.html @@ -0,0 +1,242 @@ + + + + + + Curio Central | Mission Control + + + + + + + + +
+
+
+

Platform Command Center

+

Real-time analytics across all registered hospital networks.

+
+
+ + SYSTEM HEALTH: 99.98% +
+
+ +
+
+ Active Hospitals +

12

+
↑ 2 this month
+
+
+ Monthly Revenue +

₹42,50,000

+
↑ 14.5%
+
+
+ Total Patients +

85,420

+
↑ 5.2k
+
+
+ Avg. Performance +

240ms

+
↓ 20ms faster
+
+
+ +
+
+

Hospital Tenants

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Clinic IDNameOwnerPlanStatusActions
#HOSP-001Sharma ClinicDr. SharmaEnterpriseACTIVE
#HOSP-002City Heart HospitalDr. VermaProACTIVE
+
+
+ + diff --git a/backend/server.js b/backend/server.js index 9efe3f2..4bc663b 100644 --- a/backend/server.js +++ b/backend/server.js @@ -9,10 +9,19 @@ app.use(express.json()); // Serve static files app.use(express.static(path.join(__dirname, '../'))); +// Primary Routes app.get('/', (req, res) => { res.sendFile(path.join(__dirname, '../login.html')); }); +app.get('/admin', (req, res) => { + res.sendFile(path.join(__dirname, '../admin.html')); +}); + +app.get('/dashboard', (req, res) => { + res.sendFile(path.join(__dirname, '../dashboard.html')); +}); + // Multi-tenant Config API app.get('/api/config/:tenantId', (req, res) => { const config = configManager.getTenantConfig(req.params.tenantId); diff --git a/billing.html b/billing.html index de2486d..a9a69e6 100644 --- a/billing.html +++ b/billing.html @@ -17,8 +17,8 @@