diff --git a/base.css b/base.css index f3a247a..8f98c1b 100644 --- a/base.css +++ b/base.css @@ -55,4 +55,7 @@ div.statok { div.statfail { color: #ff5030; } +div.statwarn { + color: #ffe550; +} diff --git a/base.js b/base.js index 0b25cfe..1ce8be0 100644 --- a/base.js +++ b/base.js @@ -78,7 +78,7 @@ function menuSelect(i) { function showStatus(succss, txt) { var elem = document.getElementById('status'); - elem.className = succss ? 'statok' : 'statfail'; + elem.className = succss===2 ? 'statwarn' : (succss ? 'statok' : 'statfail'); if (!txt) { elem.innerHTML = ''; return; diff --git a/clientssl/index.php b/clientssl/index.php index 77a1f7e..fd2bf66 100644 --- a/clientssl/index.php +++ b/clientssl/index.php @@ -62,7 +62,7 @@ function performauth() { if (authok) { document.location.href = 'finalcheck.php'; } else { - showStatus(false, 'Client SSL certificate verification failed.'); + showStatus(2, 'Client SSL certificate verification failed. As this certificate is not mandatory, this might be expected.'); setInstr(logtxt); } }; diff --git a/configuration/index.php b/configuration/index.php index 27e6894..9c3f814 100644 --- a/configuration/index.php +++ b/configuration/index.php @@ -40,7 +40,7 @@ function runStep(name) { return; } if (name.length>8 && name.substring(0, 8)==='localSys' && !oipfcfg.localSystem) { - showStatus(false, 'Cannot find .localSystem in application/oipfConfiguration'); + showStatus(2, 'Cannot find .localSystem in application/oipfConfiguration. As this attribute is not mandatory in HbbTV, this might be expected.'); return; } var config = oipfcfg.configuration; diff --git a/videocontrol/index.php b/videocontrol/index.php index 27246e5..9c23f2b 100644 --- a/videocontrol/index.php +++ b/videocontrol/index.php @@ -98,7 +98,7 @@ function checkPlaySpeed(fact) { showStatus(true, 'Video playback speed should now be '+fact); } else { var addmsg = (fact==0||fact==1) ? '' : '. Note: test is OK even though this test failed, as feature is not mandatory.'; - showStatus(addmsg, 'Setting speed succeeded, but reported speed is '+vid.speed+addmsg); + showStatus(addmsg?2:false, 'Setting speed succeeded, but reported speed is '+vid.speed+addmsg); } } function gotoPos(scnds) {