diff --git a/index.html b/index.html index b9a2032..d06d00a 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - IT Site Survey AI | Network Infrastructure Planning + IT Site Survey AI +
- +

IT Site Survey AI

-

AI-powered network infrastructure planning & recommendations

+

Network Infrastructure Planning & Analysis

@@ -482,14 +291,16 @@ n .btn-secondary {
-
-

📋 Site Surveys

+
+

📋 Site Surveys

+ +
Loading surveys...
@@ -500,6 +311,8 @@ n .btn-secondary {

➕ Create New Site Survey

+ +
@@ -521,72 +334,39 @@ n .btn-secondary {
-
- -
-
+
- -
-
-
-

Site Survey

- -
- - -
-

- 📷 Site Photos - 0 photos -

- -
- -
- -
📷
-
- Click to upload or drag and drop
- JPG, PNG, WebP • Multiple files allowed -
-
+
+

📷 Site Photos

+
+
+ +
📷
+
Click to upload or drag and drop
+ JPG, PNG, WebP • Multiple files allowed
+
-
- - -
- - -
- - - ⚫ Offline -
+
+ + +
+
+
-
+

🤖 AI Analysis & Recommendations

Generate AI-powered network infrastructure recommendations based on survey responses.

- - - -
- + @@ -599,398 +379,108 @@ n .btn-secondary {
- - - - - - - + // Load models + async function loadModels() { + try { + const resp = await fetch('/api/models'); + const data = await resp.json(); + availableModels = data.models || []; + defaultModel = data.default || 'llava:latest'; + + const analyzeSelect = document.getElementById('analyzeModelSelect'); + analyzeSelect.innerHTML = availableModels.map(m => + `` + ).join(''); + + } catch (e) { + console.error('Failed to load models:', e); + } + } +