Detected sensors will be shown on the web
Former-commit-id: 6c942025a7ad2c8567ae4db97194ba9fef1a6611
This commit is contained in:
parent
26810e9b2c
commit
1ab72ffbc3
2 changed files with 30 additions and 4 deletions
|
|
@ -120,8 +120,9 @@ public class PCConfigureHttpPage extends HalHttpPage {
|
|||
// Output
|
||||
Templator tmpl = new Templator(FileUtil.find("web-resource/configure.tmpl"));
|
||||
tmpl.set("user", localUser);
|
||||
tmpl.set("localSensor", Sensor.getLocalSensors(db));
|
||||
tmpl.set("localSensors", Sensor.getLocalSensors(db));
|
||||
tmpl.set("localSensorConf", sensorConfigurations);
|
||||
tmpl.set("detectedSensors", ControllerManager.getInstance().getDetectedSensors());
|
||||
tmpl.set("extUsers", User.getExternalUsers(db));
|
||||
tmpl.set("extSensor", Sensor.getExternalSensors(db));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue