You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
uptime-kuma/src/pages/Dashboard.vue

38 lines
914 B

3 years ago
<template>
<div class="container-fluid">
<div class="row">
<div v-if="! $root.isMobile" class="col-12 col-md-5 col-xl-4">
<div>
<router-link to="/add" class="btn btn-primary mb-3"><font-awesome-icon icon="plus" /> {{ $t("Add New Monitor") }}</router-link>
3 years ago
</div>
<MonitorList scrollbar="true" />
3 years ago
</div>
<div class="col-12 col-md-7 col-xl-8 mb-3">
<!-- Add :key to disable vue router re-use the same component -->
<router-view :key="$route.fullPath" />
3 years ago
</div>
</div>
</div>
</template>
<script>
import MonitorList from "../components/MonitorList.vue";
3 years ago
3 years ago
export default {
components: {
MonitorList,
3 years ago
},
data() {
3 years ago
return {}
3 years ago
},
}
</script>
<style lang="scss" scoped>
3 years ago
.container-fluid {
width: 98%;
3 years ago
}
</style>