2018-04-26 22:06:09 +03:00
|
|
|
<div id="klipper_offset_dialog" class="modal hide fade small" tabindex="-1" role="dialog" aria-labelledby="klipper_offset_dialog_label" aria-hidden="true">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
2021-09-05 16:28:57 +03:00
|
|
|
<h3 id="klipper_dialog_label">{{ _('Coordinate Offset') }}</h3>
|
2018-04-26 22:06:09 +03:00
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<div class="row-fluid" style="margin-bottom: 15px">
|
|
|
|
<label class="control-label">{{ _('Set an offset for all future GCODE move commands in mm.') }}</label>
|
|
|
|
</div>
|
|
|
|
<div class="row-fluid" style="margin-bottom: 15px">
|
|
|
|
<div class="input-append span3">
|
|
|
|
<input type="text" class="input-block-level span6" data-bind="value: offsetX">
|
2021-05-13 18:41:56 +03:00
|
|
|
<span class="add-on">X</span>
|
2018-04-26 22:06:09 +03:00
|
|
|
</div>
|
|
|
|
<div class="input-append span3">
|
|
|
|
<input type="text" class="input-block-level span6" data-bind="value: offsetY">
|
2021-05-13 18:41:56 +03:00
|
|
|
<span class="add-on">Y</span>
|
2018-04-26 22:06:09 +03:00
|
|
|
</div>
|
|
|
|
<div class="input-append span3">
|
|
|
|
<input type="text" class="input-block-level span6" data-bind="value: offsetZ">
|
2021-05-13 18:41:56 +03:00
|
|
|
<span class="add-on">Z</span>
|
2018-04-26 22:06:09 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row-fluid" style="margin-bottom: 15px">
|
|
|
|
<label class="checkbox">
|
|
|
|
<input type="checkbox" data-bind="checked: adjust" id="settings-serialAutoconnect">{{ _('Add to existing offset') }}
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
2021-04-01 13:05:50 +03:00
|
|
|
<button class="btn btn-block" data-bind="click: setOffset" data-dismiss="modal"><i class="icon-cross"></i> {{ _('Set Offset') }}</button>
|
2018-04-26 22:06:09 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|