Updated log window contents.

This commit is contained in:
ha7ilm 2016-03-21 10:09:06 +01:00
parent c0e364cd44
commit bda8b11811
2 changed files with 12 additions and 5 deletions

View File

@ -119,10 +119,8 @@
<div class="openwebrx-panel" id="openwebrx-panel-log" data-panel-name="debug" data-panel-pos="left" data-panel-order="1" data-panel-size="619,142"> <div class="openwebrx-panel" id="openwebrx-panel-log" data-panel-name="debug" data-panel-pos="left" data-panel-order="1" data-panel-size="619,142">
<div class="openwebrx-panel-inner" id="openwebrx-log-scroll"> <div class="openwebrx-panel-inner" id="openwebrx-log-scroll">
<div id="openwebrx-client-log-title">OpenWebRX (beta) client log<span style="color: #ff5900;"></span> </strong><span id="openwebrx-problems"></span></div> <div id="openwebrx-client-log-title">OpenWebRX client log</strong><span id="openwebrx-problems"></span></div>
Author: <a href="javascript:sendmail2('pi7qtu=alz$pc');">HA7ILM</a>. Please send me bug reports and suggestions.<br/> <span id="openwebrx-client-1">Author: </span><a href="http://blog.sdr.hu/about" target="_blank">András Retzler, HA7ILM</a><br />You can support OpenWebRX development via <a href="http://blog.sdr.hu/support" target="_blank">PayPal!</a><br/>
<!--Server status: <span id="openwebrx-server-status">no information</span><br/>-->
Your client ID is: <em>%[CLIENT_ID]</em><br />
<div id="openwebrx-debugdiv"></div> <div id="openwebrx-debugdiv"></div>
</div> </div>
</div> </div>

View File

@ -219,6 +219,15 @@ function setSmeterAbsoluteValue(value) //the value that comes from `csdr squelch
e("openwebrx-smeter-db").innerHTML=logValue.toFixed(1)+" dB"; e("openwebrx-smeter-db").innerHTML=logValue.toFixed(1)+" dB";
} }
function typeInAnimation(element,timeout,what,onFinish)
{
if(!what) { onFinish(); return; }
element.innerHTML+=what[0];
window.setTimeout( function(){typeInAnimation(element,timeout,what.substring(1),onFinish);}, timeout );
}
// ======================================================== // ========================================================
// ================= ANIMATION ROUTINES ================= // ================= ANIMATION ROUTINES =================
@ -1588,7 +1597,7 @@ function audio_init()
animate(e("openwebrx-panel-log"),"opacity","",1,0,0.9,1000,60); animate(e("openwebrx-panel-log"),"opacity","",1,0,0.9,1000,60);
window.setTimeout(function(){toggle_panel("openwebrx-panel-log");e("openwebrx-panel-log").style.opacity="1";},1200) window.setTimeout(function(){toggle_panel("openwebrx-panel-log");e("openwebrx-panel-log").style.opacity="1";},1200)
} }
},1000); },2000);
} }
function on_ws_closed() function on_ws_closed()