From 8b19247175075d8a5003c4f2e56fcce57cd19d67 Mon Sep 17 00:00:00 2001 From: pawlaczyk Date: Sat, 5 Jan 2019 21:56:38 +0100 Subject: [PATCH] Dodanie powiadomenia --- frontend/app/src/components/Navbar.vue | 10 ++++++---- frontend/app/src/components/Popup.vue | 14 +++++++++----- frontend/app/src/plugins/vuetify.js | 2 +- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/frontend/app/src/components/Navbar.vue b/frontend/app/src/components/Navbar.vue index 1f88db8..b0b2a1a 100644 --- a/frontend/app/src/components/Navbar.vue +++ b/frontend/app/src/components/Navbar.vue @@ -1,8 +1,10 @@ @@ -47,8 +49,10 @@ export default { methods:{ submit(){ if (this.$refs.form.validate()){ //valinnaj JS - this.loading = true; + // this.loading = true; console.log("Dodanie do bazy") + this.$emit('cardAdded') + } } diff --git a/frontend/app/src/plugins/vuetify.js b/frontend/app/src/plugins/vuetify.js index 59846e9..a44da09 100644 --- a/frontend/app/src/plugins/vuetify.js +++ b/frontend/app/src/plugins/vuetify.js @@ -8,7 +8,7 @@ Vue.use(Vuetify, { primary: '#212121', success: '#EEEEEE', info: '#ffaa2c', - error: '#f83e70', + error: '#D50000', myTheme: '#483D8B' } })