🚸 Expose serial.ignoreEmptyPorts on UI

Closes #4460
This commit is contained in:
Gina Häußge committed 2022-03-15 19:30:41 +01:00
1 parent 056eb122f3
commit 6fc2edcc1f
7 files changed
+603 -552

No files matched your search

@@ -250,6 +250,7 @@ $(function () {
self.serial_ackMax = ko.observable(undefined);
self.serial_resendRatioThreshold = ko.observable(100);
self.serial_resendRatioStart = ko.observable(100);
self.serial_ignoreEmptyPorts = ko.observable(undefined);
self.serial_enableShutdownActionCommand = ko.observable(undefined);
self.folder_uploads = ko.observable(undefined);
@@ -92,6 +92,19 @@
</label>
</div>
</div>
<div>
<div><small><a href="#" class="muted" data-bind="toggleContent: { class: 'fa-caret-right fa-caret-down', container: '#settings_serial_general_connection .hide' }"><i class="fas fa-caret-right"></i> {{ _('Advanced options') }}</a></small></div>
<div class="hide">
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_ignoreEmptyPorts" id="settings-serialIgnoreEmptyPorts"> {{ _('Ignore empty ports') }}
<span class="help-block">{{ _('By checking this you\'ll disable OctoPrint warning you if no serial ports to connect to were found.') }}</span>
</label>
</div>
</div>
</div>
</div>
</fieldset>
<fieldset id="settings_serial_general_logging">
<legend>{{ _('Serial logging') }}</legend>
File diff suppressed because it is too large. Load diff
Binary file not shown.
File diff suppressed because it is too large. Load diff
+195 -184
View File
File diff suppressed because it is too large. Load diff