Update welcome page, routing modul for Admin dan Perencana
This commit is contained in:
13
src/views/drp/drp-monitoring.vue
Normal file
13
src/views/drp/drp-monitoring.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="content-block">Drp Monitoring</h2>
|
||||
<div class="content-block">
|
||||
<div class="dx-card responsive-paddings">
|
||||
Put your content here
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
@@ -3,7 +3,12 @@
|
||||
<h2 class="content-block">Home</h2>
|
||||
<div class="content-block">
|
||||
<div class="dx-card responsive-paddings">
|
||||
<div class="logos-container">
|
||||
<h3>{{ greet }}, <i>{{ nama }}</i></h3>
|
||||
<p>
|
||||
Anda login menggunakan <strong>{{ username }}</strong> dengan
|
||||
hak akses sebagai <strong>{{ role }}</strong>
|
||||
</p>
|
||||
<!--<div class="logos-container">
|
||||
<svg
|
||||
class="devextreme-logo"
|
||||
viewBox="0 0 200 34"
|
||||
@@ -129,11 +134,44 @@
|
||||
For technical content related to DevExtreme Vue components, feel free to explore
|
||||
our <a href="https://js.devexpress.com/documentation/" target="_blank" rel="noopener noreferrer">online documentation</a>
|
||||
and <a href="https://js.devexpress.com/Demos/Widgetsgallery/" target="_blank" rel="noopener noreferrer">technical demos</a>.
|
||||
</p>
|
||||
</p>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import auth from "../auth";
|
||||
import { ref } from 'vue';
|
||||
|
||||
export default {
|
||||
setup() {
|
||||
const nama = ref("");
|
||||
const username = ref("");
|
||||
const role = ref("");
|
||||
const today = new Date();
|
||||
const hrs = today.getHours();
|
||||
var greet = ref("");
|
||||
|
||||
auth.getUser().then((e) => nama.value = e.data.nama);
|
||||
auth.getUser().then((e) => username.value = e.data.username);
|
||||
auth.getUser().then((e) => role.value = e.data.role);
|
||||
|
||||
if (hrs >= 0) greet = "Selamat Malam"; // REALLY early
|
||||
if (hrs > 4) greet = "Selamat Pagi"; // After 6am
|
||||
if (hrs > 10) greet = "Selamat Siang"; // After 11pm
|
||||
if (hrs > 14) greet = "Selamat Sore"; // After 14pm
|
||||
if (hrs > 16) greet = "Selamat Petang";// After 14pm
|
||||
if (hrs > 18) greet = "Selamat Malam"; // After 10pm
|
||||
|
||||
return {
|
||||
nama,
|
||||
username,
|
||||
role,
|
||||
greet,
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.logos-container {
|
||||
|
13
src/views/hps/hps-approval.vue
Normal file
13
src/views/hps/hps-approval.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="content-block">Hps Approval</h2>
|
||||
<div class="content-block">
|
||||
<div class="dx-card responsive-paddings">
|
||||
Put your content here
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
13
src/views/hps/hps-cetak.vue
Normal file
13
src/views/hps/hps-cetak.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="content-block">Hps Cetak</h2>
|
||||
<div class="content-block">
|
||||
<div class="dx-card responsive-paddings">
|
||||
Put your content here
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
13
src/views/hps/hps-monitoring.vue
Normal file
13
src/views/hps/hps-monitoring.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="content-block">Hps Monitoring</h2>
|
||||
<div class="content-block">
|
||||
<div class="dx-card responsive-paddings">
|
||||
Put your content here
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
13
src/views/hps/hps-penyusunan.vue
Normal file
13
src/views/hps/hps-penyusunan.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="content-block">Hps Penyusunan</h2>
|
||||
<div class="content-block">
|
||||
<div class="dx-card responsive-paddings">
|
||||
Put your content here
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
13
src/views/hps/hps-revisi.vue
Normal file
13
src/views/hps/hps-revisi.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="content-block">Hps Revisi</h2>
|
||||
<div class="content-block">
|
||||
<div class="dx-card responsive-paddings">
|
||||
Put your content here
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
13
src/views/kontrak/kontrak-monitoring.vue
Normal file
13
src/views/kontrak/kontrak-monitoring.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="content-block">Kontrak Monitoring</h2>
|
||||
<div class="content-block">
|
||||
<div class="dx-card responsive-paddings">
|
||||
Put your content here
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
13
src/views/rks-hpe/rks-hpe-approval.vue
Normal file
13
src/views/rks-hpe/rks-hpe-approval.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="content-block">Rks Hpe Approval</h2>
|
||||
<div class="content-block">
|
||||
<div class="dx-card responsive-paddings">
|
||||
Put your content here
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
13
src/views/rks-hpe/rks-hpe-cetak.vue
Normal file
13
src/views/rks-hpe/rks-hpe-cetak.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="content-block">Rks Hpe Cetak</h2>
|
||||
<div class="content-block">
|
||||
<div class="dx-card responsive-paddings">
|
||||
Put your content here
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
13
src/views/rks-hpe/rks-hpe-penyusunan.vue
Normal file
13
src/views/rks-hpe/rks-hpe-penyusunan.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="content-block">Rks Hpe Penyusunan</h2>
|
||||
<div class="content-block">
|
||||
<div class="dx-card responsive-paddings">
|
||||
Put your content here
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
13
src/views/rks-hpe/rks-hpe-revisi.vue
Normal file
13
src/views/rks-hpe/rks-hpe-revisi.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="content-block">Rks Hpe Revisi</h2>
|
||||
<div class="content-block">
|
||||
<div class="dx-card responsive-paddings">
|
||||
Put your content here
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
13
src/views/rks-hpe/rks-monitoring.vue
Normal file
13
src/views/rks-hpe/rks-monitoring.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="content-block">Rks Monitoring</h2>
|
||||
<div class="content-block">
|
||||
<div class="dx-card responsive-paddings">
|
||||
Put your content here
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
13
src/views/rks/rks-daftar-kontrak.vue
Normal file
13
src/views/rks/rks-daftar-kontrak.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="content-block">/rks/rks Daftar Kontrak</h2>
|
||||
<div class="content-block">
|
||||
<div class="dx-card responsive-paddings">
|
||||
Put your content here
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
13
src/views/rks/rks-template-kontrak.vue
Normal file
13
src/views/rks/rks-template-kontrak.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="content-block">/rks/rks Template Kontrak</h2>
|
||||
<div class="content-block">
|
||||
<div class="dx-card responsive-paddings">
|
||||
Put your content here
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
13
src/views/rks/rks-template.vue
Normal file
13
src/views/rks/rks-template.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="content-block">/rks/rks Template</h2>
|
||||
<div class="content-block">
|
||||
<div class="dx-card responsive-paddings">
|
||||
Put your content here
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
Reference in New Issue
Block a user