From b48a10250c61109501d941072372c7f16603d9d9 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Sat, 29 Apr 2023 23:41:26 +0200 Subject: [PATCH] Add page layout to all views --- resources/js/components/Page/Layout.vue | 10 +- resources/js/views/Initialize/VIndex.vue | 34 ++- resources/js/views/activity/VForm.vue | 53 +++-- resources/js/views/activity/VIndex.vue | 25 +-- resources/js/views/allpayment/VForm.vue | 12 +- resources/js/views/contribution/VIndex.vue | 82 ++++---- resources/js/views/dashboard/VIndex.vue | 2 +- resources/js/views/member/ShowView.vue | 93 +++++---- resources/js/views/member/VForm.vue | 194 +++++++++--------- resources/js/views/member/VIndex.vue | 4 +- resources/js/views/sendpayment/VForm.vue | 23 ++- resources/js/views/setting/Layout.vue | 10 +- .../views/subscription/SubscriptionForm.vue | 82 +++----- .../views/subscription/SubscriptionIndex.vue | 8 +- 14 files changed, 307 insertions(+), 325 deletions(-) diff --git a/resources/js/components/Page/Layout.vue b/resources/js/components/Page/Layout.vue index 1fdbb9a8..3f5796e5 100644 --- a/resources/js/components/Page/Layout.vue +++ b/resources/js/components/Page/Layout.vue @@ -17,7 +17,7 @@ -
+
@@ -27,6 +27,14 @@ import {menuStore} from '../../stores/menuStore.js'; export default { + inheritAttrs: false, + props: { + pageClass: { + default: () => '', + required: false, + type: String, + }, + }, data: function () { return { menuStore: menuStore(), diff --git a/resources/js/views/Initialize/VIndex.vue b/resources/js/views/Initialize/VIndex.vue index d833e90e..3e03beca 100644 --- a/resources/js/views/Initialize/VIndex.vue +++ b/resources/js/views/Initialize/VIndex.vue @@ -1,25 +1,21 @@ diff --git a/resources/js/views/allpayment/VForm.vue b/resources/js/views/allpayment/VForm.vue index eab372da..bcd3f807 100644 --- a/resources/js/views/allpayment/VForm.vue +++ b/resources/js/views/allpayment/VForm.vue @@ -1,11 +1,13 @@ diff --git a/resources/js/views/setting/Layout.vue b/resources/js/views/setting/Layout.vue index 34e85308..95203d6a 100644 --- a/resources/js/views/setting/Layout.vue +++ b/resources/js/views/setting/Layout.vue @@ -1,8 +1,10 @@