💄 GCV: Fix settings markup.
This commit is contained in:
1 parent
2b092a9899
commit
c3531bc5b4
1 file changed
+13
-17
@@ -1,17 +1,22 @@
|
||||
<h3>{{ _("GCode Viewer") }}</h3>
|
||||
<form class="form-horizontal" onsubmit="return false;">
|
||||
<div class="control-group" title="{{ _('Maximum size for which the GCode Viewer autoloads the file for preview')|edq }}">
|
||||
<label class="control-label" for="settings-gcodeviewer-featureSizeThreshold">{{ _('GCode Viewer file size threshold') }}</label>
|
||||
<div class="control-group" title="{{ _('Skip/hide gcode until this string')}}">
|
||||
<label class="control-label" for="settings-gcodeviewer-skipUntilThis">{{ _('Skip to this') }}</label>
|
||||
<div class="controls">
|
||||
<div class="input-append">
|
||||
<input type="text" class="input-mini text-right" data-bind="value: sizeThresholdStr" id="settings-gcodeviewer-featureSizeThreshold">
|
||||
</div>
|
||||
<input type="text" class="input-block-level" data-bind="value: settings.settings.plugins.gcodeviewer.skipUntilThis" id="settings-gcodeviewer-skipUntilThis" placeholder="; layer 1">
|
||||
<span class="help-block">
|
||||
{% trans %}If provided, the GCode Viewer will search for a line beginning with this string. If found, all GCode up to that point will be skipped. This can be used to skip "purge/nozzle wipe" GCode in the viewer. Note the search is case sensitive. Example: <code>; layer 1</code>{% endtrans %}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group" title="{{ _('Maximum size for which the GCode Viewer autoloads the file for preview')|edq }}">
|
||||
<label class="control-label" for="settings-gcodeviewer-featureSizeThreshold">{{ _('File size threshold') }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="input-mini text-right" data-bind="value: sizeThresholdStr" id="settings-gcodeviewer-featureSizeThreshold">
|
||||
<span class="help-inline">{{ _('on desktop')}}</span>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<div class="input-append">
|
||||
<input type="text" class="input-mini text-right" data-bind="value: mobileSizeThresholdStr">
|
||||
</div>
|
||||
<input type="text" class="input-mini text-right" data-bind="value: mobileSizeThresholdStr">
|
||||
<span class="help-inline">{{ _('on mobile')}}</span>
|
||||
</div>
|
||||
<div class="controls">
|
||||
@@ -20,13 +25,4 @@
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group" title="{{ _('Skip/hide gcode until this string')}}">
|
||||
<label class="control-label" for="settings-gcodeviewer-skipUntilThis">{{ _('Skip to this') }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="input-block-level" data-bind="value: settings.settings.plugins.gcodeviewer.skipUntilThis" id="settings-gcodeviewer-skipUntilThis" placeholder="; layer 1">
|
||||
<span class="help-inline">
|
||||
{% trans %}If provided, the GCode Viewer will search for a line beginning with this string. If found, all GCode up to that point will be skipped. This can be used to skip "purge/nozzle wipe" GCode in the viewer. Note the search is case sensitive. Example: <code>; layer 1</code>{% endtrans %}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
Reference in new issue
Block a user