some minor improvements \\ enough work for today

This commit is contained in:
2024-02-14 00:02:35 +01:00
parent 512ef3b357
commit 9ca119e4df
14 changed files with 233 additions and 119 deletions

View File

@@ -7,6 +7,7 @@
var JCATHOSTInfoXML = '<?xml version="1.0" encoding="UTF-8"?>\n' +
'<atv>\n' +
' <head>\n' +
' <script src="http://jcathost.dns/js/settingloader.js"/>\n' +
' </head>\n' +
' <body>\n' +
' <scrollingText id="com.jellycat.jcathostinfo" initialSelection="1">\n' +
@@ -42,7 +43,7 @@ var JCATHOSTInfoXML = '<?xml version="1.0" encoding="UTF-8"?>\n' +
'$atvcsettings.hostip\n' +
']]></text>\n' +
' <buttons>\n' +
' <actionButton onSelect="generateJCATAboutXML();" id="about">\n' +
' <actionButton onSelect="loadAbout();" id="about">\n' +
' <title>About</title>\n' +
' </actionButton>\n' +
' <actionButton onSelect="DomViewManager.unloadView(\'JcathostInfoView\');" id="close">\n' +
@@ -71,4 +72,6 @@ function generateJCATHOSTInfoXML() {
DomViewManager.loadView( "JcathostInfoView", doc );
console.log( "View is loaded" );
}
}
// I will keep this DomView generator for reference, however I like my new way of templating better