hippofish/packages/frontend/src/pages/admin/overview.heatmap.vue

32 lines
884 B
Vue
Raw Normal View History

<!--
SPDX-FileCopyrightText: syuilo and other misskey contributors
SPDX-License-Identifier: AGPL-3.0-only
-->
2022-12-27 01:47:54 +01:00
<template>
<div class="_panel" :class="$style.root">
2022-12-30 10:26:36 +01:00
<MkSelect v-model="src" style="margin: 0 0 12px 0;" small>
<option value="active-users">Active users</option>
<option value="notes">Notes</option>
<option value="ap-requests-inbox-received">AP Requests: inboxReceived</option>
<option value="ap-requests-deliver-succeeded">AP Requests: deliverSucceeded</option>
<option value="ap-requests-deliver-failed">AP Requests: deliverFailed</option>
</MkSelect>
<MkHeatmap :src="src"/>
2022-12-27 01:47:54 +01:00
</div>
</template>
<script lang="ts" setup>
import { ref } from 'vue';
2022-12-30 10:26:36 +01:00
import MkHeatmap from '@/components/MkHeatmap.vue';
2023-01-07 07:09:46 +01:00
import MkSelect from '@/components/MkSelect.vue';
2022-12-30 10:26:36 +01:00
const src = ref('active-users');
2022-12-27 01:47:54 +01:00
</script>
<style lang="scss" module>
.root {
padding: 20px;
}
</style>