Moved buttons from main view to plugin
Esse commit está contido em:
@@ -87,6 +87,10 @@ PILOT_ACCELERATION = 0.04;
|
||||
this.moving = false;
|
||||
this.keys = {};
|
||||
|
||||
// Add the buttons to the control area
|
||||
$('#controls').append('<input type="button" id="ftrim" value="Flat trim">');
|
||||
$('#controls').append('<input type="button" id="calibratemagneto" value="Calibrate magneto">');
|
||||
|
||||
// Start with magneto calibration disabled.
|
||||
$('#calibratemagneto').prop('disabled', true);
|
||||
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
<body>
|
||||
<div class="header-container">
|
||||
<span id="controls">
|
||||
<input type="button" id="ftrim" value="Flat trim">
|
||||
<input type="button" id="calibratemagneto" value="Calibrate magneto">
|
||||
</span>
|
||||
<header class="wrapper clearfix">
|
||||
<span class="brand">WebFlight</span>
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário