* Show the credentials management modal
()
| 20481 | ${ipLabel} |
| 20482 | </div> |
| 20483 | </div> |
| 20484 | `; |
| 20485 | }; |
| 20486 | |
| 20487 | let listMarkup = '<div class="text-[11px] uppercase tracking-wide text-gray-400">Connected Adapters</div>'; |
| 20488 | if (connectedAdapters.length > 0) { |
| 20489 | listMarkup += connectedAdapters.map(iface => renderRow(iface, true)).join(''); |
| 20490 | } else { |
| 20491 | listMarkup += '<div class="text-xs text-gray-500">No active Wi-Fi connections</div>'; |
| 20492 | } |
| 20493 | |
| 20494 | if (offlineAdapters.length > 0) { |
| 20495 | listMarkup += '<div class="text-[11px] uppercase tracking-wide text-gray-400 mt-3 border-t border-slate-700 pt-2">Other Adapters</div>'; |
| 20496 | listMarkup += offlineAdapters.map(iface => renderRow(iface, false)).join(''); |
| 20497 | } |
| 20498 | |
| 20499 | connectedList.innerHTML = listMarkup; |
| 20500 | connectedList.classList.remove('hidden'); |
| 20501 | } |
| 20502 |
nothing calls this directly
no test coverage detected