Initial import
This commit is contained in:
205
one-ui/management/one-management-menu/index.php
Normal file
205
one-ui/management/one-management-menu/index.php
Normal file
@@ -0,0 +1,205 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>One</title>
|
||||
<link rel="stylesheet" href="../../libs/vendor/css/google-fonts.css">
|
||||
<link rel="stylesheet" href="../../libs/vendor/css/icomoon-fonts.css">
|
||||
<link rel="stylesheet" href="../../libs/vendor/css/vuetify.min.css">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Days+One&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div v-cloak id="app">
|
||||
<v-app id="smartApp" >
|
||||
<v-card @click="goToMenu('/one-ui/management/one-management-menu')" tile elevation="5" color="#85352e" class="pt-2 pb-2 mb-1">
|
||||
<v-flex class="text-xs-center" xs12>
|
||||
<h3 style="font-family: 'Days One', sans-serif;color:#FFFFFF">BISONE</h3>
|
||||
</v-flex>
|
||||
</v-card>
|
||||
<v-content style="background:#fff8dc8c">
|
||||
<v-layout class="align-center pr-2 mb-2 " row>
|
||||
<v-flex class="text-xs-left mt-2" xs6>
|
||||
<p class="pl-2 mb-0 font-weight-black">MENU</p>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
<v-container fluid fill-height class="pl-1 pr-1 pt-1 pb-2">
|
||||
<v-layout row>
|
||||
<v-flex sm12>
|
||||
<v-layout style="border:5px solid #3c4242" class="pa-2" row>
|
||||
<v-flex class="text-xs-left" xs12 and-down>
|
||||
<v-layout align-center mb-1 wrap>
|
||||
<v-flex xs6 pa-1 >
|
||||
<v-layout align-center row>
|
||||
<v-flex xs12>
|
||||
<v-card @click="goToMenu('/one-ui/management/one-sales')" elevation="3" color="#6fcb9f" class="pa-2">
|
||||
<v-layout row>
|
||||
<v-flex xs12>
|
||||
<h4 class="caption mono">TOTAL OMSET</h4>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-card>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-flex>
|
||||
<v-flex xs6 pa-1>
|
||||
<v-layout align-center row>
|
||||
<v-flex xs12>
|
||||
<v-card @click="goToMenu('/one-ui/management/one-sales-per-payment')" elevation="3" color="#6fcb9f" class="pa-2">
|
||||
<v-layout row>
|
||||
<v-flex xs12>
|
||||
<h4 class="caption mono">OMSET PER PEMBAYARAN</h4>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-card>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-flex>
|
||||
<v-flex xs6 pa-1>
|
||||
<v-layout align-center row>
|
||||
<v-flex xs12>
|
||||
<v-card @click="goToMenu('/one-ui/management/one-sales-per-omset')" elevation="3" color="#6fcb9f" class="pa-2">
|
||||
<v-layout row>
|
||||
<v-flex xs12>
|
||||
<h4 class="caption mono">OMSET PER TIPE</h4>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-card>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-flex>
|
||||
<v-flex xs6 pa-1>
|
||||
<v-layout align-center row>
|
||||
<v-flex xs12>
|
||||
<v-card @click="goToMenu('/one-ui/management/one-sales-per-product')" elevation="3" color="#6fcb9f" class="pa-2">
|
||||
<v-layout row>
|
||||
<v-flex xs12>
|
||||
<h4 class="caption mono">OMSET PER PRODUK</h4>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-card>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-container>
|
||||
|
||||
</v-content>
|
||||
</v-app>
|
||||
</div>
|
||||
|
||||
<!-- Vendor -->
|
||||
<script src="../../libs/vendor/moment.min.js"></script>
|
||||
<script src="../../libs/vendor/numeral.min.js"></script>
|
||||
<script src="../../libs/vendor/moment-locale-id.js"></script>
|
||||
<script src="../../libs/vendor/lodash.js"></script>
|
||||
<script src="../../libs/vendor/axios.min.js"></script>
|
||||
<script src="../../libs/vendor/vue.js"></script>
|
||||
<script src="../../libs/vendor/vuex.js"></script>
|
||||
<script src="../../libs/vendor/vuetify.js"></script>
|
||||
<script src="../../libs/vendor/httpVueLoader.js"></script>
|
||||
<script src="../../libs/one_global.js"></script>
|
||||
<script>
|
||||
window.Promise ||
|
||||
document.write(
|
||||
'<script src="../../libs/vendor/polyfill.min.js"><\/script>'
|
||||
)
|
||||
window.Promise ||
|
||||
document.write(
|
||||
'<script src="../../libs/vendor/classList.min.js"><\/script>'
|
||||
)
|
||||
window.Promise ||
|
||||
document.write(
|
||||
'<script src="../../libs/vendor/findindex_polyfill_mdn.js"><\/script>'
|
||||
)
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<script src="../../libs/vendor/apexcharts.js"></script>
|
||||
<script src="../../libs/vendor/vue-apexcharts.js"></script>
|
||||
<!-- App Script -->
|
||||
<?php
|
||||
$ts = "?ts=" . Date("ymdhis");
|
||||
?>
|
||||
<script type="module">
|
||||
|
||||
import { store } from './store.js<?php echo $ts ?>';
|
||||
//for testing
|
||||
window.store = store;
|
||||
new Vue({
|
||||
store,
|
||||
el: '#app',
|
||||
methods: {
|
||||
tab_selected : function(tab) {
|
||||
return this.$store.state.tab_selected == tab
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
},
|
||||
computed: {
|
||||
},
|
||||
data: {
|
||||
show:true,
|
||||
width1:'45',
|
||||
width2:'25%',
|
||||
width11:'55%',
|
||||
width3:'10%',
|
||||
width4:'5%',
|
||||
width5:'2%',
|
||||
width6:'18%',
|
||||
xtype:'day',
|
||||
types:['day','month']
|
||||
},
|
||||
methods:{
|
||||
goToMenu(url){
|
||||
window.location.href = url
|
||||
}
|
||||
},
|
||||
components: {
|
||||
apexchart: VueApexCharts
|
||||
}
|
||||
})
|
||||
</script>
|
||||
<style>
|
||||
[v-cloak] {
|
||||
display: none
|
||||
}
|
||||
.left {
|
||||
}
|
||||
.right {
|
||||
} #chart {
|
||||
padding: 0;
|
||||
max-width: 650px;
|
||||
margin: 35px auto;
|
||||
}
|
||||
|
||||
.apexcharts-legend text {
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
|
||||
|
||||
select.flat-select:focus, select.flat-select:hover {
|
||||
border: 0;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
|
||||
.apexcharts-canvas {
|
||||
margin: 0 auto;
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user