mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 01:05:15 +03:00
Ports tab clean up
This commit is contained in:
parent
5996ba54fa
commit
9489b13c13
6 changed files with 31 additions and 33 deletions
|
@ -241,12 +241,12 @@ function onConnect() {
|
||||||
|
|
||||||
if ("CLFL" == CONFIG.flightControllerIdentifier){
|
if ("CLFL" == CONFIG.flightControllerIdentifier){
|
||||||
|
|
||||||
/* placing this elsewhere
|
/* placing this elsewhere
|
||||||
var documentationButton = $('#button-documentation');
|
var documentationButton = $('#button-documentation');
|
||||||
documentationButton.show();
|
documentationButton.show();
|
||||||
documentationButton.html("Documentation for "+CONFIG.flightControllerVersion);
|
documentationButton.html("Documentation for "+CONFIG.flightControllerVersion);
|
||||||
documentationButton.attr("href","https://github.com/cleanflight/cleanflight/tree/v{0}/docs".format(CONFIG.flightControllerVersion));
|
documentationButton.attr("href","https://github.com/cleanflight/cleanflight/tree/v{0}/docs".format(CONFIG.flightControllerVersion));
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* just a thought
|
/* just a thought
|
||||||
var sensor_state = $('#sensor-status');
|
var sensor_state = $('#sensor-status');
|
||||||
|
|
16
main.html
16
main.html
|
@ -138,7 +138,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="profile" style="display:none;">
|
<div class="profile" style="display:none;">
|
||||||
<span class="head" i18n="pidTuningProfileHead"></span>
|
<span class="head" i18n="pidTuningProfileHead"></span>
|
||||||
<select name="profile">
|
<select name="profile">
|
||||||
<option value="0">1</option>
|
<option value="0">1</option>
|
||||||
|
@ -148,12 +148,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="tab-dataflash" id="flashstate" style="width:120px; float:right; height:12px; display:none;">
|
||||||
|
|
||||||
<a id="options" href="#" i18n_title="options_title"></a>
|
|
||||||
|
|
||||||
<div class="tab-dataflash" id="flashstate" style="width:120px; float:right; height:12px; display:none;"
|
|
||||||
>
|
|
||||||
<div class="require-dataflash" id="header_dataflash">
|
<div class="require-dataflash" id="header_dataflash">
|
||||||
<ul class="dataflash-contents" style="height:7px; margin:12px;">
|
<ul class="dataflash-contents" style="height:7px; margin:12px;">
|
||||||
<li class="dataflash-free" style="height:10px; text-align:left;">
|
<li class="dataflash-free" style="height:10px; text-align:left;">
|
||||||
|
@ -162,9 +157,10 @@
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<a id="options" href="#" i18n_title="options_title"></a>
|
||||||
|
|
||||||
|
|
||||||
<div class="header-wrapper">
|
<div class="header-wrapper">
|
||||||
<div id="sensor-status" class="sensor_state">
|
<div id="sensor-status" class="sensor_state">
|
||||||
|
|
7
main.js
7
main.js
|
@ -397,4 +397,9 @@ $("#showlog").on('click', function() {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,11 +6,7 @@
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-ports .help {
|
|
||||||
padding: 10px;
|
|
||||||
background-color: #ffcb18;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tab-ports table {
|
.tab-ports table {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
@ -66,11 +62,7 @@
|
||||||
background-color: #dedcdc;
|
background-color: #dedcdc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-ports .note {
|
|
||||||
padding: 5px;
|
|
||||||
border: 1px dashed silver;
|
|
||||||
margin-bottom: 8px;
|
|
||||||
}
|
|
||||||
.tab-ports .require-support {
|
.tab-ports .require-support {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,15 @@
|
||||||
<div class="tab-ports">
|
<div class="tab-ports">
|
||||||
|
<div class="tab_title">Ports
|
||||||
|
<div class="cf_doc_version_bt">
|
||||||
|
<a id="button-documentation" href="https://github.com/cleanflight/cleanflight/releases" target="_blank"></a></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="require-support">
|
<div class="require-support">
|
||||||
<div class="help">
|
<div class="note" style="margin-bottom:20px;">
|
||||||
<p i18n="portsHelp"></p>
|
<div class="note_spacer"><p i18n="portsHelp"></p><p i18n="portsMSPHelp"></p></div>
|
||||||
</div>
|
</div>
|
||||||
<table class="ports">
|
<table class="ports" style="margin-bottom:20px;">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Identifier</td>
|
<td>Identifier</td>
|
||||||
|
@ -18,9 +24,7 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<div class="help">
|
|
||||||
<p i18n="portsMSPHelp"></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="clear-both"></div>
|
<div class="clear-both"></div>
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
<div class="cf_column full" style="margin-bottom:10px;">
|
<div class="cf_column full" style="margin-bottom:10px;">
|
||||||
<div class="tab_title">Setup
|
<div class="tab_title">Setup
|
||||||
<div class="cf_doc_version_bt"><a href="https://github.com/cleanflight/cleanflight/releases" target="_blank"></a></div>
|
<div class="cf_doc_version_bt">
|
||||||
|
<a id="button-documentation" href="https://github.com/cleanflight/cleanflight/releases" target="_blank"></a></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -128,4 +129,4 @@
|
||||||
|
|
||||||
</div></div>
|
</div></div>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue