summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorM. Voerman <rekordc@gmail.com>2014-05-17 13:20:21 +0200
committerM. Voerman <rekordc@gmail.com>2014-05-17 13:20:21 +0200
commit7e485fc6241573026091a8ebe500c6989816799a (patch)
tree2ee8b9ed4fbf6b598e176b34a1a86194aa874ed0
parentcaef409ec2f45c291063428cc1c2501af0fcabf5 (diff)
downloadvdr-vipclient-7e485fc6241573026091a8ebe500c6989816799a.tar.gz
vdr-vipclient-7e485fc6241573026091a8ebe500c6989816799a.tar.bz2
split the info menu into box info (menu yellow) & info about settings (menu 1 - yellow)
-rw-r--r--History1
-rw-r--r--index.html45
2 files changed, 32 insertions, 14 deletions
diff --git a/History b/History
index 688c177..113663f 100644
--- a/History
+++ b/History
@@ -15,6 +15,7 @@ VDR 1.7.29 / 2.1.1
Added Group 10 (channels >10000) for favorite
key @ switch to favorite list
key >@ add to favorite list
+ split the info menu into box info (menu yellow) & info about settings (menu 1 - yellow)
diff --git a/index.html b/index.html
index ae17abf..ac8391c 100644
--- a/index.html
+++ b/index.html
@@ -2320,7 +2320,11 @@ function onKeyMenu(keyCode) {
if (menu == MainMenu) {
menu = 4; // INFO menu
InitMenu(menu);
+ } else if (menu == 1) {
+ menu = 9; // INFO2 menu
+ InitMenu(menu);
}
+
break;
case "Blue":
if (menu == 0) {
@@ -2625,7 +2629,7 @@ if(menu == 1) { // settings menu
htmltext += "\n\n <font style='color:red;'>\u25CF<font style='" + color_main_font + ";'> -" + Lang[20];
htmltext += "<font style='color:green;'>\u25CF<font style='" + color_main_font + ";'> - " + VideoOutputModes_txt[VideoOutputModes[Set_Res]] + " ";
- htmltext += "<font style='color:yellow;'>\u25CF<font style='" + color_main_font + ";'> -" + Lang[19];
+ htmltext += "<font style='color:yellow;'>\u25CF<font style='" + color_main_font + ";'> -" + Lang[35];
htmltext += "<font style='color:blue;'>\u25CF<font style='" + color_main_font + ";'> -" + Lang[19] +"</pre>";
// htmltext += "\n 0 -" + Lang[9] +"</pre>";
mainmenu.innerHTML = htmltext;
@@ -2670,7 +2674,6 @@ if(menu == 4) { // INFO Menu
htmltext += "\n Product name: " + is.getObject("config.productdisplayname");
htmltext += "\n Build date : " + is.getObject("config.build.date");
htmltext += "\n\n IP address : " + is.getObject("config.ipaddress");
-// htmltext += "\n VDR address : " + server_ip + "\n";
var x = is.getObject("cfg.ip.eth0.mode");
if (x == "DHCP") { htmltext += "\n \uE017 "; } else { htmltext += "\n \uE016 "; }
@@ -2678,18 +2681,9 @@ if(menu == 4) { // INFO Menu
var x = is.getObject("var.capabilities.dvr");
if (x !== "FALSE") { htmltext += "\n \uE017 "; } else { htmltext += "\n \uE016 "; }
htmltext += "DVR ";
- if (fullupdate !== 0) { htmltext += "\n \uE017 "; } else { htmltext += "\n \uE016 "; }
- htmltext += "Full EPG Update ";
-
- experimental = Number(is.getObject("vip.testing"));
- if (experimental) { htmltext += "\n \uE017 "; } else { htmltext += "\n \uE016 "; }
- htmltext += "Experimental";
- if (Number(is.getObject("vip.testing2"))) { htmltext += "\n \uE017 "; } else { htmltext += "\n \uE016 "; }
- htmltext += "Experimental 2";
- if (Number(is.getObject("vip.getmarks"))) { htmltext += "\n \uE017 "; } else { htmltext += "\n \uE016 "; }
- htmltext += "getmarks 1 = smarttvweb, 0 = restfulapi";
-
-
+ htmltext += "\n\n VDR address : " + server_ip;
+ htmltext += "\n Version : " + Version;
+// htmltext += "\n VDR address : " + server_ip + "\n";
} catch(e) {
alert("Error : " + e);
@@ -2747,6 +2741,29 @@ if(menu == 8) { // ChannelGroups enable/disable
mainmenu.innerHTML = htmltext;
}
+if(menu == 9) { // INFO2 Menu
+ var htmltext = "<h1><center style='font-size:" + fsMenuMain + ";" + color_main_head + ";'>" + Lang[35] + "</center></h1><pre style='" + color_main_font + ";font-size:" + fsMenu + ";'>";
+ try {
+ is = toi.informationService;
+
+ if (fullupdate !== 0) { htmltext += "\n \uE017 "; } else { htmltext += "\n \uE016 "; }
+ htmltext += "Full EPG Update ";
+
+ experimental = Number(is.getObject("vip.testing"));
+ if (experimental) { htmltext += "\n \uE017 "; } else { htmltext += "\n \uE016 "; }
+ htmltext += "Experimental";
+ if (Number(is.getObject("vip.testing2"))) { htmltext += "\n \uE017 "; } else { htmltext += "\n \uE016 "; }
+ htmltext += "Experimental 2";
+ htmltext += "\n getmarks from";
+ if (Number(is.getObject("vip.getmarks"))) { htmltext += " smarttvweb "; } else { htmltext += " restfulapi "; }
+
+ } catch(e) {
+ alert("Error : " + e);
+ }
+ htmltext += "\n\n 0 -" + Lang[9] + "</pre>";
+ mainmenu.innerHTML = htmltext;
+
+}
} // end of initmenu