Correcting Labels

10.3.x-maintenance
skaman82 2015-12-15 22:37:40 +01:00
parent bcdc9727d6
commit d214b30d2e
4 changed files with 32 additions and 27 deletions

View File

@ -1477,6 +1477,9 @@ dialog {
margin-top:2px;
}
.cf_tooltiptext {
display:none;
}
@media only screen and (max-width: 1055px) , only screen and (max-device-width: 1055px) {

View File

@ -436,10 +436,19 @@
background-color: #f9f9f9;
border-radius: 5px;
border: 1px solid #e4e4e4;
height:340px;
margin-top:3px;
height: 340px;
margin-top: 3px;
}
.tab-configuration .sensoralignment {
width: 40%;
float: left;
}
.tab-configuration .board_align_content {
width: 60%;
float: left;
}
@media only screen and (max-width: 1055px) , only screen and (max-device-width: 1055px) {

View File

@ -33,13 +33,6 @@
</div>
<div class="spacer_box">
<table cellpadding="0" cellspacing="0">
<thead style="display: none;">
<tr>
<th i18n="configurationFeatureEnabled"></th>
<th i18n="configurationFeatureDescription"></th>
<th i18n="configurationFeatureName"></th>
</tr>
</thead>
<tbody class="features esc">
<!-- table generated here -->
</tbody>
@ -105,11 +98,11 @@
<div class="gui_box_titlebar">
<div class="spacer_box_title" i18n="configurationBoardAlignment"></div>
<div class="helpicon cf_tip">
<div class="cf_tooltiptext" i18n="configHelp2" style="display:none;"></div>
<div class="cf_tooltiptext" i18n="configHelp2"></div>
</div>
</div>
<div class="spacer_box">
<div style="width:60%; float:left;">
<div class="board_align_content">
<div class="number">
<label> <input type="number" name="board_align_roll" step="1" min="-180" max="360" /> <span
i18n="configurationBoardAlignmentRoll"></span>
@ -129,22 +122,22 @@
<div class="alignicon yaw"></div>
</div>
</div>
<div class="sensoralignment" style="width:40%; float:left;">
<div class="sensoralignment">
<div class="number">
<select class="gyroalign">
<option value="0">Gyro Alignment</option>
<option value="0">GYRO alignment: default</option>
<!-- list generated here -->
</select>
</div>
<div class="number">
<select class="accalign">
<option value="0">Acc Alignment</option>
<option value="0">ACC alignment: default</option>
<!-- list generated here -->
</select>
</div>
<div class="number">
<select class="magalign">
<option value="0">Mag Alignment</option>
<option value="0">MAG alignment: default</option>
<!-- list generated here -->
</select>
</div>
@ -291,7 +284,7 @@
<div class="gui_box_titlebar">
<div class="spacer_box_title" i18n="configurationRSSI"></div>
<div class="helpicon cf_tip">
<div class="cf_tooltiptext" i18n="configurationRSSIHelp" style="display:none;"></div>
<div class="cf_tooltiptext" i18n="configurationRSSIHelp"></div>
</div>
</div>
<div class="spacer_box">

View File

@ -213,14 +213,14 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
var alignments = [
'CW0',
'CW90',
'CW180',
'CW270',
'CW0FLIP',
'CW90FLIP',
'CW180FLIP',
'CW270FLIP'
'CW 0°',
'CW 90°',
'CW 180°',
'CW 270°',
'CW 0° flip',
'CW 90° flip',
'CW 180° flip',
'CW 270° flip'
];
if (semver.lt(CONFIG.apiVersion, "1.15.0")) {
@ -230,9 +230,9 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
var orientation_acc_e = $('select.accalign');
var orientation_mag_e = $('select.magalign');
for (var i = 0; i < alignments.length; i++) {
orientation_gyro_e.append('<option value="' + (i+1) + '">' + alignments[i] + '</option>');
orientation_acc_e.append('<option value="' + (i+1) + '">' + alignments[i] + '</option>');
orientation_mag_e.append('<option value="' + (i+1) + '">' + alignments[i] + '</option>');
orientation_gyro_e.append('<option value="' + (i+1) + '">GYRO align: '+ alignments[i] + '</option>');
orientation_acc_e.append('<option value="' + (i+1) + '">ACC align: '+ alignments[i] + '</option>');
orientation_mag_e.append('<option value="' + (i+1) + '">MAG align: '+ alignments[i] + '</option>');
}
orientation_gyro_e.val(SENSOR_ALIGNMENT.align_gyro);
orientation_acc_e.val(SENSOR_ALIGNMENT.align_acc);