(update)
| 11210 | <td class="py-3 px-4">${statusIcon}</td> |
| 11211 | <td class="py-3 px-4 font-mono text-sm">${host.ip}</td> |
| 11212 | <td class="py-3 px-4">${host.hostname || 'Unknown'}</td> |
| 11213 | <td class="py-3 px-4 font-mono text-xs">${macDisplay}</td> |
| 11214 | <td class="py-3 px-4"> |
| 11215 | <span class="text-xs px-2 py-1 bg-gray-600 rounded">Scanning...</span> |
| 11216 | </td> |
| 11217 | <td class="py-3 px-4"> |
| 11218 | <span class="text-xs px-2 py-1 bg-gray-600 rounded">Checking...</span> |
| 11219 | </td> |
| 11220 | <td class="py-3 px-4 text-sm text-gray-400">${new Date().toLocaleTimeString()}</td> |
| 11221 | <td class="py-3 px-4"> |
| 11222 | <div class="flex space-x-2"> |
| 11223 | ${sourceIcon} |
| 11224 | <button onclick="scanSingleHostEnhanced('${host.ip}')" |
| 11225 | class="text-xs px-2 py-1 bg-Ragnar-600 hover:bg-Ragnar-700 rounded transition-colors"> |
| 11226 | Scan |
| 11227 | </button> |
| 11228 | </div> |
| 11229 | </td> |
| 11230 | `; |
| 11231 | |
| 11232 | tableBody.appendChild(row); |
| 11233 | }); |
| 11234 | |
| 11235 | // Update host count |
| 11236 | if (hostCountSpan) { |
| 11237 | hostCountSpan.textContent = `${hostArray.length} hosts`; |
| 11238 | } |
no test coverage detected