Set access only to admins (#4)
This commit is contained in:
committed by
GitHub
parent
a2751b96d6
commit
38378cfdbf
@@ -56,7 +56,8 @@ prefer to start this process with the hot end at room temperature.",
|
||||
</div>
|
||||
<div data-bind="class: $root.columnFieldCls()">
|
||||
<div class="input-prepend input-append" id="bedPid">
|
||||
<button class="btn" data-bind="click: $root.getCurrentValues, enable: $root.controlViewModel.isOperational() && (!$root.controlViewModel.isPrinting())" title="Load current PIDs">
|
||||
<button class="btn" data-bind="click: $root.getCurrentValues, enable: $root.loginStateViewModel.isAdmin() && $root.controlViewModel.isOperational() && (!$root.controlViewModel.isPrinting())"
|
||||
title="Load current PIDs">
|
||||
<i class="fas fa-sync-alt" style="color:false" data-color="false"></i>  
|
||||
Get current values
|
||||
</button>
|
||||
@@ -103,7 +104,7 @@ prefer to start this process with the hot end at room temperature.",
|
||||
<div class="row-fluid" style="margin-bottom: 5px;">
|
||||
<div data-bind="class: $root.columnLabelCls()"></div>
|
||||
<div data-bind="class: $root.columnFieldCls()">
|
||||
<button class="btn btn-success" data-bind="click: $root.startPidHotEnd, enable: $root.controlViewModel.isOperational() && (!$root.controlViewModel.isPrinting())"
|
||||
<button class="btn btn-success" data-bind="click: $root.startPidHotEnd, enable: $root.loginStateViewModel.isAdmin() && $root.controlViewModel.isOperational() && (!$root.controlViewModel.isPrinting())"
|
||||
title="This will trigger PID auto tuning (M106 Sx; M303 Ex Sx U1; M500)">
|
||||
<i class="fas fa-play" style="color:false" data-color="false"></i>  
|
||||
Start hot-end PID auto-tunning
|
||||
@@ -150,7 +151,7 @@ prefer to start this process with the hot end at room temperature.",
|
||||
<div class="row-fluid" style="margin-bottom: 5px;">
|
||||
<div data-bind="class: $root.columnLabelCls()"></div>
|
||||
<div data-bind="class: $root.columnFieldCls()">
|
||||
<button class="btn btn-success" data-bind="click: $root.startPidBed, enable: $root.controlViewModel.isOperational() && (!$root.controlViewModel.isPrinting())"
|
||||
<button class="btn btn-success" data-bind="click: $root.startPidBed, enable: $root.loginStateViewModel.isAdmin() && $root.controlViewModel.isOperational() && (!$root.controlViewModel.isPrinting())"
|
||||
title="This will trigger PID auto tuning (M303 E-1 Sx U1; M500)">
|
||||
<i class="fas fa-play" style="color:false" data-color="false"></i>  
|
||||
Start bed PID auto-tunning
|
||||
|
||||
Reference in New Issue
Block a user