Moved buttons from main view to plugin

Esse commit está contido em:
Laurent Eschenauer
2013-08-28 22:09:49 +02:00
commit eafd160379
2 arquivos alterados com 4 adições e 2 exclusões
+4
Ver Arquivo
@@ -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);
-2
Ver Arquivo
@@ -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>