OctoprintKlipperPlugin/octoprint_klipper/templates/klipper_tab_main.jinja2

72 lines
3.4 KiB
Plaintext
Raw Normal View History

2018-01-23 17:01:58 +03:00
<div class="row-fluid">
<div class="span8">
2018-02-06 01:18:00 +03:00
<label><i class="icon-tasks"></i> {{ _('Messages') }}</label>
2018-02-02 23:51:24 +03:00
<div class="plugin-klipper-log" data-bind="foreach: logMessages">
2018-02-03 00:05:45 +03:00
<div class="log-item" data-bind="css: type">
2018-02-02 23:51:24 +03:00
<div data-bind="text: time" class="ts" ></div>
2018-02-03 00:05:45 +03:00
<div data-bind="html: msg" class="msg"></div>
2018-02-02 23:51:24 +03:00
</div>
2018-01-23 17:01:58 +03:00
</div>
2018-02-02 18:58:37 +03:00
&nbsp;
<button class="btn btn-mini pull-right clear-btn" data-bind="click: onClearLog, enable: isActive()"
title="Clear Log">
<i class="fa fa-trash"></i>{{ _('Clear') }}
</button>
2018-01-23 17:01:58 +03:00
</div>
<div class="span4">
2018-01-24 23:32:44 +03:00
<div class="control-group">
<div class="control-group">
<div class="controls">
2018-02-02 23:51:24 +03:00
<label class="control-label"></label>
<button class="btn btn-block btn-small" data-bind="click: onGetStatus, enable: isActive()"
title="Query Klipper for its current status">
<i class="fa icon-black fa-info-circle"></i> {{ _('Get Status') }}
</button>
</div>
2018-01-24 23:32:44 +03:00
</div>
<div class="control-group">
<div class="controls">
<label class="control-label small"><i class="icon-refresh"></i> {{ _('Restart') }}</label>
<button class="btn btn-block btn-small" data-bind="click: onRestartHost, enable: isActive()"
title="This will cause the host software to reload its config and perform an internal reset">
{{ _('Host') }}
</button>
<button class="btn btn-block btn-small" data-bind="click: onRestartFirmware, enable: isActive()"
title="Similar to a host restart, but also clears any error state from the micro-controller">
{{ _('Firmware') }}
</button>
</div>
2018-01-24 23:32:44 +03:00
</div>
<div class="control-group">
<div class="controls">
2018-02-05 18:36:05 +03:00
<label class="control-label"><i class="icon-wrench"></i> {{ _('Tools') }}</label>
<button class="btn btn-block btn-small" data-bind="click: showLevelingDialog, enable: isActive()"
title="Assists in manually leveling your printbed by moving the head to a configurable set of positions in sequence.">
{{ _('Assisted Bed Leveling') }}
</button>
<button class="btn btn-block btn-small" data-bind="click: showPidTuningDialog, enable: isActive()"
title="Determines optimal PID parameters by heat cycling the hotend/bed.">
{{ _('PID Tuning') }}
</button>
<button class="btn btn-block btn-small" data-bind="click: showOffsetDialog, enable: isActive()"
title="Sets a offset for subsequent GCODE coordinates.">
{{ _('Coordinate Offset') }}
</button>
<button class="btn btn-block btn-small" data-bind="click: showGraphDialog, enable: isActive()"
title="Assists in debugging performance issues by analyzing the Klipper log files.">
{{ _('Performance Graph') }}
</button>
</div>
2018-01-24 23:32:44 +03:00
</div>
<div class="controls">
2018-02-05 18:36:05 +03:00
<label class="control-label"><i class="icon-list-alt"></i> {{ _('Macros') }}</label>
2018-01-24 23:32:44 +03:00
<div data-bind="foreach: settings.settings.plugins.klipper.macros">
<!-- ko if: tab -->
<button class="btn btn-block btn-small" data-bind="text: name, click: $parent.executeMacro, enable: $parent.isActive()">
</button>
<!-- /ko -->
2018-01-24 23:32:44 +03:00
</div>
</div>
2018-01-23 17:01:58 +03:00
</div>
</div>
</div>