further components and bootstrap initial
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Controller } from ".";
|
||||
import { Controller } from "./main";
|
||||
|
||||
export class NetworkConfigView {
|
||||
setScanResult(ssidList: SSIDList) {
|
||||
@@ -17,6 +17,8 @@ export class NetworkConfigView {
|
||||
private readonly ssidlist: HTMLElement;
|
||||
|
||||
constructor(controller: Controller, publicIp: string) {
|
||||
(document.getElementById("network_view") as HTMLElement).innerHTML = require('./network.html') as string;
|
||||
|
||||
(document.getElementById("remote_ip") as HTMLElement).innerText = publicIp;
|
||||
|
||||
this.ap_ssid = (document.getElementById("ap_ssid") as HTMLInputElement);
|
||||
|
||||
Reference in New Issue
Block a user