1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-26 01:35:28 +03:00

Ports tab clean up

This commit is contained in:
skaman82 2015-10-28 20:23:48 +01:00
parent 5996ba54fa
commit 9489b13c13
6 changed files with 31 additions and 33 deletions

View file

@ -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;">
@ -164,6 +159,7 @@
</div> </div>
</div> </div>
<a id="options" href="#" i18n_title="options_title"></a>
<div class="header-wrapper"> <div class="header-wrapper">

View file

@ -398,3 +398,8 @@ $("#showlog").on('click', function() {
}); });
}); });

View file

@ -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;
} }

View file

@ -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>

View file

@ -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>