Add modal progress box for stage recentering
I've also added a title to the modal box
This commit is contained in:
parent
a18ac90c24
commit
7dd4c1f4c6
2 changed files with 4 additions and 2 deletions
|
|
@ -35,8 +35,9 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="modal-center" ref="statusModal" class="" uk-modal>
|
<div id="modal-center" ref="statusModal" class="" uk-modal="bg-close: false; esc-close: false; stack: true;">
|
||||||
<div class="uk-modal-dialog uk-modal-body uk-margin-auto-vertical">
|
<div class="uk-modal-dialog uk-modal-body uk-margin-auto-vertical">
|
||||||
|
<h2>{{ submitLabel }}</h2>
|
||||||
<div id="log-container" ref="logContainer">
|
<div id="log-container" ref="logContainer">
|
||||||
<div v-for="(item, index) in log" :key="`log_entry_${index}`">
|
<div v-for="(item, index) in log" :key="`log_entry_${index}`">
|
||||||
{{ item.message }}
|
{{ item.message }}
|
||||||
|
|
|
||||||
|
|
@ -78,8 +78,9 @@
|
||||||
<taskSubmitter
|
<taskSubmitter
|
||||||
:submit-url="recentreActionUri"
|
:submit-url="recentreActionUri"
|
||||||
:submit-label="'Re-centre Stage'"
|
:submit-label="'Re-centre Stage'"
|
||||||
:can-terminate="false"
|
:can-terminate="true"
|
||||||
:requires-confirmation="true"
|
:requires-confirmation="true"
|
||||||
|
:modal-progress="true"
|
||||||
:confirmation-message="
|
:confirmation-message="
|
||||||
'The stage will now move, and autofocus will be used to find the centre of motion. This requires a sample to be visible in the microscope. OK to proceed?'
|
'The stage will now move, and autofocus will be used to find the centre of motion. This requires a sample to be visible in the microscope. OK to proceed?'
|
||||||
"
|
"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue