OctoprintKlipperPlugin/octoprint_klipper/templates/klipper_leveling_dialog.jinja2

46 lines
2.3 KiB
Plaintext
Raw Normal View History

2018-01-24 19:12:57 +03:00
<div id="klipper_leveling_dialog" class="modal hide fade small" tabindex="-1" role="dialog" aria-labelledby="leveling_dialog_label" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h3 id="leveling_dialog_label">Assisted Bed Leveling</h3>
</div>
<div class="modal-body">
<div class="row-fluid">
<div class="span1">
<i class="fa fa-arrow-right pull-right" data-bind="visible: (activePoint() == -1)"></i>
</div>
<div class="span1"></div>
<div class="span1">
<button class="btn btn-mini btn-info btn-block" data-bind="click: gotoHome">
Home
</button>
</div>
<div class="span7">&nbsp;</div>
</div>
<div data-bind="foreach: settings.settings.plugins.klipper.probePoints">
<div class="row-fluid">
<div class="span1">
<i class="fa fa-arrow-right pull-right" data-bind="visible: ($index()==$parent.activePoint())"></i>
</div>
<div data-bind="text: $index" class="span1"></div>
<div class="span3">
<button class="btn btn-mini btn-info btn-block" data-bind="click: $parent.jumpToPoint">
( <span data-bind="text: x"></span>, <span data-bind="text: y"></span> )
</button>
2018-01-24 19:12:57 +03:00
</div>
<div class="span7">&nbsp;</div>
</div>
</div>
<div class="row-fluid">
<div class="span2"></div>
<div class="btn-toolbar span8">
<div class="btn-group">
<button class="btn" data-bind="click: startLeveling"><i class="icon-play"></i> Start</button>
<button class="btn" data-bind="click: previousPoint, enable: (activePoint() > 0)"><i class="icon-chevron-left"></i> Previous</button>
<button class="btn" data-bind="click: nextPoint, enable: (activePoint() < pointCount()-1)">Next <i class="icon-chevron-right"></i></button>
<button class="btn" data-bind="click: stopLeveling" data-dismiss="modal"><i class="icon-stop"></i> Stop</button>
</div>
2018-01-24 19:12:57 +03:00
</div>
<div class="span2"></div>
</div>
</div>
2018-01-24 19:12:57 +03:00
</div>