embedded webui + config modification detection (#240)

* implement embedded webui

* add detection for changed config, later on used for restart hyperion
This commit is contained in:
redPanther
2016-09-14 13:51:28 +02:00
committed by GitHub
parent ccc50899fb
commit 1cc2f72fa2
16 changed files with 103 additions and 30 deletions

View File

@@ -1,13 +1,13 @@
function bindNavToContent(containerId, fileName, loadNow)
{
$("#page-wrapper").off();
$("#page-content").off();
$(containerId).on("click", function() {
$("#page-wrapper").load("/content/"+fileName+".html");
$("#page-content").load("/content/"+fileName+".html");
});
if (loadNow)
{
$("#page-wrapper").load("/content/"+fileName+".html");
$("#page-content").load("/content/"+fileName+".html");
}
}