19 lines
453 B
TypeScript
19 lines
453 B
TypeScript
import template = require('text!./page-firmware.html');
|
|
import ko = require('knockout');
|
|
import stairs = require('stairs');
|
|
|
|
class FirmwareController
|
|
{
|
|
// public Stairs = stairs.Stairs.instance();
|
|
public Host = ko.observable(location.hostname);
|
|
public Port = ko.observable(location.port);
|
|
public Path = ko.observable("/updateFirmware");
|
|
|
|
|
|
public updateFirmware = () =>
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
export = { viewModel: FirmwareController, template: template }; |