New bracket icon for PID tab

10.3.x-maintenance
skaman82 2016-06-22 17:14:25 +02:00
parent 46c36048bb
commit 47ec029321
3 changed files with 26 additions and 4 deletions

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="227 -351.2 220 690.7" style="enable-background:new 227 -351.2 220 690.7;" xml:space="preserve">
<style type="text/css">
.st0{fill:#818181;}
</style>
<path class="st0" d="M300.8,334.5h-61.4v-20h61.4c37.1,0,67.2-30.2,67.2-67.2V46.6c0-13.8,7.9-27.7,23.4-41.2
c2.5-2.1,4.9-4.1,7.3-5.9C385.3-9.3,368-24.6,368-45.4v-209.8c0-37.1-30.2-67.2-67.2-67.2h-61.4v-20h61.4
c48.1,0,87.2,39.1,87.2,87.2v209.8c0,16.6,24.5,30.9,34,35l18.8,8.2l-18,9.8c-9,4.9-34.8,22.7-34.8,39v200.7
C388,295.4,348.9,334.5,300.8,334.5z"/>
</svg>

After

Width:  |  Height:  |  Size: 795 B

View File

@ -452,3 +452,13 @@
.tab-pid_tuning .topspacer { .tab-pid_tuning .topspacer {
margin-top:15px; margin-top:15px;
} }
.tab-pid_tuning .bracket {
position: absolute;
background-image: url(/images/icons/icon_bracket.svg);
background-repeat: no-repeat;
height: 35px;
width: 14px;
margin-top: -28px;
margin-left: 8px;
}

View File

@ -28,7 +28,7 @@
<div class="gui_box grey"> <div class="gui_box grey">
<table class="pid_titlebar"> <table class="pid_titlebar">
<tr> <tr>
<th class="name" i18n="pidTuningName""></th> <th class="name" i18n="pidTuningName"></th>
<th class="proportional" i18n="pidTuningProportional"></th> <th class="proportional" i18n="pidTuningProportional"></th>
<th class="integral" i18n="pidTuningIntegral"></th> <th class="integral" i18n="pidTuningIntegral"></th>
<th class="derivative" i18n="pidTuningDerivative"></th> <th class="derivative" i18n="pidTuningDerivative"></th>
@ -49,10 +49,10 @@
<td><input type="number" name="p" step="1" min="0" max="255" /></td> <td><input type="number" name="p" step="1" min="0" max="255" /></td>
<td><input type="number" name="i" step="1" min="0" max="255" /></td> <td><input type="number" name="i" step="1" min="0" max="255" /></td>
<td><input type="number" name="d" step="1" min="0" max="255" /></td> <td><input type="number" name="d" step="1" min="0" max="255" /></td>
<td rowspan="2"><input type="number" name="rc_rate" step="0.01" min="0" max="2.5" /></td> <td rowspan="2" style="background-color:white;"><input type="number" name="rc_rate" step="0.01" min="0" max="2.5" /><div class="bracket"></div></td>
<td class="roll_rate"><input type="number" name="roll_rate" step="0.01" min="0" max="1.00" /></td> <td class="roll_rate"><input type="number" name="roll_rate" step="0.01" min="0" max="1.00" /></td>
<td class="roll_pitch_rate" rowspan="2"><input type="number" name="roll_pitch_rate" step="0.01" min="0" max="1.00" /></td> <td class="roll_pitch_rate" rowspan="2"><input type="number" name="roll_pitch_rate" step="0.01" min="0" max="1.00" /></td>
<td rowspan="2"><input type="number" name="rc_expo" step="0.01" min="0" max="1" /></td> <td rowspan="2" style="background-color:white;"><input type="number" name="rc_expo" step="0.01" min="0" max="1" /><div class="bracket"></div></td>
</tr> </tr>
<tr class="PITCH"> <tr class="PITCH">
@ -78,7 +78,7 @@
<div class="gui_box grey topspacer"> <div class="gui_box grey topspacer">
<table class="pid_titlebar"> <table class="pid_titlebar">
<tr> <tr>
<th class="name" i18n="pidTuningName""></th> <th class="name" i18n="pidTuningName"></th>
<th class="proportional" i18n="pidTuningProportional"></th> <th class="proportional" i18n="pidTuningProportional"></th>
<th class="integral" i18n="pidTuningIntegral"></th> <th class="integral" i18n="pidTuningIntegral"></th>
<th class="derivative" i18n="pidTuningDerivative"></th> <th class="derivative" i18n="pidTuningDerivative"></th>