Added a popup to remind user to put away the probe
This commit is contained in:
@@ -306,7 +306,7 @@ script#control-view-template(type="text/x-template")
|
||||
.bar(:style="'width:' + (progress || 0) * 100 + '%'")
|
||||
tr
|
||||
td(style="white-space: nowrap;text-align:center")
|
||||
message(:show.sync=`probe_test`)
|
||||
message(:show.sync=`show_probe_test_modal`)
|
||||
h3(slot="header") Test probe connection
|
||||
|
||||
div(slot="body")
|
||||
@@ -315,14 +315,14 @@ script#control-view-template(type="text/x-template")
|
||||
p Touch the probe block to the bit.
|
||||
|
||||
div(slot="footer")
|
||||
button.pure-button(@click=`probe_test = false`)
|
||||
button.pure-button(@click=`show_probe_test_modal = false`)
|
||||
| Cancel
|
||||
|
||||
button.pure-button.button-success(
|
||||
:disabled=`!state.probe_connected`
|
||||
:disabled=`!state.saw_probe_connected`
|
||||
@click=`finish_probe_test()`) Continue
|
||||
|
||||
message(:show.sync=`tool_msg`)
|
||||
message(:show.sync=`show_tool_diameter_modal`)
|
||||
h3(slot="header") Enter probe tool information
|
||||
|
||||
div(slot="body")
|
||||
@@ -334,15 +334,32 @@ script#control-view-template(type="text/x-template")
|
||||
p
|
||||
|
||||
div(slot="footer")
|
||||
button.pure-button(@click=`tool_msg = false`)
|
||||
button.pure-button(@click=`show_tool_diameter_modal = false`)
|
||||
| Cancel
|
||||
|
||||
button.pure-button.button-success(
|
||||
@click=`set_tool_diameter(tool_diameter)`) Set
|
||||
@click=`set_tool_diameter(tool_diameter)`)
|
||||
| Set
|
||||
|
||||
button(:class="state['pw'] ? '' : 'load-on'", style="height:100px;width:200px", @click=`start_probe_test(show_tool_diameter_prompt)`) Probe XYZ
|
||||
button(:class="state['pw'] ? '' : 'load-on'", style="height:100px;width:200px", @click=`start_probe_test(probe_z)`) Probe Z
|
||||
message(:show.sync=`state.show_probe_complete_modal`)
|
||||
h3(slot="header") Probing complete!
|
||||
|
||||
div(slot="body")
|
||||
.pure-form
|
||||
p Don't forget to put away the probe!
|
||||
|
||||
div(slot="footer")
|
||||
button.pure-button.button-success(@click=`state.show_probe_complete_modal = false`)
|
||||
| Done
|
||||
|
||||
button(:class="state['pw'] ? '' : 'load-on'",
|
||||
style="height:100px;width:200px",
|
||||
@click=`start_probe_test(() => { show_tool_diameter_modal = true })`)
|
||||
| Probe XYZ
|
||||
button(:class="state['pw'] ? '' : 'load-on'",
|
||||
style="height:100px;width:200px",
|
||||
@click=`start_probe_test(probe_z)`)
|
||||
| Probe Z
|
||||
|
||||
.tabs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user