static size for mix diagrams and adding missing custom definition in multitype switch

10.3.x-maintenance
cTn 2014-09-06 11:02:54 +02:00
parent 36bce25ba8
commit 125be0271f
2 changed files with 7 additions and 3 deletions

View File

@ -67,14 +67,14 @@
top: 32px;
left: 10px;
height: 30%; /* interactive_block height set to inherit */
height: 95px;
}
#interactive_block .modelMixAirplane { /* Position airplane correctly */
height: 35%;
height: 115px;
padding-left: 0px;
}
#interactive_block .modelMixCustom { /* Position question mark correctly */
height: 20%; /* resize question mark */
height: 75px;
padding-left: 25px;
}
#interactive_block .heading {

View File

@ -120,6 +120,10 @@ TABS.initial_setup.initialize = function (callback) {
str = 'Singlecopter';
$('.modelMixDiagram').attr("src", './images/motor_order/custom.svg').addClass('modelMixCustom');
break;
case 22: // Custom
str = 'Custom';
$('.modelMixDiagram').attr("src", './images/motor_order/custom.svg').addClass('modelMixCustom');
break;
}
$('span.model').text(chrome.i18n.getMessage('initialSetupModel', [str]));