Commit f83d7aee by Ooh-Ao

รูป

parent b6f8fc29
...@@ -8,38 +8,10 @@ ...@@ -8,38 +8,10 @@
</div> </div>
</div> </div>
<!-- Dashboard Viewer Container --> <!-- Dashboard Viewer Container - Clean Layout -->
<div *ngIf="dashboardData" class="viewer-container"> <div *ngIf="dashboardData" class="viewer-container-clean">
<!-- Enhanced Header --> <!-- Dashboard Content Only -->
<div class="viewer-header"> <div class="viewer-content-clean">
<div class="viewer-header-content">
<div class="viewer-header-flex">
<div class="viewer-title-section">
<div class="viewer-icon">
<i class="bi bi-eye"></i>
</div>
<div class="viewer-title-content">
<h1>{{ dashboardData.thName }}</h1>
<p>Dashboard Viewer</p>
</div>
</div>
<div>
<button
(click)="goBack()"
class="viewer-back-btn"
>
<i class="bi bi-arrow-left"></i>
Back
</button>
</div>
</div>
</div>
</div>
<!-- Dashboard Content -->
<div class="viewer-content-area">
<div class="viewer-content-card">
<div class="viewer-layout-container">
<ejs-dashboardlayout <ejs-dashboardlayout
id='dashboard_viewer' id='dashboard_viewer'
#viewerLayout #viewerLayout
...@@ -47,7 +19,9 @@ ...@@ -47,7 +19,9 @@
[columns]="columns" [columns]="columns"
[allowResizing]="false" [allowResizing]="false"
[allowDragging]="false" [allowDragging]="false"
class="dashboard-viewer-layout" [allowFloating]="false"
[showGridLines]="false"
class="dashboard-viewer-layout-clean"
> >
<e-panels> <e-panels>
<e-panel <e-panel
...@@ -57,13 +31,13 @@ ...@@ -57,13 +31,13 @@
[sizeX]="panel.sizeX" [sizeX]="panel.sizeX"
[sizeY]="panel.sizeY" [sizeY]="panel.sizeY"
[id]="panel.id" [id]="panel.id"
class="widget-panel" class="widget-panel-clean"
> >
<ng-template #header> <ng-template #header>
<!-- Clean header for viewer --> <!-- No header -->
</ng-template> </ng-template>
<ng-template #content> <ng-template #content>
<div class="widget-content"> <div class="widget-content-clean">
<ng-container [ngComponentOutlet]="panel.componentType" [ngComponentOutletInputs]="panel.componentInputs"></ng-container> <ng-container [ngComponentOutlet]="panel.componentType" [ngComponentOutletInputs]="panel.componentInputs"></ng-container>
</div> </div>
</ng-template> </ng-template>
...@@ -71,6 +45,4 @@ ...@@ -71,6 +45,4 @@
</e-panels> </e-panels>
</ejs-dashboardlayout> </ejs-dashboardlayout>
</div> </div>
</div>
</div>
</div> </div>
...@@ -291,7 +291,7 @@ export class HomeComponent implements OnInit { ...@@ -291,7 +291,7 @@ export class HomeComponent implements OnInit {
name: 'meeting-booking', name: 'meeting-booking',
displayName: 'Meeting Booking', displayName: 'Meeting Booking',
description: 'ระบบจองห้องประชุม', description: 'ระบบจองห้องประชุม',
icon: './assets/images/icons/calendar.png', icon: './assets/images/logoallHR/booking.png',
path: '/portal-manage/meeting-booking', path: '/portal-manage/meeting-booking',
isVisible: true, isVisible: true,
category: 'services', category: 'services',
...@@ -303,7 +303,7 @@ export class HomeComponent implements OnInit { ...@@ -303,7 +303,7 @@ export class HomeComponent implements OnInit {
name: 'permission-management', name: 'permission-management',
displayName: 'Permission Management', displayName: 'Permission Management',
description: 'ระบบจัดการสิทธิ์และบทบาท', description: 'ระบบจัดการสิทธิ์และบทบาท',
icon: './assets/images/icons/widget.png', icon: './assets/images/logoallHR/permission.png',
path: '/portal-manage/permission-management', path: '/portal-manage/permission-management',
isVisible: true, isVisible: true,
category: 'system', category: 'system',
...@@ -316,7 +316,7 @@ export class HomeComponent implements OnInit { ...@@ -316,7 +316,7 @@ export class HomeComponent implements OnInit {
name: 'dashboard-management', name: 'dashboard-management',
displayName: 'Dashboard Management', displayName: 'Dashboard Management',
description: 'ระบบจัดการแดชบอร์ด และคลังวิดเจ็ต', description: 'ระบบจัดการแดชบอร์ด และคลังวิดเจ็ต',
icon: './assets/images/icons/dashboard.png', icon: './assets/images/logoallHR/widget.webp',
path: '/portal-manage/dashboard-management', path: '/portal-manage/dashboard-management',
isVisible: true, isVisible: true,
category: 'system', category: 'system',
...@@ -327,7 +327,7 @@ export class HomeComponent implements OnInit { ...@@ -327,7 +327,7 @@ export class HomeComponent implements OnInit {
name: 'my-portal', name: 'my-portal',
displayName: 'my-Portal', displayName: 'my-Portal',
description: 'ระบบจัดการเอกสารและเมนูกลางสำหรับแอปพลิเคชันต่างๆ', description: 'ระบบจัดการเอกสารและเมนูกลางสำหรับแอปพลิเคชันต่างๆ',
icon: './assets/images/icons/portal.png', icon: './assets/images/logoallHR/portal.webp',
path: '/portal-manage/my-portal', path: '/portal-manage/my-portal',
isVisible: true, isVisible: true,
category: 'system', category: 'system',
......
...@@ -387,7 +387,7 @@ ...@@ -387,7 +387,7 @@
<div class=""> <div class="">
<a routerLink="/portal-manage/meeting-booking" <a routerLink="/portal-manage/meeting-booking"
class="p-3 items-center related-app block text-center rounded-sm hover:bg-gray-50 dark:hover:bg-black/20"> class="p-3 items-center related-app block text-center rounded-sm hover:bg-gray-50 dark:hover:bg-black/20">
<img src="./assets/images/icons/calendar.png" alt="Meeting Booking" <img src="./assets/images/logoallHR/booking.png" alt="Meeting Booking"
class="leading-[1.5] text-2xl !h-[1.5rem] align-middle flex justify-center mx-auto"> class="leading-[1.5] text-2xl !h-[1.5rem] align-middle flex justify-center mx-auto">
<div class="text-[0.7rem] text-defaulttextcolor dark:text-[#8c9097] dark:text-white/50 mt-1">Meeting</div> <div class="text-[0.7rem] text-defaulttextcolor dark:text-[#8c9097] dark:text-white/50 mt-1">Meeting</div>
</a> </a>
...@@ -397,7 +397,7 @@ ...@@ -397,7 +397,7 @@
<div class=""> <div class="">
<a routerLink="/portal-manage/my-portal" <a routerLink="/portal-manage/my-portal"
class="p-3 items-center related-app block text-center rounded-sm hover:bg-gray-50 dark:hover:bg-black/20"> class="p-3 items-center related-app block text-center rounded-sm hover:bg-gray-50 dark:hover:bg-black/20">
<img src="./assets/images/icons/portal.png" alt="my-Portal" <img src="./assets/images/logoallHR/portal.webp" alt="my-Portal"
class="leading-[1.5] text-2xl !h-[1.5rem] align-middle flex justify-center mx-auto"> class="leading-[1.5] text-2xl !h-[1.5rem] align-middle flex justify-center mx-auto">
<div class="text-[0.7rem] text-defaulttextcolor dark:text-[#8c9097] dark:text-white/50 mt-1">my-Portal</div> <div class="text-[0.7rem] text-defaulttextcolor dark:text-[#8c9097] dark:text-white/50 mt-1">my-Portal</div>
</a> </a>
...@@ -407,7 +407,7 @@ ...@@ -407,7 +407,7 @@
<div class=""> <div class="">
<a routerLink="/portal-manage/permission-management" <a routerLink="/portal-manage/permission-management"
class="p-3 items-center related-app block text-center rounded-sm hover:bg-gray-50 dark:hover:bg-black/20"> class="p-3 items-center related-app block text-center rounded-sm hover:bg-gray-50 dark:hover:bg-black/20">
<img src="./assets/images/icons/widget.png" alt="Permission Management" <img src="./assets/images/logoallHR/permission.png" alt="Permission Management"
class="leading-[1.5] text-2xl !h-[1.5rem] align-middle flex justify-center mx-auto"> class="leading-[1.5] text-2xl !h-[1.5rem] align-middle flex justify-center mx-auto">
<div class="text-[0.7rem] text-defaulttextcolor dark:text-[#8c9097] dark:text-white/50 mt-1">Permission</div> <div class="text-[0.7rem] text-defaulttextcolor dark:text-[#8c9097] dark:text-white/50 mt-1">Permission</div>
</a> </a>
...@@ -417,7 +417,7 @@ ...@@ -417,7 +417,7 @@
<div class=""> <div class="">
<a routerLink="/portal-manage/dashboard-management" <a routerLink="/portal-manage/dashboard-management"
class="p-3 items-center related-app block text-center rounded-sm hover:bg-gray-50 dark:hover:bg-black/20"> class="p-3 items-center related-app block text-center rounded-sm hover:bg-gray-50 dark:hover:bg-black/20">
<img src="./assets/images/icons/dashboard.png" alt="Dashboard Management" <img src="./assets/images/logoallHR/widget.webp" alt="Dashboard Management"
class="leading-[1.5] text-2xl !h-[1.5rem] align-middle flex justify-center mx-auto"> class="leading-[1.5] text-2xl !h-[1.5rem] align-middle flex justify-center mx-auto">
<div class="text-[0.7rem] text-defaulttextcolor dark:text-[#8c9097] dark:text-white/50 mt-1">Dashboard Mgt</div> <div class="text-[0.7rem] text-defaulttextcolor dark:text-[#8c9097] dark:text-white/50 mt-1">Dashboard Mgt</div>
</a> </a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment