diff --git a/apps/app/components.d.ts b/apps/app/components.d.ts index d616e548..dc10f3de 100644 --- a/apps/app/components.d.ts +++ b/apps/app/components.d.ts @@ -20,6 +20,7 @@ declare module 'vue' { AppCombobox: typeof import('./src/@core/components/app-form-elements/AppCombobox.vue')['default'] AppDateTimePicker: typeof import('./src/@core/components/app-form-elements/AppDateTimePicker.vue')['default'] AppDrawerHeaderSection: typeof import('./src/@core/components/AppDrawerHeaderSection.vue')['default'] + AppKpiCard: typeof import('./src/components/AppKpiCard.vue')['default'] AppLoadingIndicator: typeof import('./src/components/AppLoadingIndicator.vue')['default'] AppPricing: typeof import('./src/components/AppPricing.vue')['default'] AppSearchHeader: typeof import('./src/components/AppSearchHeader.vue')['default'] @@ -54,6 +55,7 @@ declare module 'vue' { DangerZoneTab: typeof import('./src/components/organisation/settings/DangerZoneTab.vue')['default'] DeleteSubEventDialog: typeof import('./src/components/events/DeleteSubEventDialog.vue')['default'] DialogCloseBtn: typeof import('./src/@core/components/DialogCloseBtn.vue')['default'] + DismissFailureDialog: typeof import('./src/components/form-failures/DismissFailureDialog.vue')['default'] DropZone: typeof import('./src/@core/components/DropZone.vue')['default'] EditEventDialog: typeof import('./src/components/events/EditEventDialog.vue')['default'] EditOrganisationDialog: typeof import('./src/components/organisations/EditOrganisationDialog.vue')['default'] @@ -66,6 +68,8 @@ declare module 'vue' { ErrorHeader: typeof import('./src/components/ErrorHeader.vue')['default'] EventMetricCards: typeof import('./src/components/events/EventMetricCards.vue')['default'] EventTabsNav: typeof import('./src/components/events/EventTabsNav.vue')['default'] + FormFailureDetail: typeof import('./src/components/form-failures/FormFailureDetail.vue')['default'] + FormFailuresTable: typeof import('./src/components/form-failures/FormFailuresTable.vue')['default'] I18n: typeof import('./src/@core/components/I18n.vue')['default'] ImageUploadField: typeof import('./src/components/common/ImageUploadField.vue')['default'] ImpersonateDialog: typeof import('./src/components/platform/ImpersonateDialog.vue')['default'] @@ -89,6 +93,8 @@ declare module 'vue' { RegistrationFieldCard: typeof import('./src/components/event/RegistrationFieldCard.vue')['default'] RegistrationFieldFormDialog: typeof import('./src/components/event/RegistrationFieldFormDialog.vue')['default'] RegistrationFieldTemplatesTab: typeof import('./src/components/organisation/RegistrationFieldTemplatesTab.vue')['default'] + ResolveFailureDialog: typeof import('./src/components/form-failures/ResolveFailureDialog.vue')['default'] + RetryFailureDialog: typeof import('./src/components/form-failures/RetryFailureDialog.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] ScrollToTop: typeof import('./src/@core/components/ScrollToTop.vue')['default'] diff --git a/apps/app/src/components/AppKpiCard.vue b/apps/app/src/components/AppKpiCard.vue new file mode 100644 index 00000000..c11311b1 --- /dev/null +++ b/apps/app/src/components/AppKpiCard.vue @@ -0,0 +1,70 @@ + + + diff --git a/apps/app/src/pages/dashboard/index.vue b/apps/app/src/pages/dashboard/index.vue index de17c290..095949aa 100644 --- a/apps/app/src/pages/dashboard/index.vue +++ b/apps/app/src/pages/dashboard/index.vue @@ -5,9 +5,9 @@ const authStore = useAuthStore() const stats = [ { title: 'Evenementen', value: 0, icon: 'tabler-calendar-event', color: 'primary' }, - { title: 'Personen', value: 0, icon: 'tabler-users', color: 'success' }, - { title: 'Shifts', value: 0, icon: 'tabler-clock', color: 'warning' }, - { title: 'Briefings', value: 0, icon: 'tabler-mail', color: 'info' }, + { title: 'Personen', value: 0, icon: 'tabler-users', color: 'primary' }, + { title: 'Shifts', value: 0, icon: 'tabler-clock', color: 'primary' }, + { title: 'Briefings', value: 0, icon: 'tabler-mail', color: 'primary' }, ] @@ -33,29 +33,12 @@ const stats = [ md="3" class="d-flex" > - - - - - -
-

- {{ stat.title }} -

-

- {{ stat.value }} -

-
-
-
+ diff --git a/apps/app/src/pages/organisation/index.vue b/apps/app/src/pages/organisation/index.vue index b457b2b2..a6b3358e 100644 --- a/apps/app/src/pages/organisation/index.vue +++ b/apps/app/src/pages/organisation/index.vue @@ -150,6 +150,7 @@ function describeActivity(entry: ActivityLogEntry): string { - + @@ -186,111 +188,53 @@ function describeActivity(entry: ActivityLogEntry): string { - - -
- - - -

- {{ stats.members_count }} -

-
-

- Leden -

-

- Actieve leden in je organisatie -

-
-
+ />
- - -
- - - -

- {{ stats.events_count }} -

-
-

- Evenementen -

-

- {{ activeSubtitle }} -

-
-
+ />
- - -
- - - -

- {{ stats.persons_count }} -

-
-

- Personen -

-

- Over alle evenementen heen -

-
-
+