2021-06-25 13:55:49 +00:00
|
|
|
<template>
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
2021-08-19 10:05:14 +00:00
|
|
|
<div v-if="! $root.isMobile" class="col-12 col-md-5 col-xl-4">
|
|
|
|
<div>
|
2021-08-08 13:42:37 +00:00
|
|
|
<router-link to="/add" class="btn btn-primary mb-3"><font-awesome-icon icon="plus" /> Add New Monitor</router-link>
|
2021-06-25 13:55:49 +00:00
|
|
|
</div>
|
2021-08-19 10:05:14 +00:00
|
|
|
<MonitorList />
|
2021-06-25 13:55:49 +00:00
|
|
|
</div>
|
2021-08-19 10:05:14 +00:00
|
|
|
|
2021-06-30 13:04:58 +00:00
|
|
|
<div class="col-12 col-md-7 col-xl-8">
|
2021-06-25 13:55:49 +00:00
|
|
|
<router-view />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
2021-08-19 10:05:14 +00:00
|
|
|
import MonitorList from "../components/MonitorList.vue";
|
2021-06-27 08:10:55 +00:00
|
|
|
|
2021-06-25 13:55:49 +00:00
|
|
|
export default {
|
|
|
|
components: {
|
2021-08-19 10:05:14 +00:00
|
|
|
MonitorList,
|
2021-06-25 13:55:49 +00:00
|
|
|
},
|
|
|
|
data() {
|
2021-07-27 17:47:13 +00:00
|
|
|
return {}
|
2021-06-25 13:55:49 +00:00
|
|
|
},
|
2021-07-01 05:11:16 +00:00
|
|
|
|
2021-06-25 13:55:49 +00:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2021-08-08 05:47:29 +00:00
|
|
|
<style lang="scss" scoped>
|
2021-06-25 13:55:49 +00:00
|
|
|
.container-fluid {
|
|
|
|
width: 98%
|
|
|
|
}
|
|
|
|
</style>
|