replacing deadband inputs

10.3.x-maintenance
skaman82 2015-12-09 23:39:15 +01:00
parent 1dd20cc723
commit cf0887119b
2 changed files with 12 additions and 39 deletions

View File

@ -219,41 +219,12 @@
text-align: right;
}
.tab-receiver .deadband_wrapper {
float: right;
margin: 0px 0px 20px 0;
border-left: 0;
width: calc(25% - 2px);
background-color: #DEDEDE;
border-right: 1px solid silver;
}
.tab-receiver .deadband_wrapper .head {
height: 15px;
padding: 4px;
text-align: left;
padding-left: 6px;
font-weight: normal;
background: #828885;
color: white;
}
.tab-receiver .deadband_wrapper input {
height: 20px;
padding-left: 5px;
border: 1px solid silver;
margin: 4px;
width: calc(100% - 18px);
border-radius: 3px;
}
.tab-receiver .rssi_channel_wrapper {
float: right;
margin: 0px 0px 20px 0;
border-left: 0;
width: 25%;
width: 30%;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
background-color: #DEDEDE;
@ -289,7 +260,7 @@
float: right;
position: relative;
margin: 0px 0px 20px 0;
width: calc(25% - 0px);
width: calc(70% - 0px);
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
background-color: #DEDEDE;

View File

@ -16,14 +16,6 @@
<!-- list generated here -->
</select>
</div>
<div class="deadband_wrapper">
<div class="head">Yaw Deadband</div>
<input type="number" name="mid" step="1" min="0" max="50" />
</div>
<div class="deadband_wrapper">
<div class="head">RC Deadband</div>
<input type="number" name="mid" step="1" min="0" max="50" />
</div>
<div class="rcmap_wrapper">
<div class="head">
<span i18n="receiverChannelMap" i18n_title="receiverChannelMapTitle"></span>
@ -57,6 +49,16 @@
<td><input type="number" name="expo" step="0.01" min="0" max="1" /></td>
</tr>
</table>
<table class="deadband">
<tr>
<th>RC Deadband</th>
<th>YAW Deadband</th>
</tr>
<tr>
<td><input type="number" name="deadband" step="1" min="0" max="50" /></td>
<td><input type="number" name="yaw_deadband" step="1" min="0" max="50" /></td>
</tr>
</table>
</div>
</div>
</div>