Rearranged element layout

This commit is contained in:
Joel Collins 2020-11-24 12:28:45 +00:00
parent a2f8158698
commit 455b8681f7

View file

@ -1,32 +1,30 @@
<template> <template>
<div id="CSMCalibrationSettings"> <div id="CSMCalibrationSettings">
<form @submit.prevent="applyConfigRequest"> <!--Show auto calibrate if default plugin is enabled-->
<!--Show auto calibrate if default plugin is enabled--> <div v-if="'calibrate_xy' in recalibrationLinks" class="uk-margin-small">
<div v-if="'calibrate_xy' in recalibrationLinks" class="uk-margin-small"> <taskSubmitter
<taskSubmitter :button-primary="true"
:button-primary="true" :can-terminate="false"
:can-terminate="false" :requires-confirmation="true"
:requires-confirmation="true" :confirmation-message="
:confirmation-message=" 'Start recalibration of the stage to the camera? This may take a while, and the microscope will be locked during this time.'
'Start recalibration of the stage to the camera? This may take a while, and the microscope will be locked during this time.' "
" :submit-url="recalibrationLinks.calibrate_xy.href"
:submit-url="recalibrationLinks.calibrate_xy.href" :submit-label="'Auto-Calibrate using camera'"
:submit-label="'Auto-Calibrate using camera'" @response="onRecalibrateResponse"
@response="onRecalibrateResponse" @error="onRecalibrateError"
@error="onRecalibrateError"
>
</taskSubmitter>
</div>
<button
v-if="'get_calibration' in recalibrationLinks"
v-show="dataAvailable && showExtraSettings"
type="button"
class="uk-button uk-button-default uk-width-1-1"
@click="getCalibrationData()"
> >
Download calibration data </taskSubmitter>
</button> </div>
</form> <button
v-if="'get_calibration' in recalibrationLinks"
v-show="dataAvailable && showExtraSettings"
type="button"
class="uk-button uk-button-default uk-width-1-1"
@click="getCalibrationData()"
>
Download calibration data
</button>
</div> </div>
</template> </template>