MkFolder
This commit is contained in:
parent
1b69006040
commit
ac90543382
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div :class="$style.root">
|
||||
<MkFoldableSection class="item">
|
||||
<MkFolder class="item">
|
||||
<template #header>Chart</template>
|
||||
<div :class="$style.chart">
|
||||
<div class="selects">
|
||||
|
@ -34,9 +34,9 @@
|
|||
<MkChart :src="chartSrc" :span="chartSpan" :limit="chartLimit" :detailed="true"></MkChart>
|
||||
</div>
|
||||
</div>
|
||||
</MkFoldableSection>
|
||||
</MkFolder>
|
||||
|
||||
<MkFoldableSection class="item">
|
||||
<MkFolder class="item">
|
||||
<template #header>Active users heatmap</template>
|
||||
<MkSelect v-model="heatmapSrc" style="margin: 0 0 12px 0;">
|
||||
<option value="active-users">Active users</option>
|
||||
|
@ -48,16 +48,16 @@
|
|||
<div class="_panel" :class="$style.heatmap">
|
||||
<MkHeatmap :src="heatmapSrc"/>
|
||||
</div>
|
||||
</MkFoldableSection>
|
||||
</MkFolder>
|
||||
|
||||
<MkFoldableSection class="item">
|
||||
<MkFolder class="item">
|
||||
<template #header>Retention rate</template>
|
||||
<div class="_panel" :class="$style.retention">
|
||||
<MkRetentionHeatmap/>
|
||||
</div>
|
||||
</MkFoldableSection>
|
||||
</MkFolder>
|
||||
|
||||
<MkFoldableSection class="item">
|
||||
<MkFolder class="item">
|
||||
<template #header>Federation</template>
|
||||
<div :class="$style.federation">
|
||||
<div class="pies">
|
||||
|
@ -71,7 +71,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</MkFoldableSection>
|
||||
</MkFolder>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -84,7 +84,7 @@ import { useChartTooltip } from '@/scripts/use-chart-tooltip';
|
|||
import * as os from '@/os';
|
||||
import { i18n } from '@/i18n';
|
||||
import MkHeatmap from '@/components/MkHeatmap.vue';
|
||||
import MkFoldableSection from '@/components/MkFoldableSection.vue';
|
||||
import MkFolder from '@/components/MkFolder.vue';
|
||||
import MkRetentionHeatmap from '@/components/MkRetentionHeatmap.vue';
|
||||
import { initChart } from '@/scripts/init-chart';
|
||||
|
||||
|
|
|
@ -1,55 +1,55 @@
|
|||
<template>
|
||||
<MkSpacer :content-max="1000">
|
||||
<div ref="rootEl" class="edbbcaef">
|
||||
<MkFoldableSection class="item">
|
||||
<MkFolder class="item">
|
||||
<template #header>Stats</template>
|
||||
<XStats/>
|
||||
</MkFoldableSection>
|
||||
</MkFolder>
|
||||
|
||||
<MkFoldableSection class="item">
|
||||
<MkFolder class="item">
|
||||
<template #header>Active users</template>
|
||||
<XActiveUsers/>
|
||||
</MkFoldableSection>
|
||||
</MkFolder>
|
||||
|
||||
<MkFoldableSection class="item">
|
||||
<MkFolder class="item">
|
||||
<template #header>Heatmap</template>
|
||||
<XHeatmap/>
|
||||
</MkFoldableSection>
|
||||
</MkFolder>
|
||||
|
||||
<MkFoldableSection class="item">
|
||||
<MkFolder class="item">
|
||||
<template #header>Moderators</template>
|
||||
<XModerators/>
|
||||
</MkFoldableSection>
|
||||
</MkFolder>
|
||||
|
||||
<MkFoldableSection class="item">
|
||||
<MkFolder class="item">
|
||||
<template #header>Federation</template>
|
||||
<XFederation/>
|
||||
</MkFoldableSection>
|
||||
</MkFolder>
|
||||
|
||||
<MkFoldableSection class="item">
|
||||
<MkFolder class="item">
|
||||
<template #header>Instances</template>
|
||||
<XInstances/>
|
||||
</MkFoldableSection>
|
||||
</MkFolder>
|
||||
|
||||
<MkFoldableSection class="item">
|
||||
<MkFolder class="item">
|
||||
<template #header>Ap requests</template>
|
||||
<XApRequests/>
|
||||
</MkFoldableSection>
|
||||
</MkFolder>
|
||||
|
||||
<MkFoldableSection class="item">
|
||||
<MkFolder class="item">
|
||||
<template #header>New users</template>
|
||||
<XUsers/>
|
||||
</MkFoldableSection>
|
||||
</MkFolder>
|
||||
|
||||
<MkFoldableSection class="item">
|
||||
<MkFolder class="item">
|
||||
<template #header>Deliver queue</template>
|
||||
<XQueue domain="deliver"/>
|
||||
</MkFoldableSection>
|
||||
</MkFolder>
|
||||
|
||||
<MkFoldableSection class="item">
|
||||
<MkFolder class="item">
|
||||
<template #header>Inbox queue</template>
|
||||
<XQueue domain="inbox"/>
|
||||
</MkFoldableSection>
|
||||
</MkFolder>
|
||||
</div>
|
||||
</MkSpacer>
|
||||
</template>
|
||||
|
@ -73,7 +73,7 @@ import { i18n } from '@/i18n';
|
|||
import { definePageMetadata } from '@/scripts/page-metadata';
|
||||
import { defaultStore } from '@/store';
|
||||
import MkFileListForAdmin from '@/components/MkFileListForAdmin.vue';
|
||||
import MkFoldableSection from '@/components/MkFoldableSection.vue';
|
||||
import MkFolder from '@/components/MkFolder.vue';
|
||||
|
||||
const rootEl = $shallowRef<HTMLElement>();
|
||||
let serverInfo: any = $ref(null);
|
||||
|
|
Loading…
Reference in New Issue