calibration tab removed

pull/19/head
Pawel Spychalski (DzikuVx) 8 years ago
parent 8548d1d78e
commit 3c098d4ba7

@ -65,13 +65,9 @@
"tabHelp": {
"message": "Documentation & Support"
},
"tabSetup": {
"message": "Setup"
},
"tabCalibration": {
"message": "Calibration"
},
"tabConfiguration": {
"message": "Configuration"
},
@ -238,7 +234,7 @@
"defaultWelcomeIntro": {
"message": "Welcome to <strong>INAV - Configurator</strong>, a utility designed to simplify updating, configuring and tuning of your flight controller."
},
"defaultWelcomeText": {
"message": "The application supports all hardware that can run INAV (<a href=\"http://seriouslypro.com/spracingf3\" target=\"_blank\">SPRacingF3</a>, <a href=\"http://www.immersionrc.com/fpv-products/vortex-racing-quad/\" target=\"_blank\">Vortex</a>, <a href=\"https://github.com/TauLabs/TauLabs/wiki/Sparky\" target=\"_blank\">Sparky</a>, <a href=\"http://www.readymaderc.com/store/index.php?main_page=product_info&cPath=76_156&products_id=4221\" target=\"_blank\">DoDo</a>, <a href=\"https://www.openpilot.org/product/coptercontrol/\" target=\"_blank\">CC3D/EVO</a>, <a href=\"http://www.multiwiicopter.com/products/paris-air-hero-32-naze\" target=\"_blank\">Air Hero 32</a>, <a href=\"http://www.readytoflyquads.com/flight-controllers/flip-series\" target=\"_blank\">Flip32/+/Deluxe</a>, <a href=\"http://multirotormania.com/129-dragonfly32\" target=\"_blank\">DragonFly32</a>, <a href=\"http://www.goodluckbuy.com/micro-quadcopter-flight-driver-controller-9dof-9-axis-altitude-sensor-stm32f103.html\" target=\"_blank\">CJMCU Microquad</a>, Chebuzz F3, <a href=\"http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF254044\" target=\"_blank\">STM32F3Discovery</a>, <a href=\"http://www.overskyrc.com/hermit-micro-fpv-brushless-quadcopter-145mm-98g-fully-assembled-p-621.html\" target=\"_blank\">Hermit</a>, <a href=\"http://rcexplorer.se/blog/2015/05/introducing-the-naze32-tricopter-frame/\" target=\"_blank\">Naze32 Tricopter Frame</a>, <a href=\"http://www.2dogrc.com/skyline-32-naze-32-bit-flight-controller-acro-version.html\" target=\"_blank\">Skyline32</a>, <a href=\"http://abusemark.com/store/index.php?main_page=index&cPath=1\" target=\"_blank\">Naze/32/Mini/Pro</a>/<a href=\"http://www.massiverc.com/Shop/en/574-massive-acro-blackbox-flight-control-board.html\" target=\"_blank\">Blackbox</a> etc)<br /><br />The firmware source code can be downloaded from <a href=\"https://github.com/iNavFlight\" title=\"www.github.com\" target=\"_blank\">here</a><br />The newest binary firmware image is available <a href=\"https://github.com/iNavFlight/inav/releases\" title=\"www.github.com\" target=\"_blank\">here</a>.<br /><br />Latest <strong>CP210x Drivers</strong> can be downloaded from <a href=\"http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx\" title=\"http://www.silabs.com\" target=\"_blank\">here</a><br />Latest <strong>STM USB VCP Drivers</strong> can be downloaded from <a href=\"http://www.st.com/web/en/catalog/tools/PF257938\" title=\"http://www.st.com\" target=\"_blank\">here</a><br />Latest <strong>Zadig</strong> for Windows DFU flashing can be downloaded from <a href=\"http://zadig.akeo.ie/\" title=\"http://zadig.akeo.ie\" target=\"_blank\">here</a><br />"
},
@ -302,7 +298,7 @@
"defaultSupport5": {
"message": "<a href=\"http://webchat.freenode.net/?channels=cleanflight\" target=\"_blank\">Join via WebClient</a>"
},
"initialSetupBackupAndRestoreApiVersion": {
"message": "<span style=\"color: red\">Backup and restore functionality disabled.</span> You have firmware with API version <span style=\"color: red\">$1</span>, backup and restore requires <span style=\"color: #37a8db\">$2</span>. Please backup your settings via the CLI, see Cleanflight documentation for procedure."
},
@ -532,7 +528,7 @@
"featureTRANSPONDERTip": {
"message": "Configure via the Race Transponder tab after enabling."
},
"configurationFeatureEnabled": {
"message": "Enabled"
},
@ -668,7 +664,7 @@
"configurationLoopTime": {
"message": "Flight Controller Loop Time"
},
"configurationCalculatedCyclesSec": {
"configurationCalculatedCyclesSec": {
"message": "Cycles/Sec (Hz)"
},
"configurationLoopTimeHelp": {
@ -820,7 +816,7 @@
},
"receiverHelpYawDeadband": {
"message": "These are values (in us) by how much RC input can be different before it's considered valid. For transmitters with jitter on outputs, this value can be increased if rc inputs twitch while idle. <strong>This setting is for Yaw only.</strong>"
},
},
"receiverYawDeadband": {
"message": "Yaw Deadband"
},
@ -1072,7 +1068,7 @@
},
"transponderDataInvalid": {
"message": "Transponder data is <span style=\"color: red\">invalid</span>"
},
},
"transponderEepromSaved": {
"message": "EEPROM <span style=\"color: #37a8db\">saved</span>"
},
@ -1269,14 +1265,14 @@
"blackboxButtonSave": {
"message": "Save and reboot"
},
"serialLoggingSupportedNote": {
"message": "You can log to an external logging device (such as an OpenLog or compatible clone) by using a serial port. Configure the port on the Ports tab."
},
"sdcardNote": {
"message": "Flight logs can be recorded to your flight controller's onboard SD card slot."
},
"dataflashNote": {
"message": "Flight logs can be recorded to your flight controller's onboard dataflash chip."
},
@ -1322,7 +1318,7 @@
"dataflashFileWriteFailed": {
"message": "Failed to write to the file you selected, are the permissions on that folder okay?"
},
"firmwareFlasherReleaseSummaryHead": {
"message": "Release info"
},
@ -1478,7 +1474,7 @@
"ledStripEepromSaved": {
"message": "EEPROM <span style=\"color: #37a8db\">saved</span>"
},
"controlAxisRoll": {
"message": "Roll"
},
@ -1539,7 +1535,7 @@
"controlAxisAux16": {
"message": "AUX 16"
},
"pidTuningBasic": {
"message": "Basic/Acro"
},
@ -1563,7 +1559,7 @@
},
"pidTuningLevelD": {
"message": "Transition (Horizon)"
},
},
"pidTuningLevelHelp": {
"message": "The values below change the behaviour of the ANGLE and HORIZON flight modes. Different PID controllers handle the LEVEL values differently. Please check the documentation."
},
@ -1666,4 +1662,4 @@
"mainHelpLink": {
"message": "Serial Link Status"
}
}
}

