Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* init new webpack structure * added environment related builds * added sidebars.js * fixed issues with build * back sidebars code * removed issue with duplicated favicon * added latest release * update latest translations * updated README, webpack refactor
- Loading branch information
Showing
43 changed files
with
8,054 additions
and
2,884 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><html><head><title></title><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"><script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script><script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script><link rel="shortcut icon" href="favicon.ico"><link href="stylesheets/styles.css" rel="stylesheet"></head><body><div id="loginpage"><div class="container"><div class="row justify-content-center"><div class="col-12 col-lg-5"><div class="card card-signin" id="loginForm"><div class="card-body"><h5 class="card-title text-center">Login</h5><form class="form-signin"><div class="form-label-group"><input class="form-control" id="userName" type="text" placeholder="Email address" required="" autofocus=""><label for="userName">Username</label></div><div class="form-label-group"><input class="form-control" id="inputPassword" type="password" placeholder="Password" required=""><label for="inputPassword">Password</label></div><div class="text-danger" id="loginError">Some message</div><button class="btn btn-lg btn-primary btn-block text-uppercase" type="button" id="loginButton">Login</button></form></div></div></div></div></div></div><div id="main"><h1></h1><div class="container"><div class="row justify-content-center"><div style="max-width:400px;padding-top:30px"><img class="img-fluid" src="./images/microbit.png"></div></div></div><div id="status"><text>Connect to a micro:bit and flash the bridging software</text></div><div class="div" id="terminal-container"><input type="checkbox" id="terminal-checkbox"><label for="terminal-checkbox" id="terminal-toggle">☰</label><div id="terminal-box"><div id="terminal-header">Terminal</div></div><div id="terminal-contents"></div></div><div id="history-container"><input type="checkbox" id="history-checkbox"><label for="history-checkbox" id="history-toggle">☰</label><div id="history-box"><div id="history-header">History</div></div></div><div id="hubSelectContainer"><select class="form-control" id="hubSelect"><option selected value="-1">Select webhub to flash...</option></select></div><dif id="footer"><div class="container"><div class="row justify-content-center" id="controls"><button id="connect">Connect</button><button id="flash">Flash</button><button id="logout">Logout</button></div></div></dif></div><script type="module" src="./javascripts/sidebars.js"></script><script type="module" src="./javascripts/WebBridge.bundle.js"></script><script type="text/javascript" src="javascripts/WebBridge.bundle.js"></script></body></html> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
function hideTerminal() { | ||
let size = $(window).width() < 480 ? 80 : 20; | ||
$('#terminal-container').animate({ | ||
'left': `-${size}%` | ||
}, {queue: false}); | ||
} | ||
|
||
function hideHistory() { | ||
$('#history-container').animate({ | ||
'left': '100%' | ||
}, {queue: false}); | ||
} | ||
|
||
/*** | ||
* Slides in or out the terminal panel once the invisible checkbox is changed. | ||
*/ | ||
$('#terminal-checkbox').change(function (change) { | ||
if ($(window).width() < 480) { | ||
hideHistory() | ||
} | ||
if (change.target.checked) | ||
$('#terminal-container').animate({ | ||
'left': '0px' | ||
}, {queue: false}); | ||
else { | ||
hideTerminal(); | ||
} | ||
}); | ||
|
||
/*** | ||
* Slides in or out the history panel once the invisible checkbox is changed. | ||
*/ | ||
$('#history-checkbox').change(function (change) { | ||
let size = 80 | ||
if ($(window).width() < 480) { | ||
size = 20; | ||
hideTerminal() | ||
} | ||
|
||
if (change.target.checked) | ||
$('#history-container').animate({ | ||
'left': `${size}%` | ||
}, {queue: false}); | ||
else | ||
hideHistory(); | ||
}); |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
function hideTerminal() { | ||
let size = $(window).width() < 480 ? 80 : 20; | ||
$('#terminal-container').animate({ | ||
'left': `-${size}%` | ||
}, {queue: false}); | ||
} | ||
|
||
function hideHistory() { | ||
$('#history-container').animate({ | ||
'left': '100%' | ||
}, {queue: false}); | ||
} | ||
|
||
/*** | ||
* Slides in or out the terminal panel once the invisible checkbox is changed. | ||
*/ | ||
$('#terminal-checkbox').change(function (change) { | ||
if ($(window).width() < 480) { | ||
hideHistory() | ||
} | ||
if (change.target.checked) | ||
$('#terminal-container').animate({ | ||
'left': '0px' | ||
}, {queue: false}); | ||
else { | ||
hideTerminal(); | ||
} | ||
}); | ||
|
||
/*** | ||
* Slides in or out the history panel once the invisible checkbox is changed. | ||
*/ | ||
$('#history-checkbox').change(function (change) { | ||
let size = 80 | ||
if ($(window).width() < 480) { | ||
size = 20; | ||
hideTerminal() | ||
} | ||
|
||
if (change.target.checked) | ||
$('#history-container').animate({ | ||
'left': `${size}%` | ||
}, {queue: false}); | ||
else | ||
hideHistory(); | ||
}); |
Oops, something went wrong.