🌈 style(main_tab): move button for OctoKlipper settings

move the button for the OctoKlipper
settings out of the basic menu on the main tab
This commit is contained in:
thelastWallE 2021-10-19 10:29:12 +02:00
parent 794b016bc3
commit b0ee099a41
3 changed files with 8 additions and 9 deletions

View File

@ -315,8 +315,7 @@ div#settings_plugin_klipper.tab-pane.active form.form-horizontal div.tab-content
vertical-align: -0.2em;
}
div#settings_plugin_klipper.tab-pane.active form.form-horizontal div.tab-content div.tab-pane.active label.inline,
div#klipper_editor .inline {
.klipper-inline {
display: inline;
}

View File

@ -183,7 +183,7 @@ $(function () {
};
};
self.saveCfg= function (options) {
self.saveCfg = function (options) {
var options = options || {};
var closing = options.closing || false;

View File

@ -1,6 +1,11 @@
<div class="row-fluid">
<div id="left-side">
<label> <i class="icon-tasks"></i> {{ _("Messages") }} </label>
<label class="klipper-inline"> <i class="icon-tasks"></i> {{ _("Messages") }} </label>
<button class="btn btn-small pull-right"
data-bind="visible: $root.loginState.hasPermissionKo($root.access.permissions.PLUGIN_KLIPPER_CONFIG), click: openOctoKlipperSettings('klipper-basic')"
title="{{ _('Open the OctoKlipper Settings') }}">
<i class="fa icon-black fa-wrench"></i>
</button>
<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>
@ -21,11 +26,6 @@
title="{{ _('Query Klipper for its current status') }}">
<i class="fa icon-black fa-info-circle"></i> {{ _("Get Status") }}
</button>
<button class="btn btn-block btn-small"
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') }}">