|
|
|
@ -39,7 +39,10 @@ |
|
|
|
|
<div class="pure-u-1-4"><legend><b>Console</b></legend></div> |
|
|
|
|
<div class="pure-u-3-4"></div> |
|
|
|
|
</div> |
|
|
|
|
<div class="fullscreen-box"> |
|
|
|
|
<div class="fullscreen-control"></div> |
|
|
|
|
<pre class="console flex-fill" id="console">--- No Content ---</pre> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<div class="pure-g"> |
|
|
|
|
<div class="pure-u-1-4"><legend><b>Console entry</b></legend></div> |
|
|
|
@ -97,6 +100,12 @@ |
|
|
|
|
); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
$(".fullscreen-control").addEventListener("click", function(e) { |
|
|
|
|
e.preventDefault(); |
|
|
|
|
var fbc = this.parentNode.classList; |
|
|
|
|
fbc[fbc.contains("full") ? "remove" : "add"].call(fbc, "full"); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
ajaxJson('GET', "/console/baud", |
|
|
|
|
function(data) { $("#baud-sel").value = data.rate; }, |
|
|
|
|
function(s, st) { showNotification(st); } |
|
|
|
|