mirror of
https://github.com/DigitalDevices/octonet.git
synced 2023-10-10 13:36:52 +02:00
HTML style changes
To test migrating to HTML5
This commit is contained in:
parent
e65fb9aaab
commit
63458efe13
@ -1,5 +1,5 @@
|
||||
|
||||
//
|
||||
//
|
||||
|
||||
MenuItems = new Array();
|
||||
|
||||
@ -10,27 +10,27 @@ MenuItems[0].Link = "index.html";
|
||||
MenuItems[1] = new Object();
|
||||
MenuItems[1].Text = "Browser TV";
|
||||
MenuItems[1].Link = "browsertv.html";
|
||||
|
||||
|
||||
MenuItems[2] = new Object();
|
||||
MenuItems[2].Text = "Stream Status";
|
||||
MenuItems[2].Link = "streamstatus.html";
|
||||
|
||||
|
||||
MenuItems[3] = new Object();
|
||||
MenuItems[3].Text = "Tuner Status";
|
||||
MenuItems[3].Link = "tunerstatus.html";
|
||||
|
||||
|
||||
MenuItems[4] = new Object();
|
||||
MenuItems[4].Text = "Unicable Settings";
|
||||
MenuItems[4].Link = "scif.html";
|
||||
|
||||
|
||||
MenuItems[5] = new Object();
|
||||
MenuItems[5].Text = "LNB Settings";
|
||||
MenuItems[5].Link = "lnbsettings.html";
|
||||
|
||||
|
||||
MenuItems[6] = new Object();
|
||||
MenuItems[6].Text = "System Settings";
|
||||
MenuItems[6].Link = "system.html";
|
||||
|
||||
|
||||
MenuItems[7] = new Object();
|
||||
MenuItems[7].Text = "Multicast Setup";
|
||||
MenuItems[7].Link = "multicast.html";
|
||||
@ -38,7 +38,7 @@ MenuItems[7].Link = "multicast.html";
|
||||
MenuItems[8] = new Object();
|
||||
MenuItems[8].Text = "Channel Lists";
|
||||
MenuItems[8].Link = "channellists.html";
|
||||
|
||||
|
||||
MenuItems[9] = new Object();
|
||||
MenuItems[9].Text = "Update";
|
||||
MenuItems[9].Link = "update.html";
|
||||
@ -62,7 +62,7 @@ MenuItems[12].Link = "licenses.html";
|
||||
|
||||
function CreateMenu()
|
||||
{
|
||||
document.write('<table class="menutable" align="center">');
|
||||
document.write('<table class="menutable">');
|
||||
for(i = 0; i < MenuItems.length; i++ )
|
||||
{
|
||||
if( document.URL.indexOf(MenuItems[i].Link) < 0 )
|
||||
@ -83,18 +83,18 @@ if( navigator.appVersion.indexOf("MSIE") >= 0 )
|
||||
browserType = "MSIE";
|
||||
else
|
||||
browserType = "Netscape";
|
||||
|
||||
|
||||
if( browserType == "MSIE" )
|
||||
browserLanguage = navigator.browserLanguage.substr(0,2);
|
||||
else if( browserType == "Netscape" )
|
||||
{
|
||||
var nplat = navigator.platform.toLowerCase();
|
||||
browserLanguage = navigator.language.substr(0,2);
|
||||
if( nplat.indexOf("win") == 0 )
|
||||
if( nplat.indexOf("win") == 0 )
|
||||
browserPlatform = "win";
|
||||
else if( nplat.indexOf("linux") >= 0 )
|
||||
else if( nplat.indexOf("linux") >= 0 )
|
||||
browserPlatform = "linux";
|
||||
else if( nplat.indexOf("ipad") >= 0 )
|
||||
else if( nplat.indexOf("ipad") >= 0 )
|
||||
browserPlatform = "ipad";
|
||||
}
|
||||
|
||||
|
@ -10,6 +10,8 @@ body {
|
||||
background-color:#FFFFFF;
|
||||
text-align:center;
|
||||
border:0;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.maintd {
|
||||
@ -23,6 +25,8 @@ body {
|
||||
border:5px;
|
||||
width:95%;
|
||||
font-size:120%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.menucur {
|
||||
@ -33,6 +37,12 @@ body {
|
||||
.menutable a:link { text-decoration:none; color:#000000; }
|
||||
.menutable a:visited { text-decoration:none; color:#000000; }
|
||||
|
||||
|
||||
.center-div {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.content {
|
||||
color:#000000;
|
||||
background-color:#FFFFF0;
|
||||
|
Loading…
Reference in New Issue
Block a user