feat: add more pages
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<script lang="ts" setup>
|
||||
definePageMeta({
|
||||
redirect: "/dashboard/site",
|
||||
});
|
||||
const tags = usePortalTags();
|
||||
|
||||
onBeforeMount(() =>
|
||||
navigateTo(
|
||||
toValue(tags).interest ? "/dashboard/interest-analytics" : "/dashboard/site"
|
||||
)
|
||||
);
|
||||
</script>
|
||||
|
||||
31
pages/dashboard/interest-analytics.vue
Normal file
31
pages/dashboard/interest-analytics.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<div class="embed">
|
||||
<iframe
|
||||
src="https://flows.portnimara.com/public/dashboards/rLjObZdvDrRCLO8OvI7Bi3Wlmc2S7aFLsnt8B8Rd?org_slug=default"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
useHead({
|
||||
title: "Analytics",
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.embed {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.embed iframe {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: calc(100% + 180px);
|
||||
border: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
</style>
|
||||
30
pages/dashboard/interest-berth-list.vue
Normal file
30
pages/dashboard/interest-berth-list.vue
Normal file
@@ -0,0 +1,30 @@
|
||||
<template>
|
||||
<div class="embed">
|
||||
<iframe
|
||||
src="https://database.portnimara.com/dashboard/#/nc/gallery/3553e50d-5882-46ea-99e2-4542a1d92ef4"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
useHead({
|
||||
title: "Berth List",
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.embed {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.embed iframe {
|
||||
width: 100%;
|
||||
height: calc(100% + 46px);
|
||||
border: 0;
|
||||
position: absolute;
|
||||
top: -46px;
|
||||
}
|
||||
</style>
|
||||
30
pages/dashboard/interest-berth-status.vue
Normal file
30
pages/dashboard/interest-berth-status.vue
Normal file
@@ -0,0 +1,30 @@
|
||||
<template>
|
||||
<div class="embed">
|
||||
<iframe
|
||||
src="https://database.portnimara.com/dashboard/#/nc/kanban/b695ec72-2af5-4d13-a73f-9c72cd223680"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
useHead({
|
||||
title: "Berth Status",
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.embed {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.embed iframe {
|
||||
width: 100%;
|
||||
height: calc(100% + 46px);
|
||||
border: 0;
|
||||
position: absolute;
|
||||
top: -46px;
|
||||
}
|
||||
</style>
|
||||
30
pages/dashboard/interest-list.vue
Normal file
30
pages/dashboard/interest-list.vue
Normal file
@@ -0,0 +1,30 @@
|
||||
<template>
|
||||
<div class="embed">
|
||||
<iframe
|
||||
src="https://database.portnimara.com/dashboard/#/nc/view/ebf570e4-8329-424d-a43d-a775d2169ffc"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
useHead({
|
||||
title: "Interest List",
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.embed {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.embed iframe {
|
||||
width: 100%;
|
||||
height: calc(100% + 46px);
|
||||
border: 0;
|
||||
position: absolute;
|
||||
top: -46px;
|
||||
}
|
||||
</style>
|
||||
30
pages/dashboard/interest-status.vue
Normal file
30
pages/dashboard/interest-status.vue
Normal file
@@ -0,0 +1,30 @@
|
||||
<template>
|
||||
<div class="embed">
|
||||
<iframe
|
||||
src="https://database.portnimara.com/dashboard/#/nc/kanban/2fe9125c-9051-4b49-93ff-745159528425"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
useHead({
|
||||
title: "Interest Status",
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.embed {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.embed iframe {
|
||||
width: 100%;
|
||||
height: calc(100% + 46px);
|
||||
border: 0;
|
||||
position: absolute;
|
||||
top: -46px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user