133 lines
5.2 KiB
XML
133 lines
5.2 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<odoo>
|
||
|
|
<template id="metabase_dashboard_page" name="Metabase Dashboard">
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8"/>
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||
|
|
<title>ផ្ទាំងគ្រប់គ្រងការងារ</title>
|
||
|
|
|
||
|
|
<!-- Import Khmer OS Battambang Font -->
|
||
|
|
<link rel="preconnect" href="https://fonts.googleapis.com"/>
|
||
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin=""/>
|
||
|
|
<link href="https://fonts.googleapis.com/css2?family=Battambang:wght@100;300;400;700;900&display=swap" rel="stylesheet"/>
|
||
|
|
|
||
|
|
<style>
|
||
|
|
/* Khmer Font */
|
||
|
|
* {
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
box-sizing: border-box;
|
||
|
|
font-family: 'Battambang', 'Khmer OS Battambang', 'Khmer OS', sans-serif !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Dark Mode */
|
||
|
|
html, body {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
overflow: hidden;
|
||
|
|
background-color: #1a1d1f;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Dashboard Container */
|
||
|
|
.dashboard-wrapper {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
height: 100vh;
|
||
|
|
background-color: #1a1d1f;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Header with Dark Purple Gradient */
|
||
|
|
.dashboard-header {
|
||
|
|
background: linear-gradient(135deg, #4a2c5c 0%, #6b3d7a 100%);
|
||
|
|
padding: 20px 30px;
|
||
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
|
||
|
|
}
|
||
|
|
|
||
|
|
.dashboard-title {
|
||
|
|
color: #ffffff;
|
||
|
|
font-size: 28px;
|
||
|
|
font-weight: 700;
|
||
|
|
margin: 0;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
font-family: 'Battambang', 'Khmer OS Battambang', sans-serif !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.title-icon {
|
||
|
|
font-size: 32px;
|
||
|
|
color: #ffffff;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Content Area */
|
||
|
|
.dashboard-content {
|
||
|
|
flex: 1;
|
||
|
|
padding: 16px;
|
||
|
|
background-color: #1a1d1f;
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Iframe Container with Dark Border */
|
||
|
|
.iframe-container {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
border-radius: 12px;
|
||
|
|
overflow: hidden;
|
||
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
|
||
|
|
background: #2d3136;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Iframe */
|
||
|
|
iframe {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
border: none;
|
||
|
|
display: block;
|
||
|
|
background: #ffffff;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Responsive Design */
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
.dashboard-header {
|
||
|
|
padding: 16px 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dashboard-title {
|
||
|
|
font-size: 22px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.title-icon {
|
||
|
|
font-size: 26px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dashboard-content {
|
||
|
|
padding: 8px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</style>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<div class="dashboard-wrapper">
|
||
|
|
<!-- Dark Header with Khmer Title -->
|
||
|
|
<div class="dashboard-header">
|
||
|
|
<h1 class="dashboard-title">
|
||
|
|
<span class="title-icon">📊</span>
|
||
|
|
ផ្ទាំងគ្រប់គ្រងការងារ
|
||
|
|
</h1>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<!-- Dashboard Content -->
|
||
|
|
<div class="dashboard-content">
|
||
|
|
<div class="iframe-container">
|
||
|
|
<iframe src="https://dashboard.des.gov.kh"
|
||
|
|
allowfullscreen="true"
|
||
|
|
loading="lazy">
|
||
|
|
</iframe>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</body>
|
||
|
|
</html>
|
||
|
|
</template>
|
||
|
|
</odoo>
|