-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a settings page to make it easier to modify
the autoconnect delay and avoid issues like #9
- Loading branch information
Showing
4 changed files
with
30 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<form id="settings_plugin_portlister" class="form-horizontal"> | ||
<div class="control-group"> | ||
<label class="control-label">{{ _('Autoconnect delay:') }}</label> | ||
<div class="controls" data-toggle="tooltip" title="{{ _('The port is often detected before the printer is ready to connect. Delay this number of seconds before trying.') }}"> | ||
<div class="input-append"> | ||
<input type="number" step="1" class="input-mini text-right" data-bind="value: settings.plugins.portlister.autoconnect_delay"> | ||
<span class="add-on">secs</span> | ||
</div> | ||
</div> | ||
</div> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
plugin_identifier = "portlister" | ||
plugin_package = "octoprint_portlister" | ||
plugin_name = "OctoPrint-PortLister" | ||
plugin_version = "0.1.9" | ||
plugin_version = "0.1.10" | ||
plugin_description = """PortLister notices when printers get turned on and tells the list of ports to refresh""" | ||
plugin_author = "Mark Walker" | ||
plugin_author_email = "[email protected]" | ||
|