Add a toggle console

This commit is contained in:
Rob Loach 2016-09-13 22:31:16 -04:00
parent 9022bf75ad
commit 0ae05ef394
No known key found for this signature in database
GPG Key ID: 627C60834A74A21A
2 changed files with 13 additions and 1 deletions

View File

@ -114,7 +114,7 @@
</div>
<div class="container">
<div class="row">
<div class="col-sm-12 form-group btn-group text-xs-center p-t-2">
<div class="col-sm-10 form-group btn-group text-xs-center p-t-2">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-primary" id="lblLocal" onclick=switchStorage("browser")>
<input type="radio" name="options" id="btnLocal" autocomplete="off" checked>
@ -128,6 +128,11 @@
</label>
</div>
</div>
<div class="col-sm-2 form-group btn-group text-xs-center p-t-2">
<button type="button" name="options" id="btnlogs" class="btn btn-info pull-xs-right">
<span class="fa fa-list"></span> Log
</button>
</div>
</div>
<div class="row">
<div class="col-sm-12 form-group btn-group text-xs-center p-t-2">

View File

@ -280,6 +280,13 @@ function switchStorage(backend) {
// When the browser has loaded everything.
$(function() {
// Hide the logging window and allow the user to show it.
$('#output').hide();
$('#btnlogs').click(function () {
$('#output').slideToggle();
});
/**
* Attempt to disable some default browser keys.
*/