From 5bb11c0bae7703fb26c76d1bbf5158b294838e53 Mon Sep 17 00:00:00 2001 From: Immanuel Onyeka Date: Wed, 9 Jun 2021 17:17:08 -0400 Subject: [PATCH] Show a completed dialog after a purchase --- resources/js/panel/credits.vue | 16 ++++++++++------ resources/js/panel/panel.vue | 9 ++------- resources/js/panel/purchase-completed.vue | 9 +++++++++ resources/js/panel/services.vue | 3 +-- resources/scss/main.scss | 10 ++++++++++ 5 files changed, 32 insertions(+), 15 deletions(-) create mode 100644 resources/js/panel/purchase-completed.vue diff --git a/resources/js/panel/credits.vue b/resources/js/panel/credits.vue index 6bff76c..5c98487 100644 --- a/resources/js/panel/credits.vue +++ b/resources/js/panel/credits.vue @@ -1,5 +1,5 @@ diff --git a/resources/js/panel/services.vue b/resources/js/panel/services.vue index 60f7e86..c76e8e9 100644 --- a/resources/js/panel/services.vue +++ b/resources/js/panel/services.vue @@ -81,7 +81,7 @@ - + @@ -155,7 +155,6 @@ function page() { case '#credits': return 'credits' } - console.log(this.active) } export default { diff --git a/resources/scss/main.scss b/resources/scss/main.scss index 0593ba2..5ee653a 100644 --- a/resources/scss/main.scss +++ b/resources/scss/main.scss @@ -1261,3 +1261,13 @@ div#card-errors { max-width: 15em; margin: auto; } + +.status-dialog { + margin: auto; + max-width: 20em; + + img { + margin: auto; + display: block; + } +}