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