2018-01-23 17:01:58 +03:00
|
|
|
<div class="row-fluid">
|
2021-04-11 23:27:04 +03:00
|
|
|
<div id="left-side">
|
2021-04-07 01:00:42 +03:00
|
|
|
<label> <i class="icon-tasks"></i> {{ _("Messages") }} </label>
|
|
|
|
<div class="plugin-klipper-log" data-bind="foreach: logMessages">
|
|
|
|
<div class="log-item" data-bind="css: type">
|
|
|
|
<div data-bind="text: time" class="ts"></div>
|
|
|
|
<div data-bind="html: msg" class="msg"></div>
|
2018-02-02 23:51:24 +03:00
|
|
|
</div>
|
2021-04-07 01:00:42 +03:00
|
|
|
</div>
|
|
|
|
|
2021-09-05 16:28:57 +03:00
|
|
|
<button class="btn btn-mini pull-right clear-btn" data-bind="click: onClearLog" title="{{ _('Clear Log') }}">
|
2021-05-13 20:42:39 +03:00
|
|
|
<i class="fa fa-trash"></i> {{ _('Clear Log') }}
|
2021-04-07 01:00:42 +03:00
|
|
|
</button>
|
|
|
|
</div>
|
2021-04-11 23:27:04 +03:00
|
|
|
<div id="right-side">
|
2021-04-07 01:00:42 +03:00
|
|
|
<div class="control-group">
|
2021-03-11 21:42:05 +03:00
|
|
|
<div class="control-group">
|
2021-04-07 01:00:42 +03:00
|
|
|
<div class="controls">
|
|
|
|
<label class="control-label"></label>
|
2021-09-05 16:28:57 +03:00
|
|
|
<button class="btn btn-block btn-small" data-bind="click: onGetStatus, enable: isActive()"
|
|
|
|
title="{{ _('Query Klipper for its current status') }}">
|
2021-04-07 01:00:42 +03:00
|
|
|
<i class="fa icon-black fa-info-circle"></i> {{ _("Get Status") }}
|
|
|
|
</button>
|
2021-09-05 16:28:57 +03:00
|
|
|
<button class="btn btn-block btn-small"
|
2021-09-05 19:33:32 +03:00
|
|
|
data-bind="visible: $root.loginState.hasPermissionKo($root.access.permissions.PLUGIN_KLIPPER_CONFIG), click: openOctoKlipperSettings('klipper-basic')"
|
|
|
|
title="{{ _('Open the OctoKlipper Settings') }}">
|
|
|
|
{{ _("Open OctoKlipper Settings") }}
|
|
|
|
</button>
|
|
|
|
<button class="btn btn-block btn-small"
|
|
|
|
data-bind="visible: $root.loginState.hasPermissionKo($root.access.permissions.PLUGIN_KLIPPER_CONFIG), click: showEditorDialog"
|
|
|
|
title="{{ _('Show the Editor') }}">
|
2021-04-07 01:00:42 +03:00
|
|
|
<i class="fa icon-black fa-file-code-o"></i>
|
2021-09-05 19:33:32 +03:00
|
|
|
{{ _("Show Editor") }}
|
2021-04-07 01:00:42 +03:00
|
|
|
</button>
|
|
|
|
</div>
|
2021-03-11 21:42:05 +03:00
|
|
|
</div>
|
2021-04-07 01:00:42 +03:00
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
2021-09-05 16:28:57 +03:00
|
|
|
<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') }}">
|
2021-04-07 01:00:42 +03:00
|
|
|
{{ _("Host") }}
|
|
|
|
</button>
|
2021-09-05 16:28:57 +03:00
|
|
|
<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') }}">
|
2021-04-07 01:00:42 +03:00
|
|
|
{{ _("Firmware") }}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
2021-09-05 16:28:57 +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.') }}">
|
2021-04-07 01:00:42 +03:00
|
|
|
{{ _("Assisted Bed Leveling") }}
|
|
|
|
</button>
|
2021-09-05 16:28:57 +03:00
|
|
|
<button class="btn btn-block btn-small" data-bind="click: showPidTuningDialog, enable: isActive()"
|
|
|
|
title="{{ _('Determines optimal PID parameters by heat cycling the hotend/bed.') }}">
|
2021-04-07 01:00:42 +03:00
|
|
|
{{ _("PID Tuning") }}
|
|
|
|
</button>
|
2021-09-05 16:28:57 +03:00
|
|
|
<button class="btn btn-block btn-small" data-bind="click: showOffsetDialog, enable: isActive()"
|
|
|
|
title="{{ _('Sets a offset for subsequent GCODE coordinates.') }}">
|
2021-04-07 01:00:42 +03:00
|
|
|
{{ _("Coordinate Offset") }}
|
|
|
|
</button>
|
2021-09-05 16:28:57 +03:00
|
|
|
<button class="btn btn-block btn-small" data-bind="click: showGraphDialog"
|
|
|
|
title="{{ _('Assists in debugging performance issues by analyzing the Klipper log files.') }}">
|
2021-04-07 01:00:42 +03:00
|
|
|
{{ _("Analyze Klipper Log") }}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-09-05 16:28:57 +03:00
|
|
|
<div class="controls" data-bind="visible: $root.loginState.hasPermissionKo($root.access.permissions.PLUGIN_KLIPPER_MACRO)">
|
|
|
|
<label class="control-label"><i class="icon-list-alt"></i> {{ _("Macros") }}</label>
|
2021-04-07 01:00:42 +03:00
|
|
|
<div data-bind="foreach: settings.settings.plugins.klipper.macros">
|
|
|
|
<!-- ko if: tab -->
|
2021-09-05 16:28:57 +03:00
|
|
|
<button class="btn btn-block btn-small" data-bind="text: name, click: $parent.executeMacro, enable: $parent.isActive()">
|
|
|
|
</button>
|
2021-04-07 01:00:42 +03:00
|
|
|
<!-- /ko -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-03-27 01:39:08 +03:00
|
|
|
</div>
|