diff --git a/src/components/Noise.vue b/src/components/Noise.vue
index 3b06ec2..6dfc63f 100644
--- a/src/components/Noise.vue
+++ b/src/components/Noise.vue
@@ -28,7 +28,7 @@
class="mx-3 mb-5"
fab
large
- color="secondary"
+ color="primary"
@click="stop"
>
mdi-stop
@@ -68,23 +68,6 @@
Save Profile
-
- {{ infoSnackbarText }}
-
-
-
- Close
-
-
-
-
+
+ {{ infoSnackbarText }}
+
+
+
+ Close
+
+
+
+
{
console.error(error.response)
+ this.errorSnackbarText = 'Error Saving Profile'
+ this.errorSnackbar = true
})
},
updateProfile () {
@@ -323,10 +327,14 @@ export default {
.then(response => {
if (response.status === 200) {
this.populateProfileItems(0)
+ this.infoSnackbarText = 'Profile Deleted'
+ this.infoSnackbar = true
}
})
.catch((error) => {
console.error(error.response)
+ this.errorSnackbarText = 'Error Deleting Profile'
+ this.errorSnackbar = true
})
},
getSamples () {
@@ -359,11 +367,13 @@ export default {
.then(response => {
if (response.status === 200) {
this.getSamples()
+ this.infoSnackbarText = 'Sample Uploaded'
+ this.infoSnackbar = true
}
})
.catch((error) => {
if (error.response.status === 409) {
- this.errorSnackbarText = 'Upload Failed: Duplicate Sample Name'
+ this.errorSnackbarText = 'Error Uploading Sample: Duplicate Sample Name'
this.errorSnackbar = true
}
console.error(error.response)
diff --git a/src/plugins/vuetify.js b/src/plugins/vuetify.js
index 496ec37..29ef87a 100644
--- a/src/plugins/vuetify.js
+++ b/src/plugins/vuetify.js
@@ -1,7 +1,19 @@
import Vue from 'vue'
import Vuetify from 'vuetify/lib/framework'
+import colors from 'vuetify/lib/util/colors'
+
Vue.use(Vuetify)
export default new Vuetify({
+ theme: {
+ themes: {
+ light: {
+ primary: colors.blueGrey
+ },
+ dark: {
+ primary: colors.blueGrey
+ }
+ }
+ }
})