mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-29 19:06:22 -07:00
35 lines
587 B
Vue
35 lines
587 B
Vue
|
<template>
|
||
|
<div class="card">
|
||
|
<header>%i18n:@title%</header>
|
||
|
<div class="card">
|
||
|
<header>%i18n:@local%</header>
|
||
|
<x-chart v-if="chart" :chart="chart" type="local"/>
|
||
|
</div>
|
||
|
<div class="card">
|
||
|
<header>%i18n:@remote%</header>
|
||
|
<x-chart v-if="chart" :chart="chart" type="remote"/>
|
||
|
</div>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import Vue from "vue";
|
||
|
import XChart from "./admin.drive-chart.chart.vue";
|
||
|
|
||
|
export default Vue.extend({
|
||
|
components: {
|
||
|
XChart
|
||
|
},
|
||
|
props: {
|
||
|
chart: {
|
||
|
required: true
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
<style lang="stylus" scoped>
|
||
|
@import '~const.styl'
|
||
|
|
||
|
</style>
|