Sundry linting/debug removal
This commit is contained in:
parent
6a353ccbd3
commit
55a9f49fd2
3 changed files with 19 additions and 19 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
<div class="uk-grid uk-grid-divider uk-child-width-expand" uk-grid>
|
<div class="uk-grid uk-grid-divider uk-child-width-expand" uk-grid>
|
||||||
<div class="uk-width-large">
|
<div class="uk-width-large">
|
||||||
<h3>Manual camera settings</h3>
|
<h3>Manual camera settings</h3>
|
||||||
<form @submit.prevent="applySettingsRequest" >
|
<form @submit.prevent="applySettingsRequest">
|
||||||
<div class="uk-margin-small-bottom">
|
<div class="uk-margin-small-bottom">
|
||||||
<ul uk-accordion="multiple: true">
|
<ul uk-accordion="multiple: true">
|
||||||
<li class="uk-open">
|
<li class="uk-open">
|
||||||
|
|
@ -51,18 +51,18 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="picamera.awb_gains !== undefined">
|
<div v-if="picamera.awb_gains !== undefined">
|
||||||
<label class="uk-form-label" for="form-stacked-text" >
|
<label class="uk-form-label" for="form-stacked-text">
|
||||||
White Balance gains
|
White Balance gains
|
||||||
</label>
|
</label>
|
||||||
<div class="uk-form-controls">
|
<div class="uk-form-controls">
|
||||||
<label class="uk-form-label" >R:</label>
|
<label class="uk-form-label">R:</label>
|
||||||
<input
|
<input
|
||||||
v-model="picamera.awb_gains[0]"
|
v-model="picamera.awb_gains[0]"
|
||||||
class="uk-input uk-form-small"
|
class="uk-input uk-form-small"
|
||||||
type="number"
|
type="number"
|
||||||
step="0.0000000000000001"
|
step="0.0000000000000001"
|
||||||
/>
|
/>
|
||||||
<label class="uk-form-label" >B:</label>
|
<label class="uk-form-label">B:</label>
|
||||||
<input
|
<input
|
||||||
v-model="picamera.awb_gains[1]"
|
v-model="picamera.awb_gains[1]"
|
||||||
class="uk-input uk-form-small"
|
class="uk-input uk-form-small"
|
||||||
|
|
@ -290,8 +290,8 @@ export default {
|
||||||
framerate: parseInt(this.picamera.framerate),
|
framerate: parseInt(this.picamera.framerate),
|
||||||
awb_gains: [
|
awb_gains: [
|
||||||
parseFloat(this.picamera.awb_gains[0]),
|
parseFloat(this.picamera.awb_gains[0]),
|
||||||
parseFloat(this.picamera.awb_gains[1]),
|
parseFloat(this.picamera.awb_gains[1])
|
||||||
],
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,10 @@
|
||||||
>
|
>
|
||||||
</taskSubmitter>
|
</taskSubmitter>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="'auto_exposure_from_raw' in recalibrationLinks" class="uk-margin-small">
|
<div
|
||||||
|
v-if="'auto_exposure_from_raw' in recalibrationLinks"
|
||||||
|
class="uk-margin-small"
|
||||||
|
>
|
||||||
<taskSubmitter
|
<taskSubmitter
|
||||||
:can-terminate="false"
|
:can-terminate="false"
|
||||||
:requires-confirmation="false"
|
:requires-confirmation="false"
|
||||||
|
|
@ -26,7 +29,10 @@
|
||||||
>
|
>
|
||||||
</taskSubmitter>
|
</taskSubmitter>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="'auto_white_balance_from_raw' in recalibrationLinks" class="uk-margin-small">
|
<div
|
||||||
|
v-if="'auto_white_balance_from_raw' in recalibrationLinks"
|
||||||
|
class="uk-margin-small"
|
||||||
|
>
|
||||||
<taskSubmitter
|
<taskSubmitter
|
||||||
:can-terminate="false"
|
:can-terminate="false"
|
||||||
:requires-confirmation="false"
|
:requires-confirmation="false"
|
||||||
|
|
@ -37,13 +43,16 @@
|
||||||
>
|
>
|
||||||
</taskSubmitter>
|
</taskSubmitter>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="'auto_lens_shading_table' in recalibrationLinks" class="uk-margin-small">
|
<div
|
||||||
|
v-if="'auto_lens_shading_table' in recalibrationLinks"
|
||||||
|
class="uk-margin-small"
|
||||||
|
>
|
||||||
<taskSubmitter
|
<taskSubmitter
|
||||||
:can-terminate="false"
|
:can-terminate="false"
|
||||||
:requires-confirmation="true"
|
:requires-confirmation="true"
|
||||||
:confirmation-message="
|
:confirmation-message="
|
||||||
'Is the microscope looking at an evenly illuminated, empty field of view? ' +
|
'Is the microscope looking at an evenly illuminated, empty field of view? ' +
|
||||||
'If not, the current image will show through in any images captured afterwards.'
|
'If not, the current image will show through in any images captured afterwards.'
|
||||||
"
|
"
|
||||||
:submit-url="recalibrationLinks.auto_lens_shading_table.href"
|
:submit-url="recalibrationLinks.auto_lens_shading_table.href"
|
||||||
:submit-label="'Auto flat field correction'"
|
:submit-label="'Auto flat field correction'"
|
||||||
|
|
|
||||||
|
|
@ -95,21 +95,12 @@ export default {
|
||||||
// Cache the stream settings to local storage for persistence
|
// Cache the stream settings to local storage for persistence
|
||||||
// (the next 3 functions all relate to this)
|
// (the next 3 functions all relate to this)
|
||||||
disableStream: function(newValue) {
|
disableStream: function(newValue) {
|
||||||
console.log(
|
|
||||||
`disableStream updated to ${newValue} and saved in local storage`
|
|
||||||
);
|
|
||||||
this.setLocalStorageObj("disableStream", newValue);
|
this.setLocalStorageObj("disableStream", newValue);
|
||||||
},
|
},
|
||||||
autoGpuPreview: function(newValue) {
|
autoGpuPreview: function(newValue) {
|
||||||
console.log(
|
|
||||||
`GPU preview updated to ${newValue} and saved in local storage`
|
|
||||||
);
|
|
||||||
this.setLocalStorageObj("autoGpuPreview", newValue);
|
this.setLocalStorageObj("autoGpuPreview", newValue);
|
||||||
},
|
},
|
||||||
trackWindow: function(newValue) {
|
trackWindow: function(newValue) {
|
||||||
console.log(
|
|
||||||
`trackWindow updated to ${newValue} and saved in local storage`
|
|
||||||
);
|
|
||||||
this.setLocalStorageObj("trackWindow", newValue);
|
this.setLocalStorageObj("trackWindow", newValue);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue