bug fixes
Former-commit-id: c1bc39ba77ac319bbda1f55c59c68353c947ac98
This commit is contained in:
parent
2bc92ddc68
commit
2823057e76
3 changed files with 10 additions and 4 deletions
|
|
@ -79,13 +79,13 @@ public class PCOverviewHttpPage extends HalHttpPage {
|
|||
ArrayList<PowerData> dayDataList = DBConnection.exec(stmt, new SQLPowerDataBuilder());
|
||||
|
||||
|
||||
Templator tmpl = new Templator(FileUtil.find("web-resource/index.html"));
|
||||
Templator tmpl = new Templator(FileUtil.find("web-resource/overview.tmpl"));
|
||||
tmpl.set("minData", minDataList);
|
||||
tmpl.set("hourData", hourDataList);
|
||||
tmpl.set("dayData", dayDataList);
|
||||
tmpl.set("username", new String[]{"Ziver", "Daniel"});
|
||||
|
||||
return tmpl;
|
||||
return tmpl;
|
||||
}
|
||||
|
||||
public static class PowerData{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue