1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

polishing

This commit is contained in:
cTn 2013-11-13 13:31:34 +01:00
parent ae04de8862
commit 89b2f79c52
2 changed files with 6 additions and 5 deletions

View file

@ -114,7 +114,7 @@ STM32_protocol.prototype.initialize = function() {
}, 1000); }, 1000);
// first step // first step
if ($('input.updating').is(':checked')) { if (!$('input.updating').is(':checked')) {
self.upload_procedure(0); self.upload_procedure(0);
} else { } else {
self.upload_procedure(1); self.upload_procedure(1);

View file

@ -14,9 +14,10 @@
border: 1px dotted silver; border: 1px dotted silver;
} }
.tab-firmware_flasher .note p { .tab-firmware_flasher .note p {
margin-top: 5px; margin-bottom: 5px;
} }
.tab-firmware_flasher .note input { .tab-firmware_flasher .note input {
float: left;
margin-top: 2px; margin-top: 2px;
} }
a.load_file, a.load_remote_file { a.load_file, a.load_remote_file {
@ -62,11 +63,11 @@
<strong>Status:</strong><span class="status">Firmware not loaded</span><br /> <strong>Status:</strong><span class="status">Firmware not loaded</span><br />
</div> </div>
<div class="note"> <div class="note">
<span style="font-weight: bold; margin-right: 10px;">Reboot sequence:</span><input class="updating" type="checkbox" checked="checked"/>
<p> <p>
If you are flashing board with <strong>baseflight</strong> already flashed (updating), leave this checkbox checked.<br /> If you are flashing board with <strong>baseflight</strong> already flashed (updating), leave this checkbox unchecked.<br />
If you are flashing "<strong>bare</strong>" board with no firmware preloaded or you have bootloader pins <strong>shorted</strong>, uncheck this checkbox.<br /> If you are flashing "<strong>bare</strong>" board with no firmware preloaded or you have bootloader pins <strong>shorted</strong>, check this box.<br />
</p> </p>
<span style="float: left; font-weight: bold; margin-right: 6px;">Reboot sequence:</span><input class="updating" type="checkbox" />
</div> </div>
<div class="clear-both"></div> <div class="clear-both"></div>
<a class="load_file" href="#">Load Firmware [Local]</a> <a class="load_file" href="#">Load Firmware [Local]</a>