2021-07-04 23:27:00 +02:00
|
|
|
<template>
|
|
|
|
<div class="gap-6 grid-cols-4 grid p-6">
|
|
|
|
<block title="Ausstehende Mitgliedsbeiträge">
|
|
|
|
<div class="text-gray-100">
|
|
|
|
<span class="text-xl mr-1 font-semibold" v-text="data.payments.amount"></span>
|
|
|
|
<span class="text-sm" v-text="`von ${data.payments.users} / ${data.payments.all_users} Mitgliedern`"></span>
|
|
|
|
</div>
|
|
|
|
</block>
|
2021-08-23 01:26:46 +02:00
|
|
|
<block title="Gruppierungs-Verteilung">
|
|
|
|
<div v-for="group in data.groups" class="flex mt-2 items-center leading-none text-gray-100">
|
|
|
|
<sprite class="w-4 h-4 mr-2" src="lilie" :class="`text-${group.slug}`"></sprite>
|
|
|
|
<span v-text="group.name" class="flex-grow"></span>
|
|
|
|
<span v-text="group.count"></span>
|
|
|
|
</div>
|
|
|
|
</block>
|
2021-07-04 23:27:00 +02:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import App from '../../layouts/App';
|
|
|
|
import Block from './Block.vue';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
layout: App,
|
|
|
|
|
|
|
|
components: { Block },
|
|
|
|
|
|
|
|
props: {
|
|
|
|
data: {},
|
|
|
|
blocks: {}
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
</script>
|