@ -35,7 +35,6 @@ var GUI_control = function () {
'receiver',
'sensors',
'servos',
'calibration',
'setup'
];
this.allowedTabs = this.defaultAllowedTabsWhenDisconnected;
@ -291,7 +290,7 @@ GUI_control.prototype.content_ready = function (callback) {
});
$('.cf_tip').each(function() {
$(this).jBox('Tooltip', {
$(this).jBox('Tooltip', {
delayOpen: 100,
delayClose: 100,
position: {

@ -48,13 +48,13 @@ a.disabled {
background-image: url(images/icons/cf_icon_info_grey.svg);
background-size: contain;
background-position: center;
transition: none;
transition: none;
}
.helpicon:hover {
opacity: 0.9;
background-image: url(images/icons/cf_icon_info_green.svg);
transition: none;
transition: none;
}
.cf_doc_version_bt a {
@ -814,19 +814,6 @@ li.active .ic_transponder {
background-image: url(images/icons/cf_icon_transponder_white.svg);
}
.ic_calibration {
background-image: url(images/icons/cf_icon_wizard_grey.svg);
}
.ic_calibration:hover {
background-image: url(images/icons/cf_icon_wizard_white.svg);
}
li.active .ic_calibration {
background-image: url(images/icons/cf_icon_wizard_white.svg);
}
/* SPARE Tab-Icons */
.ic_failsafe {
background-image: url(images/icons/cf_icon_failsafe_grey.svg);
@ -884,14 +871,14 @@ li.active .ic_mission {
}
#content {
margin-top: 0px;
padding: 0px;
margin-top: 0px;
padding: 0px;
height: calc(100% - 150px);
/* (port picker 105px, log CLOSED 25px, status bar: 20px + padding) - was: calc(100% - 171px)*/
background-color: white;
overflow-x: hidden;
overflow-y: auto;
border: 0px solid #848484;
border: 0px solid #848484;
-webkit-transform: rotateX(0deg); /* DO NOT REMOVE! this fixes the UI freezing bug on MAC OS X */
transition: all 0.3s;
}
@ -1286,7 +1273,7 @@ dialog {
border: 1px solid #ccc;
color: #ccc;
}
.default_btn a:hover {
background-color: #37a8db;
color: #fff !important;
@ -1636,7 +1623,7 @@ dialog {
margin-left: 14px;
height: 10px;
width: 30px;
/* width: 30px; */
/* width: 30px; */
}
@ -1685,7 +1672,7 @@ dialog {
}
.armedicon,
.failsafeicon,
.failsafeicon,
.linkicon {
float: left;
margin-left: 8px;
@ -1697,7 +1684,7 @@ dialog {
opacity: 0.8;
background-size: contain;
background-position: center;
transition: none;
transition: none;
}
.armedicon {
@ -1706,7 +1693,7 @@ dialog {
.failsafeicon {
background-image: url(images/icons/cf_icon_failsafe_grey.svg);
}
.linkicon {
background-image: url(images/icons/cf_icon_link_grey.svg);
}
@ -1833,5 +1820,5 @@ input {
overflow-x: hidden;
overflow-y: auto;
}
}
}

@ -8,7 +8,6 @@
<link type="text/css" rel="stylesheet" href="./js/libraries/jquery.nouislider.pips.min.css" />
<link type="text/css" rel="stylesheet" href="./js/libraries/flightindicators.css" />
<link type="text/css" rel="stylesheet" href="./tabs/landing.css" media="all" />
<link type="text/css" rel="stylesheet" href="./tabs/calibration.css" media="all" />
<link type="text/css" rel="stylesheet" href="./tabs/setup.css" media="all" />
<link type="text/css" rel="stylesheet" href="./tabs/help.css" media="all" />
<link type="text/css" rel="stylesheet" href="./tabs/ports.css" media="all" />
@ -63,7 +62,6 @@
<script type="text/javascript" src="./main.js"></script>
<script type="text/javascript" src="./tabs/landing.js"></script>
<script type="text/javascript" src="./tabs/setup.js"></script>
<script type="text/javascript" src="./tabs/calibration.js"></script>
<script type="text/javascript" src="./tabs/help.js"></script>
<script type="text/javascript" src="./tabs/ports.js"></script>
<script type="text/javascript" src="./tabs/configuration.js"></script>
@ -189,7 +187,7 @@
<div class="failsafeicon cf_tip" i18n_title="mainHelpFailsafe"></div>
<div class="linkicon cf_tip" i18n_title="mainHelpLink"></div>
</div>
</div>
</div>
</div>
</div>
<div class="clear-both"></div>
@ -209,7 +207,6 @@
</ul>
<ul class="mode-connected">
<li class="tab_setup"><a href="#" i18n="tabSetup" class="tabicon ic_setup" title="Setup"></a></li>
<li class="tab_calibration"><a href="#" i18n="tabCalibration" class="tabicon ic_calibration" title="Calibration"></a></li>
<li class="tab_ports"><a href="#" i18n="tabPorts" class="tabicon ic_ports" title="Ports"></a></li>
<li class="tab_configuration"><a href="#" i18n="tabConfiguration" class="tabicon ic_config" title="Configuration"></a></li>
<li class="tab_failsafe"><a href="#" i18n="tabFailsafe" class="tabicon ic_failsafe" title="Failsafe"></a></li>

@ -42,7 +42,7 @@ $(document).ready(function () {
console.log('Application version expired');
GUI.log('You are using an old version of ' + chrome.runtime.getManifest().name + '. There may be a more recent version with improvements and fixes.');
}
chrome.storage.local.get('logopen', function (result) {
if (result.logopen) {
$("#showlog").trigger('click');
@ -71,20 +71,20 @@ $(document).ready(function () {
tabClass = $(self).parent().prop('class');
var tabRequiresConnection = $(self).parent().hasClass('mode-connected');
var tab = tabClass.substring(4);
var tabName = $(self).text();
if (tabRequiresConnection && !CONFIGURATOR.connectionValid) {
GUI.log(chrome.i18n.getMessage('tabSwitchConnectionRequired'));
return;
}
if (GUI.connect_lock) { // tab switching disabled while operation is in progress
GUI.log(chrome.i18n.getMessage('tabSwitchWaitForOperation'));
return;
}
if (GUI.allowedTabs.indexOf(tab) < 0) {
GUI.log(chrome.i18n.getMessage('tabSwitchUpgradeRequired', [tabName]));
return;
@ -142,9 +142,6 @@ $(document).ready(function () {
case 'setup':
TABS.setup.initialize(content_ready);
break;
case 'calibration':
TABS.calibration.initialize(content_ready);
break;
case 'configuration':
TABS.configuration.initialize(content_ready);
break;
@ -319,7 +316,7 @@ $(document).ready(function () {
}
}
});
$("#showlog").on('click', function() {
var state = $(this).data('state');
if ( state ) {
@ -332,7 +329,7 @@ $(document).ready(function () {
$(".tab_container").removeClass('logopen');
$("#scrollicon").removeClass('active');
chrome.storage.local.set({'logopen': false});
state = false;
}else{
$("#log").animate({height: 111}, 200);
@ -346,11 +343,11 @@ $(document).ready(function () {
}
$(this).text(state ? 'Hide Log' : 'Show Log');
$(this).data('state', state);
});
var profile_e = $('select[name="profilechange"]');
profile_e.change(function () {
var profile = parseInt($(this).val());
MSP.send_message(MSP_codes.MSP_SELECT_SETTING, [profile], false, function () {
@ -419,4 +416,4 @@ function updateActivatedTab() {
var activeTab = $('#tabs > ul li.active');
activeTab.removeClass('active');
$('a', activeTab).trigger('click');
}
}

Loading…
Cancel
Save