diff --git a/src/resources/js/apps/App.vue b/src/resources/js/apps/App.vue
index 87ac80bc0..d3ceabb48 100644
--- a/src/resources/js/apps/App.vue
+++ b/src/resources/js/apps/App.vue
@@ -3,10 +3,18 @@
-
+
- primary
-
+ primary
+
@@ -17,11 +25,15 @@ export default {
components: {},
data: () => ({
loader: false,
- message: "Loading",
+ title: "Loading",
+ color: "primary",
+ headerColor: null,
}),
methods: {
openLoader(payload = null) {
- this.message = payload ? payload.message : "Loading";
+ this.title = payload ? payload.title : "Loading";
+ this.color = payload ? payload.color : "primary";
+ this.headerColor = payload ? payload.headerColor : null;
this.loader = true;
},
closeLoader() {
@@ -31,13 +43,13 @@ export default {
computed: {
getSelectedLocale: {
get() {
- return this.$store.getters['badaso/getSelectedLocale']
- }
+ return this.$store.getters["badaso/getSelectedLocale"];
+ },
},
verified: {
get() {
- return this.$store.getters['badaso/isVerified']
- }
+ return this.$store.getters["badaso/isVerified"];
+ },
},
keyIssue: {
get() {
@@ -46,11 +58,11 @@ export default {
},
},
mounted() {
- this.$i18n.locale = this.getSelectedLocale.key
+ this.$i18n.locale = this.getSelectedLocale.key;
this.$store.commit("badaso/FETCH_CONFIGURATION");
},
beforeMount() {
this.$store.commit("badaso/VERIFY_BADASO");
- }
+ },
};
diff --git a/src/resources/js/assets/scss/layout/_vs-modified.scss b/src/resources/js/assets/scss/layout/_vs-modified.scss
index 5d04e8272..f498cece7 100644
--- a/src/resources/js/assets/scss/layout/_vs-modified.scss
+++ b/src/resources/js/assets/scss/layout/_vs-modified.scss
@@ -244,4 +244,12 @@ th .vs-table-text {
.vs-progress--indeterminate {
background: $primary;
}
+}
+
+.vs-dialog-primary .vs-dialog .after {
+ background: $primary;
+}
+
+.vs-dialog-primary .vs-dialog .vs-dialog-header {
+ color: $primary;
}
\ No newline at end of file
diff --git a/src/resources/js/components/BadasoLoader.vue b/src/resources/js/components/BadasoLoader.vue
deleted file mode 100644
index 9423aaf54..000000000
--- a/src/resources/js/components/BadasoLoader.vue
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
- primary
-
-
-
-
diff --git a/src/resources/js/components/BadasoPrompt.vue b/src/resources/js/components/BadasoPrompt.vue
new file mode 100644
index 000000000..238228bc1
--- /dev/null
+++ b/src/resources/js/components/BadasoPrompt.vue
@@ -0,0 +1,232 @@
+
+
+
+
+
+
+
+
+
+
+ {{ text }}
+
+
+
+
+
+
+
+
+
+
+