Color handling by color palette
This commit is contained in:
parent
5bc478c1df
commit
30936c8778
|
|
@ -1,5 +1,6 @@
|
|||
import { AfterViewInit, Component, ElementRef, HostListener, ViewChild, ChangeDetectionStrategy } from '@angular/core';
|
||||
import { ApiService } from '../app.api.service';
|
||||
import { ghColor } from '../gohr-theme/theme-loader';
|
||||
|
||||
@Component({
|
||||
standalone: false,
|
||||
|
|
@ -73,7 +74,7 @@ export class BackgroundCanvasComponent {
|
|||
if (!this.ctx) return;
|
||||
this.ctx.beginPath();
|
||||
this.ctx.arc(p.x, p.y, p.radius, 0, Math.PI * 2);
|
||||
this.ctx.fillStyle = '#ffffff';
|
||||
this.ctx.fillStyle = ghColor('--gh-tb');
|
||||
this.ctx.fill();
|
||||
this.ctx.closePath();
|
||||
}
|
||||
|
|
@ -96,7 +97,7 @@ export class BackgroundCanvasComponent {
|
|||
this.ctx.beginPath();
|
||||
this.ctx.moveTo(x1, y1);
|
||||
this.ctx.lineTo(x2, y2);
|
||||
this.ctx.strokeStyle = '#ffffff';
|
||||
this.ctx.strokeStyle = ghColor('--gh-tb');
|
||||
this.ctx.stroke();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<div class="col-12 md:col-12 lg:col-8">
|
||||
<div class="grid">
|
||||
<div class="col-12">
|
||||
<h2 style="margin-bottom: 0px;color: #414278;">{{oCourse.courseTitle}}</h2>
|
||||
<h2 style="margin-bottom: 0px;color: var(--gh-lk);">{{oCourse.courseTitle}}</h2>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<p class="bannerDescription">{{oCourse.description}}</p>
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
<kendo-rating [(ngModel)]="oCourse.rating" [readonly]="true"></kendo-rating>
|
||||
</div>
|
||||
<div class="col-12 md:col-6 lg:col-2">
|
||||
<label style="font-weight: bold; color: #414278;font-size: 15px;">Users : 0</label>
|
||||
<label style="font-weight: bold; color: var(--gh-lk);font-size: 15px;">Users : 0</label>
|
||||
</div>
|
||||
<div class="col-12 md:col-12 lg:col-7" align="right"><label class="trainer">{{oCourse.trainer.name}}</label></div>
|
||||
</div>
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div style="margin-top: auto;">
|
||||
<button (click)="onStartCourse()" kendoButton themeColor="primary" style="width: 100%; box-shadow: 0 10px 20px -8px #000000b3; border-radius: 5px;">
|
||||
<button (click)="onStartCourse()" kendoButton themeColor="primary" style="width: 100%; box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--gh-ht) 70%, transparent); border-radius: 5px;">
|
||||
Enroll Course <i class="pi pi-spin pi-angle-double-right" style="margin-left: 5px;font-weight: bold;"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -91,7 +91,7 @@
|
|||
</div>
|
||||
<div class="grid card" style="margin: auto;">
|
||||
<div class="col-12" style="margin: auto;" align="right">
|
||||
<button (click)="onStartCourse()" kendoButton themeColor="primary" style="box-shadow: 0 10px 20px -8px #000000b3; border-radius: 5px;">
|
||||
<button (click)="onStartCourse()" kendoButton themeColor="primary" style="box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--gh-ht) 70%, transparent); border-radius: 5px;">
|
||||
Enroll Course <i class="pi pi-spin pi-angle-double-right" style="margin-left: 5px;font-weight: bold;"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -117,22 +117,22 @@
|
|||
@if (oLesson.lessonContents.length > 0) {
|
||||
<div class="grid card">
|
||||
@for (oContent of oLesson.lessonContents; track oContent) {
|
||||
<div class="col-12" style="padding-top: 0;padding-bottom: 0;cursor: pointer; border-bottom: 1px solid rgba(0, 0, 0, 0.08);">
|
||||
<div class="col-12" style="padding-top: 0;padding-bottom: 0;cursor: pointer; border-bottom: 1px solid color-mix(in srgb, var(--gh-ht) 8%, transparent);">
|
||||
<div class="grid" style="margin: auto;">
|
||||
<div class="col-8" style="color: #414278;">
|
||||
<div class="col-8" style="color: var(--gh-lk);">
|
||||
@if (oContent.contentType === 1) {
|
||||
<span (click)="onStartCourse()">
|
||||
<i class="pi pi-video" style="color: rgb(194, 97, 7);"></i> {{ oContent.contentTitle }}
|
||||
<i class="pi pi-video" style="color: var(--gh-warn);"></i> {{ oContent.contentTitle }}
|
||||
</span>
|
||||
}
|
||||
@if (oContent.contentType === 3) {
|
||||
<span (click)="onStartCourse()">
|
||||
<i class="pi pi-file-pdf" style="color: rgb(194, 97, 7);"></i> {{ oContent.contentTitle }}
|
||||
<i class="pi pi-file-pdf" style="color: var(--gh-warn);"></i> {{ oContent.contentTitle }}
|
||||
</span>
|
||||
}
|
||||
@if (oContent.contentType === 4) {
|
||||
<span (click)="onStartCourse()">
|
||||
<i class="pi pi-file-o" style="color: rgb(194, 97, 7);"></i> {{ oContent.contentTitle }}
|
||||
<i class="pi pi-file-o" style="color: var(--gh-warn);"></i> {{ oContent.contentTitle }}
|
||||
</span>
|
||||
}
|
||||
</div>
|
||||
|
|
@ -157,7 +157,7 @@
|
|||
|
||||
<div class="grid" style="margin: auto;">
|
||||
<div class="col-12" align="right">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['undo']" (click)="onBack()" style="margin-right: 5px;">Back</button>
|
||||
<button class="gh-back" kendoButton [svgIcon]="apiService.KendoSVGIcon['undo']" (click)="onBack()" style="margin-right: 5px;">Back</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
}
|
||||
.banner{
|
||||
background:$lms-bg-banner;
|
||||
// box-shadow: 0px 8px 14px 0 rgba(10, 42, 90, 0.55);
|
||||
// box-shadow: 0px 8px 14px 0 color-mix(in srgb, var(--gh-sb) 55%, transparent);
|
||||
border-right: 2px solid $brand-primary-dark;
|
||||
border-left: 2px solid $brand-primary-dark;
|
||||
border-radius: 10px;
|
||||
|
|
@ -111,7 +111,7 @@ p{
|
|||
left: 25%;
|
||||
outline: 0;
|
||||
border: none;
|
||||
box-shadow: 2px 2px 10px rgba($lms-shadow-gray, .5);
|
||||
box-shadow: 2px 2px 10px color-mix(in srgb, $lms-shadow-gray 50%, transparent);
|
||||
transition: all .5s ease-in-out;
|
||||
&:hover {
|
||||
background: $lms-bg-card-light;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<div class="banner">
|
||||
<div class="grid" style="margin: auto;">
|
||||
<div class="col-12 md:col-12 lg:col-1" style="margin: auto;" align="middle"><img id="imgProfilePicture" [src]="getImageSrc(oCourse.courseTemplate)" class="courseTemplate"/></div>
|
||||
<div class="col-12 md:col-12 lg:col-6" style="margin: auto;" align="left"><h3 style="margin-bottom: 0px;color: #414278;">{{oCourse.courseTitle}} ({{oCourse.courseCode}})</h3></div>
|
||||
<div class="col-12 md:col-12 lg:col-6" style="margin: auto;" align="left"><h3 style="margin-bottom: 0px;color: var(--gh-lk);">{{oCourse.courseTitle}} ({{oCourse.courseCode}})</h3></div>
|
||||
<div class="col-12 md:col-12 lg:col-5" style="margin: auto;" align="right"><label class="trainer">Trainer - {{oCourse.trainer.name}}</label></div>
|
||||
|
||||
<div class="col-12 md:col-6 lg:col-2" style="margin: auto;font-weight: bold;"><label>{{oCourse.courseType.name}}</label></div>
|
||||
|
|
@ -19,22 +19,22 @@
|
|||
[value]="oCourse.courseProgres.completionPercentage"
|
||||
[label]="label"
|
||||
style=" width: 100%;
|
||||
color: #414278;
|
||||
color: var(--gh-lk);
|
||||
border-radius: 10px;
|
||||
font-weight: bold;
|
||||
height: 20px;
|
||||
border: 1px solid #c4cbc4;">
|
||||
border: 1px solid var(--gh-bo2);">
|
||||
</kendo-progressbar>
|
||||
</div>
|
||||
}
|
||||
@if (oCourse.enrollments === null) {
|
||||
<div class="col-12 md:col-12 lg:col-8" style="font-weight: bold;margin: auto;font-size: 18px;">
|
||||
Excited to begin? Click the '<strong style="color: red;">Start Course</strong>' button to embark on an exciting learning journey through this course
|
||||
Excited to begin? Click the '<strong style="color: var(--gh-dn);">Start Course</strong>' button to embark on an exciting learning journey through this course
|
||||
</div>
|
||||
}
|
||||
@if (oCourse.enrollments === null) {
|
||||
<div class="col-12 md:col-12 lg:col-4" align="right">
|
||||
<button (click)="onStartCourse()" kendoButton themeColor="primary" style="box-shadow: 0 10px 20px -8px #000000b3; border-radius: 5px;">
|
||||
<button (click)="onStartCourse()" kendoButton themeColor="primary" style="box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--gh-ht) 70%, transparent); border-radius: 5px;">
|
||||
Start Course <i class="pi pi-spin pi-angle-double-right" style="margin-left: 5px;font-weight: bold;"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -68,26 +68,26 @@
|
|||
@if (oLesson.lessonContents.length > 0) {
|
||||
<div class="grid card">
|
||||
@for (oContent of oLesson.lessonContents; track oContent) {
|
||||
<div class="col-12" style="padding: 0;cursor: pointer; border-bottom: 1px solid rgba(0, 0, 0, 0.08);color: #414278;">
|
||||
<div class="col-12" style="padding: 0;cursor: pointer; border-bottom: 1px solid color-mix(in srgb, var(--gh-ht) 8%, transparent);color: var(--gh-lk);">
|
||||
<div class="grid" style="margin: auto;">
|
||||
<div class="col-10" (click)="onItemClick(oContent, oLesson)" [ngStyle]="{'background': oContent.isLessonComplete === true ? '#d0efd0' : '#f5d9d9'}">
|
||||
<div class="col-10" (click)="onItemClick(oContent, oLesson)" [ngStyle]="{'background': oContent.isLessonComplete === true ? 'color-mix(in srgb, var(--gh-ok) 35%, var(--gh-tb))' : 'color-mix(in srgb, var(--gh-dn) 12%, var(--gh-tb))'}">
|
||||
@if (oContent.contentType === 1) {
|
||||
<span>
|
||||
<i class="pi pi-video" style="color: rgb(194, 97, 7);"></i> {{ oContent.contentTitle }}
|
||||
<i class="pi pi-video" style="color: var(--gh-warn);"></i> {{ oContent.contentTitle }}
|
||||
</span>
|
||||
}
|
||||
@if (oContent.contentType === 3) {
|
||||
<span>
|
||||
<i class="pi pi-file-pdf" style="color: rgb(194, 97, 7);"></i> {{ oContent.contentTitle }}
|
||||
<i class="pi pi-file-pdf" style="color: var(--gh-warn);"></i> {{ oContent.contentTitle }}
|
||||
</span>
|
||||
}
|
||||
@if (oContent.contentType === 4) {
|
||||
<span>
|
||||
<i class="pi pi-file-o" style="color: rgb(194, 97, 7);"></i> {{ oContent.contentTitle }}
|
||||
<i class="pi pi-file-o" style="color: var(--gh-warn);"></i> {{ oContent.contentTitle }}
|
||||
</span>
|
||||
}
|
||||
</div>
|
||||
<div class="col-2" (click)="onItemClickCheck(oContent, oLesson)" align="right" style="margin: auto;" [ngStyle]="{'background': oContent.isLessonComplete === true ? '#d0efd0' : '#f5d9d9'}">
|
||||
<div class="col-2" (click)="onItemClickCheck(oContent, oLesson)" align="right" style="margin: auto;" [ngStyle]="{'background': oContent.isLessonComplete === true ? 'color-mix(in srgb, var(--gh-ok) 35%, var(--gh-tb))' : 'color-mix(in srgb, var(--gh-dn) 12%, var(--gh-tb))'}">
|
||||
@if (oContent.isLessonComplete === true) {
|
||||
<input type="checkbox" id="enableConfirmCheck" [(ngModel)]="oContent.isComplete" kendoCheckBox/>
|
||||
}
|
||||
|
|
@ -105,8 +105,8 @@
|
|||
}
|
||||
</div>
|
||||
<div class="col-12 md:col-12 lg:col-8">
|
||||
<fieldset style="border: 1px solid #ced4da;">
|
||||
<legend style="font-weight: bold;color: #414278;;">{{lessonName}}</legend>
|
||||
<fieldset style="border: 1px solid var(--gh-bo);">
|
||||
<legend style="font-weight: bold;color: var(--gh-lk);;">{{lessonName}}</legend>
|
||||
<div class="grid">
|
||||
@if (contentDescription !== '') {
|
||||
<div class="col-12" ><label style="font-weight: bold;">{{contentDescription}}</label></div>
|
||||
|
|
|
|||
|
|
@ -82,14 +82,14 @@
|
|||
left: 0;
|
||||
width: 100%;
|
||||
height: 20px; /* Height of the blur effect */
|
||||
background: linear-gradient(to bottom, rgba($lms-bg-course-banner, 0) 0%, $lms-bg-course-banner 100%);
|
||||
background: linear-gradient(to bottom, color-mix(in srgb, $lms-bg-course-banner 0%, transparent) 0%, $lms-bg-course-banner 100%);
|
||||
pointer-events: none; /* Prevent interaction with the pseudo-element */
|
||||
}
|
||||
|
||||
|
||||
.banner{
|
||||
background:$lms-bg-banner;
|
||||
// box-shadow: 0px 2px 5px 0 rgba(10, 42, 90, 0.55);
|
||||
// box-shadow: 0px 2px 5px 0 color-mix(in srgb, var(--gh-sb) 55%, transparent);
|
||||
border-right: 2px solid $brand-primary-dark;
|
||||
border-left: 2px solid $brand-primary-dark;
|
||||
border-radius: 10px;
|
||||
|
|
@ -188,7 +188,7 @@ top: 73%;
|
|||
left: 25%;
|
||||
outline: 0;
|
||||
border: none;
|
||||
box-shadow: 2px 2px 10px rgba($lms-shadow-gray, .5);
|
||||
box-shadow: 2px 2px 10px color-mix(in srgb, $lms-shadow-gray 50%, transparent);
|
||||
transition: all .5s ease-in-out;
|
||||
&:hover {
|
||||
background: $lms-bg-card-light;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<app-loading-panel></app-loading-panel>
|
||||
|
||||
<fieldset style="border-color: #414278;">
|
||||
<fieldset style="border-color: var(--gh-btn);">
|
||||
<div class="grid" style="margin: auto;">
|
||||
<div class="col-3" style="margin:auto;font-weight: bold"><label for="ddlType">Type Name</label></div>
|
||||
<div class="col-1" style="margin:auto;font-weight: bold">:</div>
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
<div class="grid" style="margin-top: 5px;">
|
||||
<div class="col-12" style="margin: auto;" align="right">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['cross']" (click)="onPopUpClose()" style="margin-right: 5px;">Close</button>
|
||||
<button kendoButton themeColor="primary" [svgIcon]="apiService.KendoSVGIcon['save']" (click)="onSave()">Save</button>
|
||||
<button class="gh-close" kendoButton [svgIcon]="apiService.KendoSVGIcon['cross']" (click)="onPopUpClose()" style="margin-right: 5px;">Close</button>
|
||||
<button class="gh-save" kendoButton themeColor="primary" [svgIcon]="apiService.KendoSVGIcon['save']" (click)="onSave()">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
<input placeholder="Search in all columns..." kendoTextBox (input)="onFilter($event.target.value)" style="width: 30%;"/>
|
||||
<label style="font-weight: bold;">Total Course Type : {{allCourseType.length}}</label>
|
||||
<kendo-grid-spacer></kendo-grid-spacer>
|
||||
<button type="button" kendoGridExcelCommand [svgIcon]="apiService.KendoSVGIcon['fileExcel']">Export to Excel</button>
|
||||
<button class="gh-excel" type="button" kendoGridExcelCommand [svgIcon]="apiService.KendoSVGIcon['fileExcel']">Export to Excel</button>
|
||||
</ng-template>
|
||||
<kendo-grid-column field="name" title="Course Type" [width]="90" [headerStyle]="{'white-space': 'pre-wrap'}">
|
||||
</kendo-grid-column>
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
[style]="{'text-align': 'center' }">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridEditCommand [style.font-size.px]="10" [svgIcon]="apiService.KendoSVGIcon['edit']" themeColor="primary"(click)="editHandler(dataItem)"></button>
|
||||
<button kendoGridRemoveCommand [style.font-size.px]="10" style="color:white;background: #e72582;" [svgIcon]="apiService.KendoSVGIcon['delete']" (click)="deleteHandler(dataItem)"></button>
|
||||
<button kendoGridRemoveCommand [style.font-size.px]="10" style="color:var(--gh-tb);background: var(--gh-bd);" [svgIcon]="apiService.KendoSVGIcon['delete']" (click)="deleteHandler(dataItem)"></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<kendo-tabstrip>
|
||||
<kendo-tabstrip-tab title="Course Basic Information" [selected]="true">
|
||||
<ng-template kendoTabContent>
|
||||
<fieldset style="border-color: #414278;">
|
||||
<fieldset style="border-color: var(--gh-btn);">
|
||||
<legend style="font-weight: bold;">Course Basic information</legend>
|
||||
<div class="grid">
|
||||
<div class="col-12 md:col-12 lg:col-3 form-control-sm" style="margin:auto;">
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
</div>
|
||||
<div class="col-12 md:col-12 lg:col-6 form-control-sm" style="margin: auto;">
|
||||
<label style="margin:auto;font-weight: bold">Course Template</label>
|
||||
<div style="display: flex; align-items: center; width: 100%; border: 1px solid #ced4da; border-radius: 4px;">
|
||||
<div style="display: flex; align-items: center; width: 100%; border: 1px solid var(--gh-bo); border-radius: 4px;">
|
||||
<input kendoTextBox style="width:100%; border: none; padding: 0 0 0 5px;" [(ngModel)]="templateFile"
|
||||
(change)="selectTemplatenHandler($event)" accept=".jpg,.png" type="file">
|
||||
@if (oCourse !== undefined && oCourse.courseTemplate.fileName !== '') {
|
||||
|
|
@ -85,7 +85,7 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-command-column title="Action" [width]="55" [headerStyle]="{'white-space': 'pre-wrap','text-align': 'center'}"[style]="{'text-align': 'center' }">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridRemoveCommand [style.font-size.px]="10" style="color:white;background: #e72582;" [svgIcon]="apiService.KendoSVGIcon['delete']" (click)="deletewhomForThisCourse(dataItem)"></button>
|
||||
<button kendoGridRemoveCommand [style.font-size.px]="10" style="color:var(--gh-tb);background: var(--gh-bd);" [svgIcon]="apiService.KendoSVGIcon['delete']" (click)="deletewhomForThisCourse(dataItem)"></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
@ -107,7 +107,7 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-command-column title="Action" [width]="55" [headerStyle]="{'white-space': 'pre-wrap','text-align': 'center'}"[style]="{'text-align': 'center' }">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridRemoveCommand [style.font-size.px]="10" style="color:white;background: #e72582;" [svgIcon]="apiService.KendoSVGIcon['delete']" (click)="deletewhatWillLearn(dataItem)"></button>
|
||||
<button kendoGridRemoveCommand [style.font-size.px]="10" style="color:var(--gh-tb);background: var(--gh-bd);" [svgIcon]="apiService.KendoSVGIcon['delete']" (click)="deletewhatWillLearn(dataItem)"></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
@ -129,7 +129,7 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-command-column title="Action" [width]="55" [headerStyle]="{'white-space': 'pre-wrap','text-align': 'center'}"[style]="{'text-align': 'center' }">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridRemoveCommand [style.font-size.px]="10" style="color:white;background: #e72582;" [svgIcon]="apiService.KendoSVGIcon['delete']" (click)="deletehowDoStart(dataItem)"></button>
|
||||
<button kendoGridRemoveCommand [style.font-size.px]="10" style="color:var(--gh-tb);background: var(--gh-bd);" [svgIcon]="apiService.KendoSVGIcon['delete']" (click)="deletehowDoStart(dataItem)"></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
@ -151,7 +151,7 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-command-column title="Action" [width]="55" [headerStyle]="{'white-space': 'pre-wrap','text-align': 'center'}"[style]="{'text-align': 'center' }">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridRemoveCommand [style.font-size.px]="10" style="color:white;background: #e72582;" [svgIcon]="apiService.KendoSVGIcon['delete']" (click)="deletecourseInclude(dataItem)"></button>
|
||||
<button kendoGridRemoveCommand [style.font-size.px]="10" style="color:var(--gh-tb);background: var(--gh-bd);" [svgIcon]="apiService.KendoSVGIcon['delete']" (click)="deletecourseInclude(dataItem)"></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
@ -185,7 +185,7 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-column field="duration" title="Duration" [width]="40" [headerStyle]="{'white-space': 'pre-wrap','text-align': 'center'}" [style]="{ 'font-size': '12px','font-weight':'bold','text-align':'center'}">
|
||||
</kendo-grid-column>
|
||||
<kendo-grid-column field="" title="Content" [width]="40" [headerStyle]="{'white-space': 'pre-wrap','text-align':'center'}" [style]="{ 'font-size': '12px','font-weight':'bold','text-align':'center','color':'red'}">
|
||||
<kendo-grid-column field="" title="Content" [width]="40" [headerStyle]="{'white-space': 'pre-wrap','text-align':'center'}" [style]="{ 'font-size': '12px','font-weight':'bold','text-align':'center','color':'var(--gh-dn)'}">
|
||||
<ng-template kendoGridCellTemplate let-dataItem>
|
||||
{{dataItem.lessonContents.length}}
|
||||
</ng-template>
|
||||
|
|
@ -193,7 +193,7 @@
|
|||
<kendo-grid-command-column title="Action" [width]="40" [headerStyle]="{'white-space': 'pre-wrap','text-align': 'center'}"[style]="{'text-align': 'center' }">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridEditCommand [style.font-size.px]="10" [svgIcon]="apiService.KendoSVGIcon['edit']" themeColor="primary"(click)="editLesson(dataItem)"></button>
|
||||
<button kendoGridRemoveCommand [style.font-size.px]="10" style="color:white;background: #e72582;" [svgIcon]="apiService.KendoSVGIcon['delete']" (click)="deleteLesson(dataItem)"></button>
|
||||
<button kendoGridRemoveCommand [style.font-size.px]="10" style="color:var(--gh-tb);background: var(--gh-bd);" [svgIcon]="apiService.KendoSVGIcon['delete']" (click)="deleteLesson(dataItem)"></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
@ -206,7 +206,7 @@
|
|||
|
||||
<div class="grid" style="margin: auto;">
|
||||
<div class="col-12" align="right">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['undo']" (click)="onBack()" style="margin-right: 5px;">Back</button>
|
||||
<button class="gh-back" kendoButton [svgIcon]="apiService.KendoSVGIcon['undo']" (click)="onBack()" style="margin-right: 5px;">Back</button>
|
||||
<button kendoButton themeColor="primary" [svgIcon]="apiService.KendoSVGIcon['save']" (click)="onSave()">Save Course</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -215,7 +215,7 @@
|
|||
<div class="blur-background">
|
||||
@if (isShowNewLesson) {
|
||||
<kendo-window [minWidth]="1100" [width]="1000" [maxHeight]="590" title="Add New Lesson" (close)="onAddNewLessonClose()" >
|
||||
<fieldset style="border-color: #414278;">
|
||||
<fieldset style="border-color: var(--gh-btn);">
|
||||
<legend style="font-weight: bold;">Lesson Basic information</legend>
|
||||
<div class="grid">
|
||||
<div class="col-12 md:col-12 lg:col-3 form-control-sm" style="margin:auto;">
|
||||
|
|
@ -248,7 +248,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset style="border-color: #414278;">
|
||||
<fieldset style="border-color: var(--gh-btn);">
|
||||
<legend style="font-weight: bold;">Lesson's Content</legend>
|
||||
<div class="grid">
|
||||
<div class="col-12 md:col-12 lg:col-12 form-control-sm">
|
||||
|
|
@ -263,7 +263,7 @@
|
|||
</ng-template>
|
||||
<kendo-grid-column field="contentTitle" title="Content Title" [width]="100" [headerStyle]="{'white-space': 'pre-wrap'}" [style]="{ 'font-size': '12px'}">
|
||||
</kendo-grid-column>
|
||||
<kendo-grid-column field="contentType" title="Type" [width]="50" [headerStyle]="{'white-space': 'pre-wrap','text-align': 'center'}" [style]="{ 'font-size': '12px','font-weight':'bold','color': 'red'}">
|
||||
<kendo-grid-column field="contentType" title="Type" [width]="50" [headerStyle]="{'white-space': 'pre-wrap','text-align': 'center'}" [style]="{ 'font-size': '12px','font-weight':'bold','color': 'var(--gh-dn)'}">
|
||||
<ng-template kendoGridCellTemplate let-dataItem>
|
||||
{{getContentTypeString(dataItem.contentType)}}
|
||||
</ng-template>
|
||||
|
|
@ -275,7 +275,7 @@
|
|||
<kendo-grid-command-column title="Action" [width]="55" [headerStyle]="{'white-space': 'pre-wrap','text-align': 'center'}" [style]="{'text-align': 'center' }">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridEditCommand [style.font-size.px]="10" [svgIcon]="apiService.KendoSVGIcon['edit']" themeColor="primary" (click)="editLessonContent(dataItem)"></button>
|
||||
<button kendoGridRemoveCommand [style.font-size.px]="10" style="color:white;background: #e72582;" [svgIcon]="apiService.KendoSVGIcon['delete']" (click)="deleteLessonContent(dataItem)"></button>
|
||||
<button kendoGridRemoveCommand [style.font-size.px]="10" style="color:var(--gh-tb);background: var(--gh-bd);" [svgIcon]="apiService.KendoSVGIcon['delete']" (click)="deleteLessonContent(dataItem)"></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
@ -284,7 +284,7 @@
|
|||
</fieldset>
|
||||
<div class="grid" style="margin: auto;">
|
||||
<div class="col-12 md:col-12 lg:col-12" align="right">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['cross']" (click)="onAddNewLessonClose()" style="margin-right: 5px;">Close</button>
|
||||
<button class="gh-close" kendoButton [svgIcon]="apiService.KendoSVGIcon['cross']" (click)="onAddNewLessonClose()" style="margin-right: 5px;">Close</button>
|
||||
<button kendoButton themeColor="primary" [svgIcon]="apiService.KendoSVGIcon['plus']" (click)="addLesson()">Add Lesson</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -297,7 +297,7 @@
|
|||
<div class="blur-background">
|
||||
@if (isShowNewContent) {
|
||||
<kendo-window [minWidth]="600" [width]="600" [maxHeight]="590" title="Add New Content" (close)="addNewContentClose()" >
|
||||
<fieldset style="border-color: #414278;">
|
||||
<fieldset style="border-color: var(--gh-btn);">
|
||||
<div class="grid">
|
||||
<div class="col-12 md:col-12 lg:col-12 form-control-sm" style="margin:auto;">
|
||||
<label style="margin:auto;font-weight: bold">Content Title</label>
|
||||
|
|
@ -343,7 +343,7 @@
|
|||
</fieldset>
|
||||
<div class="grid" style="margin: auto;">
|
||||
<div class="col-12 md:col-12 lg:col-12" align="right">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['cross']" (click)="addNewContentClose()" style="margin-right: 5px;">Close</button>
|
||||
<button class="gh-close" kendoButton [svgIcon]="apiService.KendoSVGIcon['cross']" (click)="addNewContentClose()" style="margin-right: 5px;">Close</button>
|
||||
@if (isLessonContentEdit) {
|
||||
<button kendoButton themeColor="primary" [svgIcon]="apiService.KendoSVGIcon['edit']" (click)="addContent()">Edit Content</button>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
:host ::ng-deep .k-tabstrip-items .k-item.k-state-active, .k-tabstrip-items .k-item.k-state-selected {
|
||||
color: $brand-primary-dark;
|
||||
background-color: #f6fff5;
|
||||
background-color: var(--gh-pb);
|
||||
border-bottom: 2px solid $brand-primary-dark;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<input placeholder="Search in all columns..." kendoTextBox (input)="onFilter($event.target.value)" style="width: 30%;"/>
|
||||
<label style="font-weight: bold;">Total Course : {{courses.length}}</label>
|
||||
<kendo-grid-spacer></kendo-grid-spacer>
|
||||
<button type="button" kendoGridExcelCommand [svgIcon]="apiService.KendoSVGIcon['fileExcel']">Export to Excel</button>
|
||||
<button class="gh-excel" type="button" kendoGridExcelCommand [svgIcon]="apiService.KendoSVGIcon['fileExcel']">Export to Excel</button>
|
||||
</ng-template>
|
||||
<kendo-grid-column field="courseTitle" title="Course Title" [width]="160" [headerStyle]="{'white-space': 'pre-wrap'}" [style]="{ 'font-size': '12px','font-weight':'bold'}">
|
||||
</kendo-grid-column>
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
[style]="{'text-align': 'center' }">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridEditCommand [style.font-size.px]="10" [svgIcon]="apiService.KendoSVGIcon['edit']" themeColor="primary"(click)="editHandler(dataItem)"></button>
|
||||
<button kendoGridRemoveCommand [style.font-size.px]="10" style="color:white;background: #e72582;" [svgIcon]="apiService.KendoSVGIcon['delete']" (click)="deleteHandler(dataItem)"></button>
|
||||
<button kendoGridRemoveCommand [style.font-size.px]="10" style="color:var(--gh-tb);background: var(--gh-bd);" [svgIcon]="apiService.KendoSVGIcon['delete']" (click)="deleteHandler(dataItem)"></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
<img [src]="getImageSrc(course.courseTemplate)" id="imgProfilePicture" class="courseTemplate" alt="Template Image">
|
||||
</div>
|
||||
<div class="more-info">
|
||||
<h4 style="color: #414278;font-weight: bold;">{{course.courseTitle}}</h4>
|
||||
<h4 style="color: var(--gh-lk);font-weight: bold;">{{course.courseTitle}}</h4>
|
||||
<div class="coords">
|
||||
<span>Creation : {{ course.createdDate | date: 'dd MMM yyyy' }}</span>
|
||||
</div>
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="general">
|
||||
<h4 style="color: #414278;font-weight: bold;">{{course.courseTitle}}</h4>
|
||||
<h4 style="color: var(--gh-lk);font-weight: bold;">{{course.courseTitle}}</h4>
|
||||
<p>{{course.tags}}</p>
|
||||
@if (course.enrollments !== null) {
|
||||
<span class="more">
|
||||
|
|
@ -59,11 +59,11 @@
|
|||
[value]="course.courseProgres.completionPercentage"
|
||||
[label]="label"
|
||||
style=" width: 100%;
|
||||
color: #414278;
|
||||
color: var(--gh-lk);
|
||||
border-radius: 10px;
|
||||
font-weight: bold;
|
||||
height: 15px;
|
||||
border: 1px solid #c5d3c5;">
|
||||
border: 1px solid var(--gh-bo2);">
|
||||
</kendo-progressbar></span>
|
||||
}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
height: 180px;
|
||||
background-color: $color-white;
|
||||
background: linear-gradient($lms-bg-card-gradient-top, $color-white);
|
||||
box-shadow: 0 8px 16px -8px rgba($color-black,0.4);
|
||||
box-shadow: 0 8px 16px -8px color-mix(in srgb, $color-black 40%, transparent);
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
top: 10%;
|
||||
right: -2px;
|
||||
height: 80%;
|
||||
border-left: 2px solid rgba($color-black,0.025);
|
||||
border-left: 2px solid color-mix(in srgb, $color-black 3%, transparent);
|
||||
}
|
||||
|
||||
:host ::ng-deep .courseCard .additional .user-card .level,
|
||||
|
|
@ -88,7 +88,7 @@
|
|||
text-transform: uppercase;
|
||||
font-size: 0.75em;
|
||||
font-weight: bold;
|
||||
background: rgba($color-black,0.15);
|
||||
background: color-mix(in srgb, $color-black 15%, transparent);
|
||||
padding: 0.125rem 0.75rem;
|
||||
border-radius: 100px;
|
||||
white-space: nowrap;
|
||||
|
|
@ -210,7 +210,7 @@ $color_grey_dark: $lms-gray-mid;
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 1rem auto;
|
||||
box-shadow: 0 2px 8px rgba($color-black, .12);
|
||||
box-shadow: 0 2px 8px color-mix(in srgb, $color-black 12%, transparent);
|
||||
margin-bottom: 1.6%;
|
||||
background: $color_white;
|
||||
line-height: 1.4;
|
||||
|
|
@ -259,7 +259,7 @@ $color_grey_dark: $lms-gray-mid;
|
|||
left: -100%;
|
||||
margin: auto;
|
||||
transition: left .2s;
|
||||
background: rgba($color-black, .6);
|
||||
background: color-mix(in srgb, $color-black 60%, transparent);
|
||||
color: $color_white;
|
||||
padding: 10px;
|
||||
width: 100%;
|
||||
|
|
|
|||
|
|
@ -43,6 +43,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>-->
|
||||
<!--<button class="k-button k-primary" [disabled]="!hardPasswordSetupForm.valid" (click)="onSave($event)">Save</button>-->
|
||||
<!--<button class="k-button k-primary">Save</button>
|
||||
<!--<button class="k-button k-primary gh-save" [disabled]="!hardPasswordSetupForm.valid" (click)="onSave($event)">Save</button>-->
|
||||
<!--<button class="k-button k-primary gh-save">Save</button>
|
||||
</form>-->
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@
|
|||
style="margin-top: 20px;">
|
||||
<button kendoButton
|
||||
(click)="onRefresh()"
|
||||
class="k-primary"
|
||||
class="k-primary gh-refresh"
|
||||
style="width: 40%;">
|
||||
Refresh
|
||||
</button>
|
||||
|
|
@ -104,7 +104,7 @@
|
|||
@if (searchText) {
|
||||
<button kendoButton
|
||||
type="button"
|
||||
class="financial-clear-button"
|
||||
class="financial-clear-button gh-reset"
|
||||
(click)="clearSearch()">
|
||||
Clear
|
||||
</button>
|
||||
|
|
@ -114,7 +114,7 @@
|
|||
<button kendoGridExcelCommand
|
||||
type="button"
|
||||
icon="file-excel"
|
||||
class="financial-export-button">
|
||||
class="financial-export-button gh-excel">
|
||||
Export to Excel
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -256,13 +256,13 @@
|
|||
|
||||
<button kendoButton
|
||||
style="width: 180px"
|
||||
class="k-primary"
|
||||
class="k-primary gh-approve"
|
||||
(click)="onApprove()"
|
||||
[disabled]="isApproved">
|
||||
Approve
|
||||
</button>
|
||||
|
||||
<button kendoButton
|
||||
<button class="gh-reject" kendoButton
|
||||
style="margin-left: 10px; width: 180px"
|
||||
(click)="onReject()">
|
||||
Decline
|
||||
|
|
@ -304,7 +304,7 @@
|
|||
(close)="onRemarksCancel()">
|
||||
<div style="padding: 10px;">
|
||||
<label>
|
||||
Remarks <span style="color:red;">*</span>
|
||||
Remarks <span style="color:var(--gh-dn);">*</span>
|
||||
</label>
|
||||
<textarea [(ngModel)]="remarksText"
|
||||
rows="4"
|
||||
|
|
@ -313,18 +313,18 @@
|
|||
</textarea>
|
||||
@if (remarksValidationError) {
|
||||
<div
|
||||
style="color:red; margin-top:5px; font-size:12px;">
|
||||
style="color:var(--gh-dn); margin-top:5px; font-size:12px;">
|
||||
{{ remarksValidationError }}
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
<kendo-dialog-actions>
|
||||
<button kendoButton
|
||||
<button class="gh-cancel" kendoButton
|
||||
(click)="onRemarksCancel()">
|
||||
Cancel
|
||||
</button>
|
||||
<button kendoButton
|
||||
class="k-primary"
|
||||
class="k-primary gh-submit"
|
||||
(click)="onRemarksSubmit()">
|
||||
Submit
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@
|
|||
.summary-card {
|
||||
flex: 1 1 200px;
|
||||
min-width: 160px;
|
||||
background: #fff;
|
||||
border: 1px solid #e0e0e0;
|
||||
background: var(--gh-tb);
|
||||
border: 1px solid var(--gh-bo);
|
||||
border-radius: 6px;
|
||||
padding: 14px 16px;
|
||||
text-align: center;
|
||||
|
|
@ -20,20 +20,20 @@
|
|||
user-select: none;
|
||||
|
||||
&:hover {
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: 0 2px 8px color-mix(in srgb, var(--gh-ht) 8%, transparent);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
&.active {
|
||||
border-color: #ff6358;
|
||||
box-shadow: 0 2px 8px rgba(255, 99, 88, 0.25);
|
||||
border-color: var(--gh-dn);
|
||||
box-shadow: 0 2px 8px color-mix(in srgb, var(--gh-dn) 25%, transparent);
|
||||
}
|
||||
}
|
||||
|
||||
.summary-card-title {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: #555;
|
||||
color: var(--gh-bt);
|
||||
}
|
||||
|
||||
.summary-card-count {
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
.summary-card-label {
|
||||
font-size: 12px;
|
||||
color: #888;
|
||||
color: var(--gh-muted);
|
||||
}
|
||||
|
||||
/* ================= Grid Toolbar ================= */
|
||||
|
|
@ -79,21 +79,21 @@
|
|||
height: 34px;
|
||||
padding: 6px 10px;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #c8c8c8;
|
||||
border: 1px solid var(--gh-bo2);
|
||||
border-radius: 4px;
|
||||
background: #fff;
|
||||
color: #333;
|
||||
background: var(--gh-tb);
|
||||
color: var(--gh-bt);
|
||||
font-size: 14px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.financial-search-input:focus {
|
||||
border-color: #ff6358;
|
||||
box-shadow: 0 0 0 2px rgba(255, 99, 88, 0.12);
|
||||
border-color: var(--gh-dn);
|
||||
box-shadow: 0 0 0 2px color-mix(in srgb, var(--gh-dn) 12%, transparent);
|
||||
}
|
||||
|
||||
.financial-search-input::placeholder {
|
||||
color: #888;
|
||||
color: var(--gh-muted);
|
||||
}
|
||||
|
||||
.financial-clear-button {
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
</div>
|
||||
|
||||
<div class="col-2">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['cancel']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" (click)="onRemove();" style="margin-top:4px;width:100%;">Remove</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['cancel']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-delete" (click)="onRemove();" style="margin-top:4px;width:100%;">Remove</button>
|
||||
</div>
|
||||
<div class="col-10">
|
||||
<div class="circleImage">
|
||||
|
|
@ -54,8 +54,8 @@
|
|||
|
||||
<div class="card">
|
||||
<div class="col-12 md:col-12" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" (click)="save();" style="margin-bottom: 10px; margin-right: 3px; width: 100px;">Save</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['cancel']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" (click)="onCancel();" style="margin-bottom: 10px; width: 100px;">Cancel</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-save" (click)="save();" style="margin-bottom: 10px; margin-right: 3px; width: 100px;">Save</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['cancel']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-cancel" (click)="onCancel();" style="margin-bottom: 10px; width: 100px;">Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<div class="card card-w-title">
|
||||
<div class="grid">
|
||||
<div class="col-12">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['plus']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" (click)="new()" style="width: 200px;margin-left:6px;margin-top:3px;">New</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['plus']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-add" (click)="new()" style="width: 200px;margin-left:6px;margin-top:3px;">New</button>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<kendo-grid [data]="gridView"
|
||||
|
|
@ -17,12 +17,12 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-command-column title="Action" width="200">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['edit']" themeColor="primary" kendoGridEditCommand style="color:white" (click)="edit(dataItem)">Edit</button>
|
||||
<button class="gh-edit" [svgIcon]="apiService.KendoSVGIcon['edit']" themeColor="primary" kendoGridEditCommand style="color:var(--gh-tb)" (click)="edit(dataItem)">Edit</button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
<kendo-grid-command-column title="Action" width="200">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['delete']" themeColor="primary" kendoGridRemoveCommand style="color:white" (click)="delete(dataItem)" (saveHandler)="saveHandler($event)">Delete</button>
|
||||
<button class="gh-delete" [svgIcon]="apiService.KendoSVGIcon['delete']" themeColor="primary" kendoGridRemoveCommand style="color:var(--gh-tb)" (click)="delete(dataItem)" (saveHandler)="saveHandler($event)">Delete</button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
|
|||
|
|
@ -66,8 +66,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-12" align="right">
|
||||
<button class="k-primary" kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" (click)="search();">Search</button>
|
||||
<button kendoButton
|
||||
<button class="k-primary gh-search" kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" (click)="search();">Search</button>
|
||||
<button class="gh-excel" kendoButton
|
||||
type="button"
|
||||
[svgIcon]="apiService.KendoSVGIcon['fileExcel']"
|
||||
themeColor="primary"
|
||||
|
|
@ -85,7 +85,7 @@
|
|||
[height]="400"
|
||||
class="pu-grid">
|
||||
<!--<ng-template kendoGridToolbarTemplate>
|
||||
<button [primary]="true" kendoGridAddCommand (click)="addNew();">Add New</button>
|
||||
<button class="gh-add" [primary]="true" kendoGridAddCommand (click)="addNew();">Add New</button>
|
||||
</ng-template>-->
|
||||
<kendo-grid-column field="name" title="Name">
|
||||
</kendo-grid-column>
|
||||
|
|
@ -127,8 +127,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<!-- <div class="grid" style="float:right;margin-right:11px;margin-bottom:10px">
|
||||
<button class="k-primary" kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" (click)="search();">Search</button>
|
||||
<button kendoButton
|
||||
<button class="k-primary gh-search" kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" (click)="search();">Search</button>
|
||||
<button class="gh-excel" kendoButton
|
||||
type="button"
|
||||
icon="export"
|
||||
themeColor="primary"
|
||||
|
|
@ -142,7 +142,7 @@
|
|||
|
||||
<!--<div class="col-12">
|
||||
<div class="grid" style="float:right;">
|
||||
<button class="k-button k-primary" (click)="search();">Search</button>
|
||||
<button class="k-button k-primary gh-search" (click)="search();">Search</button>
|
||||
</div>
|
||||
</div>-->
|
||||
|
||||
|
|
@ -232,7 +232,7 @@
|
|||
|
||||
<!--<div class="col-12">
|
||||
<div class="grid" style="float:right;">
|
||||
<button class="k-button k-primary">Save</button>
|
||||
<button class="k-button k-primary gh-save">Save</button>
|
||||
</div>
|
||||
</div>-->
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -270,7 +270,7 @@
|
|||
<app-claim-balance></app-claim-balance>
|
||||
</div>
|
||||
<div class="col-12 md:col-2" style="padding-top:20px;align-content:right;">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['plus']" kendoButton themeColor="primary" class="k-button" [disabled]="!claimApplyByEmployeeForm.valid" style="color:white;" (click)="addItem();" >Add Item</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['plus']" kendoButton themeColor="primary" class="k-button" [disabled]="!claimApplyByEmployeeForm.valid" style="color:var(--gh-tb);" (click)="addItem();" >Add Item</button>
|
||||
</div>
|
||||
</div>
|
||||
<kendo-card class="app-panel" width="100%"><kendo-card-header><span class="app-panel-title">Item Entry</span></kendo-card-header><kendo-card-body>
|
||||
|
|
@ -298,13 +298,13 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-column field="" title="Attached File">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['download']" kendoGridRemoveCommand themeColor="primary" class="btn btn-sm btn-primary" (click)="downloadFile(dataItem)">Download</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['download']" kendoGridRemoveCommand themeColor="primary" class="btn btn-sm btn-primary gh-download" (click)="downloadFile(dataItem)">Download</button>
|
||||
</ng-template>
|
||||
</kendo-grid-column>
|
||||
|
||||
<kendo-grid-command-column title="Remove" width="220">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['delete']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" (click)="removeItem(rowIndex)">Remove</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['delete']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-delete" (click)="removeItem(rowIndex)">Remove</button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
@ -356,7 +356,7 @@
|
|||
<div class="card">
|
||||
<div class="col-12 md:col-12" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" (click)="draft();" style="margin-bottom: 10px; margin-right: 3px; width: 100px;" [disabled]="isNotDraft">Draft</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" (click)="submit();" style="margin-bottom: 10px; width: 100px;" [disabled]="isNotSubmit">Submit</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-submit" (click)="submit();" style="margin-bottom: 10px; width: 100px;" [disabled]="isNotSubmit">Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
@if (isClaimHisory) {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-command-column title="Action" width="220">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridRemoveCommand style="color:dodgerblue"><i class="pi pi-power-off">Remove</i></button>
|
||||
<button class="gh-delete" kendoGridRemoveCommand style="color:var(--gh-lk)"><i class="pi pi-power-off">Remove</i></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
@ -25,8 +25,8 @@
|
|||
<div class="card">
|
||||
<div class="col-12 md:col-12" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" style="margin-bottom: 10px; margin-right: 3px; width: 100px;">Draft</button>
|
||||
<button icon="preview" kendoButton themeColor="primary" class="btn btn-sm btn-primary" style="margin-bottom: 10px; width: 100px; margin-right: 3px;">Preview</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" style="margin-bottom: 10px; width: 100px;">Submit</button>
|
||||
<button icon="preview" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-preview" style="margin-bottom: 10px; width: 100px; margin-right: 3px;">Preview</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-submit" style="margin-bottom: 10px; width: 100px;">Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
<p-panel header="Claim Hisotry">
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-command-column title="Action" width="220">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridRemoveCommand style="color:dodgerblue"><i class="pi pi-power-off">Remove</i></button>
|
||||
<button class="gh-delete" kendoGridRemoveCommand style="color:var(--gh-lk)"><i class="pi pi-power-off">Remove</i></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
@ -93,8 +93,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="grid" style="float:right;margin-right:11px;margin-bottom:10px">
|
||||
<button class="k-button k-primary" (click)="loadData();">Search</button>
|
||||
<button kendoButton
|
||||
<button class="k-button k-primary gh-search" (click)="loadData();">Search</button>
|
||||
<button class="gh-excel" kendoButton
|
||||
type="button"
|
||||
[svgIcon]="apiService.KendoSVGIcon['fileExcel']"
|
||||
themeColor="primary"
|
||||
|
|
@ -150,7 +150,7 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-command-column title="Action" width="150">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['filePdf']" kendoButton themeColor="primary" (click)="Approve(dataItem.tranID,rowIndex);">View Details</button>
|
||||
<button class="gh-view" [svgIcon]="apiService.KendoSVGIcon['filePdf']" kendoButton themeColor="primary" (click)="Approve(dataItem.tranID,rowIndex);">View Details</button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
<!-- <kendo-grid-command-column title="Action" width="120">
|
||||
|
|
@ -166,7 +166,7 @@
|
|||
<div class="col-12">
|
||||
<div class="col-12 md:col-12 lg:col-12">
|
||||
<div class="col-12">
|
||||
<!--<button kendoButton type="button" themeColor="primary" (click)="doExcelExport([excelexport])">
|
||||
<!--<button class="gh-excel" kendoButton type="button" themeColor="primary" (click)="doExcelExport([excelexport])">
|
||||
Export To Excel
|
||||
</button>-->
|
||||
<kendo-excelexport [data]="claimRequisitionList"
|
||||
|
|
@ -218,8 +218,8 @@
|
|||
|
||||
|
||||
<div class="col-12 md:col-12" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" style="margin-bottom: 10px; margin-right: 3px; width: 100px;" (click)="approveall();" [disabled]="buttonDisabled">Approve</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" style="margin-bottom: 10px; margin-right: 3px; width: 100px;" (click)="rejectall();" [disabled]="buttonDisabled">Reject</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-approve" style="margin-bottom: 10px; margin-right: 3px; width: 100px;" (click)="approveall();" [disabled]="buttonDisabled">Approve</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-reject" style="margin-bottom: 10px; margin-right: 3px; width: 100px;" (click)="rejectall();" [disabled]="buttonDisabled">Reject</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -40,13 +40,13 @@
|
|||
<div class="col-12 lg:col-6">
|
||||
<br />
|
||||
<div class="grid" style="float:right;">
|
||||
<button class="k-button k-primary" (click)="search();">Search</button>
|
||||
<button class="k-button k-primary gh-search" (click)="search();">Search</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 lg:col-6">
|
||||
<br />
|
||||
<div class="grid" style="float:right;">
|
||||
<button kendoButton type="button" (click)="excelexport.save()">
|
||||
<button class="gh-excel" kendoButton type="button" (click)="excelexport.save()">
|
||||
Export To Excel
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
</div>
|
||||
<!--<div class="col-12">
|
||||
<div class="grid" style="float:right;">
|
||||
<button class="k-button k-primary" (click)="search();">Search</button>
|
||||
<button class="k-button k-primary gh-search" (click)="search();">Search</button>
|
||||
</div>
|
||||
</div>-->
|
||||
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
<div class="col-12">
|
||||
<kendo-grid [data]="claimDisbursementReportList">
|
||||
<ng-template kendoGridToolbarTemplate>
|
||||
<button type="button" kendoGridExcelCommand [svgIcon]="apiService.KendoSVGIcon['fileExcel']">
|
||||
<button class="gh-excel" type="button" kendoGridExcelCommand [svgIcon]="apiService.KendoSVGIcon['fileExcel']">
|
||||
Export to Excel
|
||||
</button>
|
||||
</ng-template>
|
||||
|
|
@ -103,7 +103,7 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-command-column title="Preview" width="120">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['filePdf']" kendoButton themeColor="primary" (click)="new(dataItem);">View Details</button>
|
||||
<button class="gh-view" [svgIcon]="apiService.KendoSVGIcon['filePdf']" kendoButton themeColor="primary" (click)="new(dataItem);">View Details</button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
<kendo-grid-command-column title="Payment Type" width="150">
|
||||
|
|
@ -129,7 +129,7 @@
|
|||
</kendo-grid-command-column>
|
||||
<kendo-grid-command-column title="Action" width="90">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" (click)="savePayment(dataItem);" [disabled]="dataItem.isPayment">Save</button>
|
||||
<button class="gh-save" [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" (click)="savePayment(dataItem);" [disabled]="dataItem.isPayment">Save</button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-column field="" title="Attached File" width="200">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['download']" kendoGridRemoveCommand themeColor="primary" class="btn btn-sm btn-primary" (click)="downloadFile(dataItem)" [disabled]="!dataItem.isFileExist">Download</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['download']" kendoGridRemoveCommand themeColor="primary" class="btn btn-sm btn-primary gh-download" (click)="downloadFile(dataItem)" [disabled]="!dataItem.isFileExist">Download</button>
|
||||
</ng-template>
|
||||
</kendo-grid-column>
|
||||
<kendo-grid-column field="amount" title="Amount" width="150">
|
||||
|
|
@ -84,7 +84,7 @@
|
|||
</kendo-grid-column>-->
|
||||
<!--<kendo-grid-command-column title="Remove" width="220">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridRemoveCommand style="color:dodgerblue"><i class="pi pi-power-off">Remove</i></button>
|
||||
<button class="gh-delete" kendoGridRemoveCommand style="color:var(--gh-lk)"><i class="pi pi-power-off">Remove</i></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>-->
|
||||
</kendo-grid>
|
||||
|
|
@ -139,8 +139,8 @@
|
|||
|
||||
<div class="grid" style="margin:10px;">
|
||||
<div class="col-12 lg:col-12" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" style="margin-bottom: 10px; width: 100px; margin-right: 3px;" (click)="approveRequisition()" [disabled]="isAproved">Approve</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" style="margin-bottom: 10px; width: 100px;" (click)="rejectRequisition()" [disabled]="isReject">Reject</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-approve" style="margin-bottom: 10px; width: 100px; margin-right: 3px;" (click)="approveRequisition()" [disabled]="isAproved">Approve</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-reject" style="margin-bottom: 10px; width: 100px;" (click)="rejectRequisition()" [disabled]="isReject">Reject</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -173,7 +173,7 @@
|
|||
</kendo-card-body></kendo-card>
|
||||
<div class="card">
|
||||
<div class="col-12 md:col-12" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" style="margin-bottom: 10px; width: 100px;" (click)="cancel()">Close</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-close" style="margin-bottom: 10px; width: 100px;" (click)="cancel()">Close</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<div class="card" style="padding: 1%;">
|
||||
<div class="grid">
|
||||
<div class="col-12" style="display: flex; justify-content: flex-start">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['plus']" kendoButton themeColor="primary" class="k-button" (click)="new()">New</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['plus']" kendoButton themeColor="primary" class="k-button gh-add" (click)="new()">New</button>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<kendo-grid [data]="gridView"
|
||||
|
|
@ -44,8 +44,8 @@
|
|||
</div>
|
||||
<!--<div class="card">
|
||||
<div class="col-12 md:col-12" align="right">
|
||||
<button pButton type="button" label="Cancel" style="margin-bottom: 10px; margin-right: 20px; width: 100px; background:red; color:white" (click)="onCancel();" class="ui-button-danger"></button>
|
||||
<button pButton type="submit" label="Save" style="margin-bottom: 10px; width: 100px; background:#50AF47; color: white" class="ui-button-success"></button>
|
||||
<button pButton type="button" label="Cancel" style="margin-bottom: 10px; margin-right: 20px; width: 100px; background:var(--gh-dn); color:var(--gh-tb)" (click)="onCancel();" class="ui-button-danger"></button>
|
||||
<button pButton type="submit" label="Save" style="margin-bottom: 10px; width: 100px; background:var(--gh-ok); color: var(--gh-tb)" class="ui-button-success"></button>
|
||||
</div>
|
||||
</div>-->
|
||||
</kendo-dialog></div>
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@
|
|||
<div class="card" style="padding: 1%">
|
||||
<div class="grid">
|
||||
<div class="col-12" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['plus']" kendoButton class="k-button k-primary" (click)="addItem();" [disabled]="isEdit">Add</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['plus']" kendoButton class="k-button k-primary gh-add" (click)="addItem();" [disabled]="isEdit">Add</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -208,8 +208,8 @@
|
|||
<div class="card" style="padding: 1%">
|
||||
<div class="grid">
|
||||
<div class="col-12 md:col-12" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton class="k-button k-primary" (click)="saveItem();" style="margin-right: 3px;">Save</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['cross']" kendoButton class="k-button k-primary" (click)="onCancel();">Cancel</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton class="k-button k-primary gh-save" (click)="saveItem();" style="margin-right: 3px;">Save</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['cross']" kendoButton class="k-button k-primary gh-cancel" (click)="onCancel();">Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -37,9 +37,9 @@
|
|||
</div>
|
||||
<div class="col-12" align="right">
|
||||
<button kendoButton (click)="search()"
|
||||
style="width: 200px; margin-right: 20px" type="button" class="app-btn app-btn-outlined">Search</button>
|
||||
style="width: 200px; margin-right: 20px" type="button" class="app-btn app-btn-outlined gh-search">Search</button>
|
||||
<button kendoButton (click)="submit()"
|
||||
style="width: 200px" type="button" class="app-btn app-btn-outlined">Submit</button>
|
||||
style="width: 200px" type="button" class="app-btn app-btn-outlined gh-submit">Submit</button>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="col-12">
|
||||
|
|
@ -60,17 +60,17 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-command-column title="JV" width="220">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridEditCommand style="color:dodgerblue"><i class="pi pi-power-off">Preview</i></button>
|
||||
<button class="gh-preview" kendoGridEditCommand style="color:var(--gh-lk)"><i class="pi pi-power-off">Preview</i></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
<kendo-grid-command-column title="Register" width="220">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridRemoveCommand style="color:dodgerblue"><i class="pi pi-power-off">Register</i></button>
|
||||
<button kendoGridRemoveCommand style="color:var(--gh-lk)"><i class="pi pi-power-off">Register</i></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
<kendo-grid-command-column title="Register In Text" width="220">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridAddCommand style="color:dodgerblue"><i class="pi pi-power-off">Register In Text</i></button>
|
||||
<button kendoGridAddCommand style="color:var(--gh-lk)"><i class="pi pi-power-off">Register In Text</i></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
@ -91,8 +91,8 @@
|
|||
</div>
|
||||
<div class="card">
|
||||
<div class="col-12 md:col-12" align="right">
|
||||
<button kendoButton type="button" style="margin-bottom: 10px; margin-right: 20px; width: 100px; background:red; color:white" (click)="onCancel();" class="app-btn ui-button-danger">Cancel</button>
|
||||
<button kendoButton type="submit" style="margin-bottom: 10px; width: 100px; background:#50AF47; color: white" class="app-btn ui-button-success">Save</button>
|
||||
<button kendoButton type="button" style="margin-bottom: 10px; margin-right: 20px; width: 100px; background:var(--gh-dn); color:var(--gh-tb)" (click)="onCancel();" class="app-btn ui-button-danger gh-cancel">Cancel</button>
|
||||
<button kendoButton type="submit" style="margin-bottom: 10px; width: 100px; background:var(--gh-ok); color: var(--gh-tb)" class="app-btn ui-button-success gh-save">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
</kendo-dialog></div>
|
||||
|
|
|
|||
|
|
@ -37,6 +37,6 @@
|
|||
</fieldset>
|
||||
</div>
|
||||
<div class="col-12 md:col-12" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" style="margin-bottom: 10px; margin-right: 3px; width: 100px;" (click)="update()">Update</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-save" style="margin-bottom: 10px; margin-right: 3px; width: 100px;" (click)="update()">Update</button>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
text-align: center;
|
||||
vertical-align: middle;
|
||||
font-weight: bold;
|
||||
color: brown;
|
||||
color: var(--gh-dn);
|
||||
}
|
||||
|
||||
.tableData
|
||||
|
|
|
|||
|
|
@ -79,8 +79,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<button class="k-button k-primary" kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" (click)="search()" style="float:right; margin-left: 10px; width: 100px;">Search</button>
|
||||
<button kendoButton type="button" [svgIcon]="apiService.KendoSVGIcon['fileExcel']" themeColor="primary" (click)="doExcelExport([excelexport])" style="float:right; margin-left: 10px;"> Export To Excel </button>
|
||||
<button class="k-button k-primary gh-search" kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" (click)="search()" style="float:right; margin-left: 10px; width: 100px;">Search</button>
|
||||
<button class="gh-excel" kendoButton type="button" [svgIcon]="apiService.KendoSVGIcon['fileExcel']" themeColor="primary" (click)="doExcelExport([excelexport])" style="float:right; margin-left: 10px;"> Export To Excel </button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -213,7 +213,7 @@
|
|||
<div class="col-12">
|
||||
<div class="col-12 md:col-12 lg:col-12">
|
||||
<div class="col-12">
|
||||
<!--<button kendoButton type="button" themeColor="primary" (click)="doExcelExport([excelexport])">
|
||||
<!--<button class="gh-excel" kendoButton type="button" themeColor="primary" (click)="doExcelExport([excelexport])">
|
||||
Export To Excel
|
||||
</button>-->
|
||||
<kendo-excelexport [data]="claimDisbursementReportList"
|
||||
|
|
|
|||
|
|
@ -29,10 +29,10 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-12 md:col-12" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['plus']" kendoButton themeColor="primary" class="k-button" [disabled]="!claimRembursementUserForm.valid" style="margin-bottom: 5px;color:white;" (click)="saveItem();">Add User</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['plus']" kendoButton themeColor="primary" class="k-button" [disabled]="!claimRembursementUserForm.valid" style="margin-bottom: 5px;color:var(--gh-tb);" (click)="saveItem();">Add User</button>
|
||||
</div>
|
||||
<kendo-card class="app-panel" width="100%"><kendo-card-header><span class="app-panel-title">User List</span></kendo-card-header><kendo-card-body>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['search']" kendoButton themeColor="primary" class="k-button" style="margin-bottom: 1px;margin-left:10px;margin-top: 5px;color:white;" (click)="loadData();">Search</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['search']" kendoButton themeColor="primary" class="k-button gh-search" style="margin-bottom: 1px;margin-left:10px;margin-top: 5px;color:var(--gh-tb);" (click)="loadData();">Search</button>
|
||||
<div class="col-12 md:col-12 lg:col-12">
|
||||
<div class="col-12">
|
||||
<kendo-grid [data]="gridView"
|
||||
|
|
@ -100,7 +100,7 @@
|
|||
<!--<div class="card">
|
||||
<div class="col-12 md:col-12" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" (click)="draft();" style="margin-bottom: 10px; margin-right: 3px; width: 100px;" [disabled]="isNotDraft">Draft</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" (click)="submit();" style="margin-bottom: 10px; width: 100px;" [disabled]="isNotSubmit">Submit</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-submit" (click)="submit();" style="margin-bottom: 10px; width: 100px;" [disabled]="isNotSubmit">Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
<p-panel header="Claim History" *ngIf="isClaimHisory">
|
||||
|
|
|
|||
|
|
@ -546,20 +546,20 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-12" align="right">
|
||||
<!--<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" style="margin-bottom: 10px; margin-right: 20px; width: 100px; ">Save</button>-->
|
||||
<!--<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-save" style="margin-bottom: 10px; margin-right: 20px; width: 100px; ">Save</button>-->
|
||||
<button
|
||||
[svgIcon]="apiService.KendoSVGIcon['plus']"
|
||||
kendoButton
|
||||
themeColor="primary"
|
||||
class="k-button"
|
||||
style="margin-bottom: 10px; color: white"
|
||||
class="k-button gh-add"
|
||||
style="margin-bottom: 10px; color: var(--gh-tb)"
|
||||
(click)="addItem()"
|
||||
>
|
||||
Add
|
||||
</button>
|
||||
<!--<button [svgIcon]="apiService.KendoSVGIcon['delete']" kendoButton themeColor="primary" class="k-button" style="margin-bottom: 10px;color:white;margin-left:2px;">Remove</button>-->
|
||||
<!--<button pButton type="button" label="remove" style="margin-bottom: 10px; margin-right: 20px; width: 100px; background:red; color:white" (click)="remove();" class="ui-button-danger"></button>-->
|
||||
<!--<button pButton type="submit" label="Add" style="margin-bottom: 10px; width: 100px; background:#50AF47; color: white" (click)="add();" class="ui-button-success"></button>-->
|
||||
<!--<button [svgIcon]="apiService.KendoSVGIcon['delete']" kendoButton themeColor="primary" class="k-button gh-delete" style="margin-bottom: 10px;color:var(--gh-tb);margin-left:2px;">Remove</button>-->
|
||||
<!--<button pButton type="button" label="remove" style="margin-bottom: 10px; margin-right: 20px; width: 100px; background:var(--gh-dn); color:var(--gh-tb)" (click)="remove();" class="ui-button-danger"></button>-->
|
||||
<!--<button pButton type="submit" label="Add" style="margin-bottom: 10px; width: 100px; background:var(--gh-ok); color: var(--gh-tb)" (click)="add();" class="ui-button-success"></button>-->
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
|
@ -652,7 +652,7 @@
|
|||
[svgIcon]="apiService.KendoSVGIcon['save']"
|
||||
kendoButton
|
||||
themeColor="primary"
|
||||
class="btn btn-sm btn-primary"
|
||||
class="btn btn-sm btn-primary gh-save"
|
||||
style="margin-bottom: 10px; margin-right: 3px; width: 100px"
|
||||
(click)="save()"
|
||||
>
|
||||
|
|
@ -662,7 +662,7 @@
|
|||
[svgIcon]="apiService.KendoSVGIcon['cross']"
|
||||
kendoButton
|
||||
themeColor="primary"
|
||||
class="btn btn-sm btn-primary"
|
||||
class="btn btn-sm btn-primary gh-cancel"
|
||||
style="margin-bottom: 10px; width: 100px"
|
||||
(click)="cancel()"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -42,10 +42,10 @@
|
|||
</div>
|
||||
<!--<div class="card">
|
||||
<div class="col-12 md:col-12" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" style="margin-bottom: 10px; margin-right: 3px; width: 100px;">Save</button>
|
||||
<button icon="cancel" kendoButton themeColor="primary" class="btn btn-sm btn-primary" style="margin-bottom: 10px; width: 100px;">Cancel</button>-->
|
||||
<!--<button pButton type="button" label="Cancel" style="margin-bottom: 10px; margin-right: 20px; width: 100px; background:red; color:white" (click)="onCancel();" class="ui-button-danger"></button>-->
|
||||
<!--<button pButton type="submit" label="Save" style="margin-bottom: 10px; width: 100px; background:#50AF47; color: white" class="ui-button-success"></button>-->
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-save" style="margin-bottom: 10px; margin-right: 3px; width: 100px;">Save</button>
|
||||
<button icon="cancel" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-cancel" style="margin-bottom: 10px; width: 100px;">Cancel</button>-->
|
||||
<!--<button pButton type="button" label="Cancel" style="margin-bottom: 10px; margin-right: 20px; width: 100px; background:var(--gh-dn); color:var(--gh-tb)" (click)="onCancel();" class="ui-button-danger"></button>-->
|
||||
<!--<button pButton type="submit" label="Save" style="margin-bottom: 10px; width: 100px; background:var(--gh-ok); color: var(--gh-tb)" class="ui-button-success"></button>-->
|
||||
<!--</div>
|
||||
</div>-->
|
||||
</kendo-dialog></div>
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
</div>
|
||||
<div class="col-12" align="right">
|
||||
<button kendoButton (click)="save()"
|
||||
style="width: 200px" type="button" class="app-btn app-btn-outlined">Save</button>
|
||||
style="width: 200px" type="button" class="app-btn app-btn-outlined gh-save">Save</button>
|
||||
</div>
|
||||
<fieldset>
|
||||
<legend>Previous Delegation</legend>
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
padding: 0;
|
||||
overflow: hidden;
|
||||
/* padding-bottom:68%; */
|
||||
background: white;
|
||||
background: var(--gh-tb);
|
||||
}
|
||||
|
||||
.pdf-viewer {
|
||||
width: 100%;
|
||||
min-height: 700px;
|
||||
/* max-height: 100%;
|
||||
background-color: white !important; */
|
||||
background-color: var(--gh-tb) !important; */
|
||||
}
|
||||
|
|
@ -80,7 +80,7 @@
|
|||
</div>
|
||||
<div class="col-12">
|
||||
<button kendoButton (click)="generate()"
|
||||
style="width: 200px" type="button" class="app-btn app-btn-outlined">Generate</button>
|
||||
style="width: 200px" type="button" class="app-btn app-btn-outlined gh-process">Generate</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -37,10 +37,10 @@
|
|||
</kendo-grid-column>-->
|
||||
<kendo-grid-command-column title="Action" width="220">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridEditCommand style="color:dodgerblue"><i class="pi pi-power-off">Approve</i></button>
|
||||
<button class="gh-approve" kendoGridEditCommand style="color:var(--gh-lk)"><i class="pi pi-power-off">Approve</i></button>
|
||||
</ng-template>
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridRemoveCommand style="color:dodgerblue"><i class="pi pi-power-off">Reject</i></button>
|
||||
<button class="gh-reject" kendoGridRemoveCommand style="color:var(--gh-lk)"><i class="pi pi-power-off">Reject</i></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
@ -64,7 +64,7 @@
|
|||
</div>
|
||||
<div class="col-12" align="right">
|
||||
<button kendoButton (click)="search()"
|
||||
style="width: 200px" type="button" class="app-btn app-btn-outlined">Search</button>
|
||||
style="width: 200px" type="button" class="app-btn app-btn-outlined gh-search">Search</button>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<kendo-grid [data]=""
|
||||
|
|
@ -96,7 +96,7 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-command-column title="" width="220">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridEditCommand style="color:dodgerblue"><i class="pi pi-power-off">Download</i></button>
|
||||
<button class="gh-download" kendoGridEditCommand style="color:var(--gh-lk)"><i class="pi pi-power-off">Download</i></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
</kendo-grid-column>-->
|
||||
<kendo-grid-command-column title="Print" width="220">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['filePdf']" themeColor="primary" kendoGridEditCommand (click)="downloadFile(dataItem)">Preview</button>
|
||||
<button class="gh-preview" [svgIcon]="apiService.KendoSVGIcon['filePdf']" themeColor="primary" kendoGridEditCommand (click)="downloadFile(dataItem)">Preview</button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
@ -80,7 +80,7 @@
|
|||
<div class="col-3" align="right">
|
||||
<!--<button (click)="search()" class="p-button-outlined" label="Search" pButton
|
||||
type="button"></button>-->
|
||||
<button style="width:100px; " [svgIcon]="apiService.KendoSVGIcon['search']" kendoButton class="k-button k-primary k-i-find" (click)="search()">Find</button>
|
||||
<button style="width:100px; " [svgIcon]="apiService.KendoSVGIcon['search']" kendoButton class="k-button k-primary k-i-find gh-search" (click)="search()">Find</button>
|
||||
<!--<button class="btn-profile-edit" kendoButton title="Search" (click)="search()"><i class="pi pi-user-edit"></i></button>-->
|
||||
</div>
|
||||
|
||||
|
|
@ -109,7 +109,7 @@
|
|||
</kendo-grid-column>-->
|
||||
<kendo-grid-command-column title="Print" width="220">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['filePdf']" themeColor="primary" kendoGridEditCommand (click)="downloadFile(dataItem)">Download</button>
|
||||
<button class="gh-download" [svgIcon]="apiService.KendoSVGIcon['filePdf']" themeColor="primary" kendoGridEditCommand (click)="downloadFile(dataItem)">Download</button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
|
|||
|
|
@ -271,7 +271,7 @@
|
|||
</div>
|
||||
<div class="col-12 lg:col-12" style="padding-top:5px">
|
||||
<div class="col-md-12" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" themeColor="primary" kendoButton class="btn btn-sm btn-primary" [disabled]="!letterRequestForm.valid" (click)="submit()">Submit</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" themeColor="primary" kendoButton class="btn btn-sm btn-primary gh-submit" [disabled]="!letterRequestForm.valid" (click)="submit()">Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -322,11 +322,11 @@
|
|||
<kendo-grid-command-column title="Download" width="150">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
@if (dataItem.letterRequestStatus===2) {
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['filePdf']" themeColor="primary" kendoGridEditCommand (click)="downloadFile(dataItem)">Download</button>
|
||||
<button class="gh-download" [svgIcon]="apiService.KendoSVGIcon['filePdf']" themeColor="primary" kendoGridEditCommand (click)="downloadFile(dataItem)">Download</button>
|
||||
}
|
||||
</ng-template>
|
||||
<!--<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['download']" [primary]="true" kendoGridEditCommand (click)="downloadFile(dataItem)">Download</button>
|
||||
<button class="gh-download" [svgIcon]="apiService.KendoSVGIcon['download']" [primary]="true" kendoGridEditCommand (click)="downloadFile(dataItem)">Download</button>
|
||||
</ng-template>-->
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
|
|||
|
|
@ -140,8 +140,8 @@
|
|||
|
||||
<div class="grid" style="margin:10px;">
|
||||
<div class="col-12 lg:col-12" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" style="margin-bottom: 10px; width: 100px; margin-right: 3px;" (click)="approveLetterRequest()">Approve</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" style="margin-bottom: 10px; width: 100px;" (click)="rejectLetterRequest()">Reject</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-approve" style="margin-bottom: 10px; width: 100px; margin-right: 3px;" (click)="approveLetterRequest()">Approve</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-reject" style="margin-bottom: 10px; width: 100px;" (click)="rejectLetterRequest()">Reject</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -169,7 +169,7 @@
|
|||
</kendo-card-body></kendo-card>
|
||||
<div class="card">
|
||||
<div class="col-12 md:col-12" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary" style="margin-bottom: 10px; width: 100px;" (click)="cancel()">Close</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" class="btn btn-sm btn-primary gh-close" style="margin-bottom: 10px; width: 100px;" (click)="cancel()">Close</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<app-loading-panel> </app-loading-panel>
|
||||
<div>
|
||||
<!-- <div class="card card-w-title">
|
||||
<h3 style="color: dodgerblue">Employees Pending Jobs</h3>
|
||||
<h3 style="color: var(--gh-lk)">Employees Pending Jobs</h3>
|
||||
</div> -->
|
||||
<div class="card workflowTopControls">
|
||||
<div class="col-2">
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
(click)="Search()"
|
||||
kendoButton
|
||||
[svgIcon]="apiService.KendoSVGIcon['search']"
|
||||
class="k-button k-primary"
|
||||
class="k-button k-primary gh-search"
|
||||
type="button"
|
||||
style="width:100%"
|
||||
>
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
}}"
|
||||
kendoTextBox
|
||||
/>
|
||||
<button
|
||||
<button class="gh-excel"
|
||||
kendoGridExcelCommand
|
||||
type="button"
|
||||
[svgIcon]="apiService.KendoSVGIcon['fileExcel']"
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
>
|
||||
Export to Excel
|
||||
</button>
|
||||
<button
|
||||
<button class="gh-pdf"
|
||||
kendoGridPDFCommand
|
||||
[svgIcon]="apiService.KendoSVGIcon['filePdf']"
|
||||
style="float: right"
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-command-column title="Action" width="auto">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridRemoveCommand style="color:dodgerblue"><i class="pi pi-power-off">Delete</i></button>
|
||||
<button class="gh-delete" kendoGridRemoveCommand style="color:var(--gh-lk)"><i class="pi pi-power-off">Delete</i></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
@ -114,7 +114,7 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-command-column title="Action" width="auto">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridRemoveCommand style="color:dodgerblue"><i class="pi pi-power-off">Delete</i></button>
|
||||
<button class="gh-delete" kendoGridRemoveCommand style="color:var(--gh-lk)"><i class="pi pi-power-off">Delete</i></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
|
|||
|
|
@ -17,11 +17,11 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-command-column title="Action" width="220">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridEditCommand style="color:dodgerblue"><i class="pi pi-power-off">Edit</i>
|
||||
<button class="gh-edit" kendoGridEditCommand style="color:var(--gh-lk)"><i class="pi pi-power-off">Edit</i>
|
||||
</button>
|
||||
</ng-template>
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridRemoveCommand style="color:dodgerblue"><i
|
||||
<button class="gh-delete" kendoGridRemoveCommand style="color:var(--gh-lk)"><i
|
||||
class="pi pi-power-off">Delete</i></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
|
|
@ -46,10 +46,10 @@
|
|||
<div class="card">
|
||||
<div class="col-12 md:col-12" align="right">
|
||||
<button pButton type="button" label="Close"
|
||||
style="margin-bottom: 10px; margin-right: 20px; width: 100px; background:red; color:white"
|
||||
style="margin-bottom: 10px; margin-right: 20px; width: 100px; background:var(--gh-dn); color:var(--gh-tb)"
|
||||
(click)="cancel();" class="ui-button-danger"></button>
|
||||
<button pButton type="submit" label="Save"
|
||||
style="margin-bottom: 10px; width: 100px; background:#50AF47; color: white"
|
||||
style="margin-bottom: 10px; width: 100px; background:var(--gh-ok); color: var(--gh-tb)"
|
||||
class="ui-button-success"></button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -71,8 +71,8 @@
|
|||
<kendo-grid-column field="amount" title="Limite Amount"></kendo-grid-column>
|
||||
<kendo-grid-command-column title="Action">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<!-- <button class="btn btn-xs btn-info" style="padding: 0.2rem 0.5rem;" (click)="EditAStep(rowIndex);"><i class="fa fa-pencil-square-o" aria-hidden="true"></i> Edit</button>
|
||||
<button class="btn btn-xs btn-info" style="padding: 0.2rem 0.5rem;" (click)="RemoveStep(rowIndex);"><i class="fa fa-pencil-square-o" aria-hidden="true"></i> Remove</button> -->
|
||||
<!-- <button class="btn btn-xs btn-info gh-edit" style="padding: 0.2rem 0.5rem;" (click)="EditAStep(rowIndex);"><i class="fa fa-pencil-square-o" aria-hidden="true"></i> Edit</button>
|
||||
<button class="btn btn-xs btn-info gh-delete" style="padding: 0.2rem 0.5rem;" (click)="RemoveStep(rowIndex);"><i class="fa fa-pencil-square-o" aria-hidden="true"></i> Remove</button> -->
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['edit']" class="k-button k-primary" (click)="EditAStep(rowIndex);"></button>
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['delete']" class="k-button kt-delete" (click)="RemoveStep(rowIndex);"></button>
|
||||
</ng-template>
|
||||
|
|
@ -82,8 +82,8 @@
|
|||
<hr />
|
||||
<div class="form-group">
|
||||
<div class="grid" style="justify-content: flex-end;">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['save']" class="k-button k-primary" (click)="SaveRule()" style="margin-right: 10px;">Save</button>
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" class="k-button k-primary" (click)="RefreshRole()" style="margin-right: 10px;">Refresh</button>
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['save']" class="k-button k-primary gh-save" (click)="SaveRule()" style="margin-right: 10px;">Save</button>
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" class="k-button k-primary gh-refresh" (click)="RefreshRole()" style="margin-right: 10px;">Refresh</button>
|
||||
<!--<button *ngIf="this.stepEditMode" class="btn btn-primary pull-right" (click)="RefreshEditMode()"><i class="fa fa-floppy-o" aria-hidden="true"></i> Refresh Edit Mode</button>-->
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -206,7 +206,7 @@
|
|||
<kendo-grid-column field="actorName" title="Actor Name"></kendo-grid-column>
|
||||
<kendo-grid-command-column title="Action">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button class="btn btn-xs btn-info" style="padding: 0.2rem 0.5rem;" (click)="RemoveActor(rowIndex);"><i class="fa fa-pencil-square-o" aria-hidden="true"></i> Remove</button>
|
||||
<button class="btn btn-xs btn-info gh-delete" style="padding: 0.2rem 0.5rem;" (click)="RemoveActor(rowIndex);"><i class="fa fa-pencil-square-o" aria-hidden="true"></i> Remove</button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
@ -215,8 +215,8 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group col-md-4">
|
||||
<button class="btn btn-primary pull-right" (click)="CloseStep()"><i class="fa fa-floppy-o" aria-hidden="true"></i> Close</button>
|
||||
<button class="btn btn-primary pull-right" (click)="AddStep()"><i class="fa fa-floppy-o" aria-hidden="true"></i> submit</button>
|
||||
<button class="btn btn-primary pull-right gh-close" (click)="CloseStep()"><i class="fa fa-floppy-o" aria-hidden="true"></i> Close</button>
|
||||
<button class="btn btn-primary pull-right gh-submit" (click)="AddStep()"><i class="fa fa-floppy-o" aria-hidden="true"></i> submit</button>
|
||||
</div>
|
||||
</div>
|
||||
</kendo-dialog>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
</div>
|
||||
<div class="col-12" align="right">
|
||||
<button kendoButton (click)="save()"
|
||||
style="width: 200px" type="button" class="app-btn app-btn-outlined">Save</button>
|
||||
style="width: 200px" type="button" class="app-btn app-btn-outlined gh-save">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
text-align: center;
|
||||
padding: 1rem;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 2px 1px -1px rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 1px 3px 0 rgba(0,0,0,.12);
|
||||
box-shadow: 0 2px 1px -1px color-mix(in srgb, var(--gh-ht) 20%, transparent), 0 1px 1px 0 color-mix(in srgb, var(--gh-ht) 14%, transparent), 0 1px 3px 0 color-mix(in srgb, var(--gh-ht) 12%, transparent);
|
||||
}
|
||||
|
||||
.p-d-flex > div {
|
||||
|
|
@ -43,16 +43,16 @@ i:not([class~="pi"]) {
|
|||
.token {
|
||||
&.tag,
|
||||
&.keyword {
|
||||
color: #2196F3 !important;
|
||||
color: var(--gh-lk) !important;
|
||||
}
|
||||
|
||||
&.attr-name,
|
||||
&.attr-string {
|
||||
color: #2196F3 !important;
|
||||
color: var(--gh-lk) !important;
|
||||
}
|
||||
|
||||
&.attr-value {
|
||||
color: #4CAF50 !important;
|
||||
color: var(--gh-ok) !important;
|
||||
}
|
||||
|
||||
&.punctuation {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<a href="/" class="logo-container">
|
||||
<!--<img src="assets/layout/images/logo-black.png" alt="babylon-layout" />-->
|
||||
</a>
|
||||
<p style="margin-top:15px; font-size: small; color: #727272;">Version: {{ version }}</p>
|
||||
<p style="margin-top:15px; font-size: small; color: var(--gh-muted);">Version: {{ version }}</p>
|
||||
</div>
|
||||
<div class="col-6 footer-icons">
|
||||
<a href="#">
|
||||
|
|
|
|||
|
|
@ -70,8 +70,8 @@ export class HRMNotificationService {
|
|||
text: message,
|
||||
icon: 'warning',
|
||||
showCancelButton: true,
|
||||
confirmButtonColor: '#0e2b63',
|
||||
cancelButtonColor: '#d33',
|
||||
confirmButtonColor: 'var(--gh-btn)',
|
||||
cancelButtonColor: 'var(--gh-muted)',
|
||||
confirmButtonText: 'Yes'
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed) {
|
||||
|
|
@ -86,7 +86,7 @@ export class HRMNotificationService {
|
|||
Swal.fire({
|
||||
text: message,
|
||||
icon: 'success',
|
||||
confirmButtonColor: '#50af47',
|
||||
confirmButtonColor: 'var(--gh-ok)',
|
||||
confirmButtonText: 'OK',
|
||||
}).then((result) => {
|
||||
const isConfirmed: boolean = result.isConfirmed;
|
||||
|
|
@ -101,8 +101,8 @@ export class HRMNotificationService {
|
|||
text: message,
|
||||
icon: 'warning',
|
||||
showCancelButton: true,
|
||||
confirmButtonColor: '#414278',
|
||||
cancelButtonColor: '#d33',
|
||||
confirmButtonColor: 'var(--gh-btn)',
|
||||
cancelButtonColor: 'var(--gh-muted)',
|
||||
confirmButtonText: 'Yes',
|
||||
cancelButtonText: 'No'
|
||||
}).then((result) => {
|
||||
|
|
@ -317,7 +317,7 @@ export class HRMNotificationService {
|
|||
// Swal.fire({
|
||||
// text: message,
|
||||
// icon: 'success',
|
||||
// confirmButtonColor: '#50af47',
|
||||
// confirmButtonColor: 'var(--gh-ok)',
|
||||
// confirmButtonText: 'OK',
|
||||
// }).then((result) => {
|
||||
// if (result.isConfirmed) {
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@
|
|||
<i class="topbar-icon pi pi-book"></i>
|
||||
<span class="topbar-item-name">Bookmark List</span>
|
||||
</a>
|
||||
<ul class="fadeInDown" style="height:350px;overflow-y:scroll;scrollbar-width:thin;scrollbar-color:#888 transparent;width:350px;border-radius:20px;">
|
||||
<ul class="fadeInDown" style="height:350px;overflow-y:scroll;scrollbar-width:thin;scrollbar-color:var(--gh-muted) transparent;width:350px;border-radius:20px;">
|
||||
@for (bookmark of this.menuService.bookMarkpages; track bookmark) {
|
||||
<li role="menuitem" class="bookmarkItemList">
|
||||
<a (click)="bookMarkedLinkClicked(bookmark)" [routerLink]="bookmark.link" class="bookmarktag">
|
||||
|
|
@ -81,9 +81,9 @@
|
|||
<span class="topbar-item-name">Notifications</span>
|
||||
<span class="topbar-badge">{{pendingJobCount}}</span>
|
||||
</a>
|
||||
<ul class="fadeInDown" style="height:350px;overflow-y:scroll;scrollbar-width:thin;scrollbar-color:#888 transparent;width:350px;border-radius:20px;">
|
||||
<ul class="fadeInDown" style="height:350px;overflow-y:scroll;scrollbar-width:thin;scrollbar-color:var(--gh-muted) transparent;width:350px;border-radius:20px;">
|
||||
@for (pendingJob of pendingJobDTOs; track pendingJob) {
|
||||
<li role="menuitem" style="border-bottom:1px solid #c4c4c4;">
|
||||
<li role="menuitem" style="border-bottom:1px solid var(--gh-bo2);">
|
||||
<div class="grid pendingJobItemList" [ngStyle]="{'cursor': pendingJob.link ? 'pointer' : 'default'}">
|
||||
<div class="col-2" style="display:flex;justify-content:center;align-items:center;">
|
||||
<img style="height:20px;width:20px;" src="assets/hrm-icons/cursor2.png" />
|
||||
|
|
@ -279,7 +279,7 @@
|
|||
<path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/>
|
||||
<path d="M13.73 21a2 2 0 0 1-3.46 0"/>
|
||||
</svg>
|
||||
<span style="position:absolute;top:-3px;right:-3px;width:8px;height:8px;background:#e53935;border-radius:50%;"></span>
|
||||
<span style="position:absolute;top:-3px;right:-3px;width:8px;height:8px;background:var(--gh-dn);border-radius:50%;"></span>
|
||||
</span>
|
||||
@if (notificationCount > 0) {
|
||||
<span class="ss-badge">{{notificationCount}}</span>
|
||||
|
|
|
|||
|
|
@ -45,21 +45,21 @@
|
|||
margin: 0.5rem 6.8rem 0 6.7rem !important;
|
||||
padding: 0 10px !important;
|
||||
height: 48px !important;
|
||||
background: rgba($color-white, 0.88) !important;
|
||||
background: color-mix(in srgb, $color-white 88%, transparent) !important;
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
border: 1.5px solid $topbar-accent-purple-light !important;
|
||||
border-radius: 25px;
|
||||
gap: 0.5rem;
|
||||
box-shadow: 0 2px 8px rgba($topbar-accent-purple,0.08), 0 8px 24px rgba($topbar-accent-purple,0.10),
|
||||
inset 0 1px 0 rgba($color-white,0.9) !important;
|
||||
box-shadow: 0 2px 8px color-mix(in srgb, $topbar-accent-purple 8%, transparent), 0 8px 24px color-mix(in srgb, $topbar-accent-purple 10%, transparent),
|
||||
inset 0 1px 0 color-mix(in srgb, $color-white 90%, transparent) !important;
|
||||
transition: backdrop-filter 0.3s, background 0.3s, box-shadow 0.3s;
|
||||
overflow: visible !important;
|
||||
}
|
||||
.ss-topbar-scrolled {
|
||||
backdrop-filter: blur(12px) !important;
|
||||
background: rgba($topbar-scroll-tint,0.6) !important;
|
||||
box-shadow: 0 2px 16px rgba($color-black,0.08) !important;
|
||||
background: color-mix(in srgb, $topbar-scroll-tint 60%, transparent) !important;
|
||||
box-shadow: 0 2px 16px color-mix(in srgb, $color-black 8%, transparent) !important;
|
||||
}
|
||||
.ss-topbar-left {
|
||||
display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0;
|
||||
|
|
@ -76,7 +76,7 @@
|
|||
display: flex; align-items: center; gap: 2px;
|
||||
list-style: none; margin: 0; padding: 3px 6px;
|
||||
background: $color-white; border-radius: 50px;
|
||||
box-shadow: 0 1px 4px rgba($color-black,0.07);
|
||||
box-shadow: 0 1px 4px color-mix(in srgb, $color-black 7%, transparent);
|
||||
flex-wrap: nowrap;
|
||||
font-family: $topbar-font-menu;
|
||||
}
|
||||
|
|
@ -120,7 +120,7 @@
|
|||
width: 300px;
|
||||
background: linear-gradient(160deg, $topbar-gradient-start 0%, $topbar-gradient-end 100%);
|
||||
border-radius: 14px;
|
||||
box-shadow: 0 8px 32px rgba($brand-primary-dark,0.15);
|
||||
box-shadow: 0 8px 32px color-mix(in srgb, $brand-primary-dark 15%, transparent);
|
||||
padding: 6px;
|
||||
margin: 0;
|
||||
z-index: 2000;
|
||||
|
|
@ -146,10 +146,10 @@
|
|||
white-space: nowrap;
|
||||
width: 100%;
|
||||
|
||||
&:hover { background: rgba($topbar-accent-purple,0.10); color: $topbar-text-dark; }
|
||||
&:hover { background: color-mix(in srgb, $topbar-accent-purple 10%, transparent); color: $topbar-text-dark; }
|
||||
}
|
||||
.ss-submenu-item--open > .ss-submenu-link {
|
||||
background: rgba($topbar-accent-purple,0.10); color: $topbar-navy;
|
||||
background: color-mix(in srgb, $topbar-accent-purple 10%, transparent); color: $topbar-navy;
|
||||
}
|
||||
.ss-submenu-divider {
|
||||
height: 1px; margin: 4px 8px;
|
||||
|
|
@ -189,7 +189,7 @@
|
|||
display: flex; align-items: center; justify-content: center;
|
||||
position: relative; transition: background 0.15s;
|
||||
color: $topbar-text-slate; padding: 0;
|
||||
&:hover { background: rgba($color-black,0.06); }
|
||||
&:hover { background: color-mix(in srgb, $color-black 6%, transparent); }
|
||||
}
|
||||
.ss-badge {
|
||||
position: absolute; top: 3px; right: 3px;
|
||||
|
|
@ -204,12 +204,12 @@
|
|||
background: $topbar-navy; color: $color-white;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
font-size: 13px; border: 2px solid $color-white;
|
||||
box-shadow: 0 1px 4px rgba($color-black,0.15);
|
||||
box-shadow: 0 1px 4px color-mix(in srgb, $color-black 15%, transparent);
|
||||
}
|
||||
.ss-dd {
|
||||
position: absolute; top: calc(100% + 8px); right: 0; left: auto;
|
||||
background: $color-white; border-radius: 14px;
|
||||
box-shadow: 0 8px 32px rgba($color-black,0.13);
|
||||
box-shadow: 0 8px 32px color-mix(in srgb, $color-black 13%, transparent);
|
||||
list-style: none; margin: 0; padding: 0;
|
||||
z-index: 2000; animation: ssDropIn 0.14s ease;
|
||||
overflow: hidden;
|
||||
|
|
@ -342,7 +342,7 @@
|
|||
width: min(300px, 100vw - 16px);
|
||||
background: linear-gradient(160deg, $topbar-gradient-start 0%, $topbar-gradient-end 100%);
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 8px 40px rgba($brand-primary-dark, 0.2);
|
||||
box-shadow: 0 8px 40px color-mix(in srgb, $brand-primary-dark 20%, transparent);
|
||||
z-index: 3999;
|
||||
overflow: hidden;
|
||||
border: 1px solid $topbar-accent-purple-light !important;
|
||||
|
|
@ -421,9 +421,9 @@
|
|||
display: inline-block;
|
||||
max-width: 260px;
|
||||
padding: 4px 12px;
|
||||
border: 1px solid rgba($color-white, 0.35);
|
||||
border: 1px solid color-mix(in srgb, $color-white 35%, transparent);
|
||||
border-radius: 999px;
|
||||
background: rgba($color-white, 0.12);
|
||||
background: color-mix(in srgb, $color-white 12%, transparent);
|
||||
color: $color-white;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@
|
|||
}
|
||||
</div>
|
||||
<div class="col-12 lg:col-12" align="right">
|
||||
<button kendoButton themeColor="primary" (click)="SaveItem();" [svgIcon]="apiService.KendoSVGIcon['save']" style="width: 150px;">Save</button>
|
||||
<button class="gh-save" kendoButton themeColor="primary" (click)="SaveItem();" [svgIcon]="apiService.KendoSVGIcon['save']" style="width: 150px;">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
|
@ -1 +1 @@
|
|||
<div style="border: 1px solid red">Access Card Type</div>
|
||||
<div style="border: 1px solid var(--gh-dn)">Access Card Type</div>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
<button kendoButton class="k-button k-primary" [svgIcon]="apiService.KendoSVGIcon['gear']" style="width: 100px;" [disabled]="processStatus"
|
||||
<button kendoButton class="k-button k-primary gh-process" [svgIcon]="apiService.KendoSVGIcon['gear']" style="width: 100px;" [disabled]="processStatus"
|
||||
(click)="onSave($event)" style="width: 15%;">Process</button>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@
|
|||
}
|
||||
<!-- search button -->
|
||||
<div class="col-12" align="right">
|
||||
<button
|
||||
<button class="gh-search"
|
||||
kendoButton
|
||||
themeColor="primary"
|
||||
[svgIcon]="apiService.KendoSVGIcon['search']"
|
||||
|
|
@ -224,18 +224,18 @@
|
|||
Count: {{ this.data ? this.data.length : 0 }}
|
||||
<button
|
||||
kendoButton
|
||||
class="k-primary"
|
||||
class="k-primary gh-preview"
|
||||
style="width: 120px; margin-right: 5px"
|
||||
(click)="onPreview('PDF')"
|
||||
>
|
||||
Preview
|
||||
</button>
|
||||
<!-- <button kendoGridPDFCommand [svgIcon]="apiService.KendoSVGIcon['filePdf']" type="button">
|
||||
<!-- <button class="gh-pdf" kendoGridPDFCommand [svgIcon]="apiService.KendoSVGIcon['filePdf']" type="button">
|
||||
Export to PDF
|
||||
</button> -->
|
||||
<button
|
||||
kendoButton
|
||||
class="k-primary"
|
||||
class="k-primary gh-excel"
|
||||
[svgIcon]="apiService.KendoSVGIcon['fileExcel']"
|
||||
style="width: 120px; margin-right: 5px"
|
||||
(click)="onPreview('EXCEL')"
|
||||
|
|
@ -334,7 +334,7 @@
|
|||
style="width: 100%"
|
||||
placeholder="Write Remarks"
|
||||
/>
|
||||
<button
|
||||
<button class="gh-approve"
|
||||
kendoButton
|
||||
themeColor="primary"
|
||||
(click)="Approve(dataItem)"
|
||||
|
|
@ -342,7 +342,7 @@
|
|||
>
|
||||
Approve
|
||||
</button>
|
||||
<button
|
||||
<button class="gh-reject"
|
||||
kendoButton
|
||||
|
||||
(click)="Reject(dataItem)"
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
<button style="margin-top:39px ; margin-right: 50%;" [svgIcon]="apiService.KendoSVGIcon['plus']"
|
||||
kendoButton
|
||||
class="k-button k-primary"
|
||||
class="k-button k-primary gh-refresh"
|
||||
(click)="AddToList()">
|
||||
Refresh
|
||||
</button>
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
<div class="col-12 md:col-12" style="display: flex; justify-content: flex-end">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['plus']"
|
||||
kendoButton
|
||||
class="k-button k-primary"
|
||||
class="k-button k-primary gh-refresh"
|
||||
(click)="AddToList()">
|
||||
Refresh
|
||||
</button>
|
||||
|
|
@ -208,7 +208,7 @@
|
|||
[resizable]="true"
|
||||
[rowClass]="rowCallback">
|
||||
<ng-template kendoGridToolbarTemplate>
|
||||
<!--<button kendoGridExcelCommand type="button" [svgIcon]="apiService.KendoSVGIcon['fileExcel']" style="float:right;">Export to Excel</button>-->
|
||||
<!--<button class="gh-excel" kendoGridExcelCommand type="button" [svgIcon]="apiService.KendoSVGIcon['fileExcel']" style="float:right;">Export to Excel</button>-->
|
||||
|
||||
<kendo-grid-spacer></kendo-grid-spacer>
|
||||
|
||||
|
|
@ -351,12 +351,12 @@
|
|||
<ng-template kendoGridCellTemplate
|
||||
let-dataItem
|
||||
let-rowIndex="rowIndex">
|
||||
<!--<button kendoButton class="btn btn-sm btn-primary" (click)="RemovefromList(rowIndex)"><i class="pi pi-pencil">Remove</i></button>-->
|
||||
<!--<button kendoButton class="btn btn-sm btn-primary gh-delete" (click)="RemovefromList(rowIndex)"><i class="pi pi-pencil">Remove</i></button>-->
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['delete']"
|
||||
kendoButton
|
||||
class="kt-delete"
|
||||
(click)="RemovefromList(rowIndex)"></button>
|
||||
<!--<button (click)="RemovefromList(rowIndex)"><i class="pi pi-pencil">remove</i></button>-->
|
||||
<!--<button class="gh-delete" (click)="RemovefromList(rowIndex)"><i class="pi pi-pencil">remove</i></button>-->
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
<kendo-grid-excel fileName="Attn-data.xlsx"></kendo-grid-excel>
|
||||
|
|
@ -366,7 +366,7 @@
|
|||
<button
|
||||
[svgIcon]="apiService.KendoSVGIcon['rotation']"
|
||||
kendoButton
|
||||
class="k-button k-primary"
|
||||
class="k-button k-primary gh-save"
|
||||
(click)="update()"
|
||||
>
|
||||
Update
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@
|
|||
<div class="col-12 md:col-12">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['plus']"
|
||||
kendoButton
|
||||
class="k-button k-primary"
|
||||
class="k-button k-primary gh-refresh"
|
||||
(click)="AddToList()">
|
||||
Refresh
|
||||
</button>
|
||||
|
|
@ -246,7 +246,7 @@
|
|||
<div class="col-12">
|
||||
<kendo-grid [data]="dailyAttenProcessList" [scrollable]="true" [resizable]="true" [rowClass]="rowCallback">
|
||||
<ng-template kendoGridToolbarTemplate>
|
||||
<button kendoGridExcelCommand type="button" [svgIcon]="apiService.KendoSVGIcon['fileExcel']" style="float:right;">Export to
|
||||
<button class="gh-excel" kendoGridExcelCommand type="button" [svgIcon]="apiService.KendoSVGIcon['fileExcel']" style="float:right;">Export to
|
||||
Excel</button>
|
||||
<kendo-grid-spacer></kendo-grid-spacer>
|
||||
<label for="shift">Shift :</label>
|
||||
|
|
@ -328,9 +328,9 @@
|
|||
</kendo-grid-column>
|
||||
<kendo-grid-command-column title="Action" width="7%">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<!--<button kendoButton class="btn btn-sm btn-primary" (click)="RemovefromList(rowIndex)"><i class="pi pi-pencil">Remove</i></button>-->
|
||||
<!--<button kendoButton class="btn btn-sm btn-primary gh-delete" (click)="RemovefromList(rowIndex)"><i class="pi pi-pencil">Remove</i></button>-->
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['delete']" kendoButton class="kt-delete" (click)="RemovefromList(rowIndex)"></button>
|
||||
<!--<button (click)="RemovefromList(rowIndex)"><i class="pi pi-pencil">remove</i></button>-->
|
||||
<!--<button class="gh-delete" (click)="RemovefromList(rowIndex)"><i class="pi pi-pencil">remove</i></button>-->
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
<kendo-grid-excel fileName="Attn-data.xlsx"></kendo-grid-excel>
|
||||
|
|
@ -338,10 +338,10 @@
|
|||
</div>
|
||||
<div class="col-12" align="right">
|
||||
@if (isVisibleCordinatorPicker) {
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['undo']" style="margin-right: 20px;" class="k-button k-primary" (click)="goBack()">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['undo']" style="margin-right: 20px;" class="k-button k-primary gh-back" (click)="goBack()">
|
||||
Back </button>
|
||||
}
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['rotation']" kendoButton class="k-button k-primary" (click)="update()">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['rotation']" kendoButton class="k-button k-primary gh-save" (click)="update()">
|
||||
Update
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -87,8 +87,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<kendo-dialog-actions>
|
||||
<button class="k-button" (click)="onCancel($event)">Cancel</button>
|
||||
<button class="k-button k-primary" [disabled]="!attendancePaymentPolicyForm.valid" (click)="onSave($event)">Save</button>
|
||||
<button class="k-button gh-cancel" (click)="onCancel($event)">Cancel</button>
|
||||
<button class="k-button k-primary gh-save" [disabled]="!attendancePaymentPolicyForm.valid" (click)="onSave($event)">Save</button>
|
||||
</kendo-dialog-actions>
|
||||
</form>
|
||||
</kendo-dialog>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
<kendo-grid-command-column title="Action" width="100">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridEditCommand themeColor="primary"><i class="pi pi-pencil"></i></button>
|
||||
<button kendoGridRemoveCommand style="color:red"><i class="pi pi-power-off"></i></button>
|
||||
<button kendoGridRemoveCommand style="color:var(--gh-dn)"><i class="pi pi-power-off"></i></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
|
|||
|
|
@ -47,8 +47,8 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!--<button class="k-button" (click)="onCancel($event)">Cancel</button>-->
|
||||
<button class="k-button k-primary" style="width: 100px;" (click)="onSave($event)">Process</button>
|
||||
<!--<button class="k-button gh-cancel" (click)="onCancel($event)">Cancel</button>-->
|
||||
<button class="k-button k-primary gh-process" style="width: 100px;" (click)="onSave($event)">Process</button>
|
||||
|
||||
<app-single-employee-picker [isActive]="isSingleEmployeePickerActive"
|
||||
(select)="selectSingleEmployeeHandler($event)"
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!--<button class="k-button" (click)="onCancel($event)">Cancel</button>-->
|
||||
<button class="k-button k-primary" style="width: 100px;" (click)="onSave($event)">Process</button>
|
||||
<!--<button class="k-button gh-cancel" (click)="onCancel($event)">Cancel</button>-->
|
||||
<button class="k-button k-primary gh-process" style="width: 100px;" (click)="onSave($event)">Process</button>
|
||||
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
id="txtName" style="width: 70%" (valueChange)="onDateChange($event)">
|
||||
</kendo-datepicker>
|
||||
</div>
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['fileExcel']" themeColor="primary"
|
||||
<button class="gh-excel" kendoButton [svgIcon]="apiService.KendoSVGIcon['fileExcel']" themeColor="primary"
|
||||
(click)="exportDateWiseWorkhour()" style="margin-left: 4px;">
|
||||
Export
|
||||
</button>
|
||||
|
|
@ -87,12 +87,12 @@
|
|||
|
||||
<!-- Load & Export -->
|
||||
<div style="display:flex; align-items:center; gap:6px;">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" themeColor="primary"
|
||||
<button class="gh-search" kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" themeColor="primary"
|
||||
(click)="loadMonthlySummary()">
|
||||
Load
|
||||
</button>
|
||||
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['fileExcel']"
|
||||
<button class="gh-excel" kendoButton [svgIcon]="apiService.KendoSVGIcon['fileExcel']"
|
||||
themeColor="primary" (click)="export()">
|
||||
Export
|
||||
</button>
|
||||
|
|
@ -103,7 +103,7 @@
|
|||
|
||||
<!-- Mail Actions -->
|
||||
<div style="display:flex; align-items:center; gap:6px;">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['envelop']" themeColor="primary"
|
||||
<button class="gh-submit" kendoButton [svgIcon]="apiService.KendoSVGIcon['envelop']" themeColor="primary"
|
||||
(click)="sendMailNotification()">
|
||||
Send Mail
|
||||
</button>
|
||||
|
|
@ -179,12 +179,12 @@
|
|||
|
||||
<!-- Load & Export -->
|
||||
<div style="display:flex; align-items:center; gap:6px;">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" themeColor="primary"
|
||||
<button class="gh-search" kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" themeColor="primary"
|
||||
(click)="loadMonthlyLateAttnSummary()">
|
||||
Load
|
||||
</button>
|
||||
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['fileExcel']"
|
||||
<button class="gh-excel" kendoButton [svgIcon]="apiService.KendoSVGIcon['fileExcel']"
|
||||
themeColor="primary" (click)="exportMonthlyLateAttnSummary()">
|
||||
Export
|
||||
</button>
|
||||
|
|
@ -240,7 +240,7 @@
|
|||
|
||||
<ng-template kendoGridCellTemplate let-dataItem>
|
||||
<a href="javascript:void(0)" (click)="showAttendanceDetails(dataItem)"
|
||||
style="color: rgb(255, 0, 106); text-decoration: underline; cursor: pointer;">
|
||||
style="color: var(--gh-bd); text-decoration: underline; cursor: pointer;">
|
||||
{{ dataItem.lateDays }}
|
||||
</a>
|
||||
</ng-template>
|
||||
|
|
@ -382,7 +382,7 @@
|
|||
</div>
|
||||
|
||||
<ng-template #noData>
|
||||
<p style="text-align:center; padding:10px; font-size:12px; color:#888;">
|
||||
<p style="text-align:center; padding:10px; font-size:12px; color:var(--gh-muted);">
|
||||
No data found.
|
||||
</p>
|
||||
</ng-template>
|
||||
|
|
@ -464,15 +464,15 @@
|
|||
<div style="display:flex; justify-content:space-between; align-items:center; width:100%;">
|
||||
<span style="font-weight:600;">Workhour Effect Process Result</span>
|
||||
|
||||
<button kendoButton icon="excel" look="outline" themeColor="success" (click)="exportToExcel()">
|
||||
<button class="gh-excel" kendoButton icon="excel" look="outline" themeColor="success" (click)="exportToExcel()">
|
||||
Export
|
||||
</button>
|
||||
</div>
|
||||
</kendo-dialog-titlebar>
|
||||
<!-- Highlighted Summary Row -->
|
||||
<div *ngIf="processResponse" style="
|
||||
background: linear-gradient(to right, #f8f9fa, #eef2f7);
|
||||
border-left: 5px solid #007bff;
|
||||
background: linear-gradient(to right, var(--gh-pb), var(--gh-pb));
|
||||
border-left: 5px solid var(--gh-btn);
|
||||
padding: 12px 15px;
|
||||
border-radius: 6px;
|
||||
font-size: 15px;
|
||||
|
|
@ -485,25 +485,25 @@
|
|||
gap: 18px;
|
||||
font-weight: 500;">
|
||||
|
||||
<span style="color:#007bff;">
|
||||
<span style="color:var(--gh-lk);">
|
||||
Total Employees:
|
||||
<strong style="margin-left:5px; font-size:16px;">
|
||||
{{ processResponse.totalEmployees }}
|
||||
</strong>
|
||||
</span>
|
||||
|
||||
<span style="color:#999;">|</span>
|
||||
<span style="color:var(--gh-muted);">|</span>
|
||||
|
||||
<span style="color:#28a745;">
|
||||
<span style="color:var(--gh-ok);">
|
||||
Success:
|
||||
<strong style="margin-left:5px; font-size:16px;">
|
||||
{{ processResponse.successCount }}
|
||||
</strong>
|
||||
</span>
|
||||
|
||||
<span style="color:#999;">|</span>
|
||||
<span style="color:var(--gh-muted);">|</span>
|
||||
|
||||
<span style="color:#dc3545;">
|
||||
<span style="color:var(--gh-dn);">
|
||||
Failed:
|
||||
<strong style="margin-left:5px; font-size:16px;">
|
||||
{{ processResponse.failedCount }}
|
||||
|
|
|
|||
|
|
@ -33,8 +33,8 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!--<button class="k-button" (click)="onCancel($event)">Cancel</button>-->
|
||||
<!--<button class="k-button gh-cancel" (click)="onCancel($event)">Cancel</button>-->
|
||||
<!-- -->
|
||||
<button class="k-button k-primary" style="width: 100px;" (click)="onSave($event)">Save</button>
|
||||
<button class="k-button k-primary gh-save" style="width: 100px;" (click)="onSave($event)">Save</button>
|
||||
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!--<button class="k-button" (click)="onCancel($event)">Cancel</button>-->
|
||||
<button class="k-button k-primary" style="width:100px;" (click)="onSave($event)">Save</button>
|
||||
<!--<button class="k-button gh-cancel" (click)="onCancel($event)">Cancel</button>-->
|
||||
<button class="k-button k-primary gh-save" style="width:100px;" (click)="onSave($event)">Save</button>
|
||||
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!--<button class="k-button" (click)="onCancel($event)">Cancel</button>-->
|
||||
<button class="k-button k-primary" style="width: 100px;" (click)="onSave($event)">Save</button>
|
||||
<!--<button class="k-button gh-cancel" (click)="onCancel($event)">Cancel</button>-->
|
||||
<button class="k-button k-primary gh-save" style="width: 100px;" (click)="onSave($event)">Save</button>
|
||||
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
</kendo-dropdownlist>
|
||||
</div>
|
||||
<div class="col-12 md:col-6" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['redo']" kendoButton class="k-primary" (click)="preview()">Refresh</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['redo']" kendoButton class="k-primary gh-refresh" (click)="preview()">Refresh</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -68,8 +68,8 @@
|
|||
</div>
|
||||
</div>-->
|
||||
|
||||
<!-- <button class="k-button" (click)="onCancel($event)">Cancel</button>-->
|
||||
<!--<button class="k-button k-primary" style="width:100px;" (click)="onSave($event)">Save</button>
|
||||
<!-- <button class="k-button gh-cancel" (click)="onCancel($event)">Cancel</button>-->
|
||||
<!--<button class="k-button k-primary gh-save" style="width:100px;" (click)="onSave($event)">Save</button>
|
||||
|
||||
</form>-->
|
||||
|
||||
|
|
|
|||
|
|
@ -39,12 +39,12 @@
|
|||
}
|
||||
|
||||
<div class="rosterAssignmentControls">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['plus']" themeColor="primary" (click)="AddtotheList()">
|
||||
<button class="gh-add" kendoButton [svgIcon]="apiService.KendoSVGIcon['plus']" themeColor="primary" (click)="AddtotheList()">
|
||||
Add
|
||||
</button>
|
||||
</div>
|
||||
<div class="rosterAssignmentControls">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['upload']" themeColor="primary" (click)="UploadEmployeeRoster()">
|
||||
<button class="gh-import" kendoButton [svgIcon]="apiService.KendoSVGIcon['upload']" themeColor="primary" (click)="UploadEmployeeRoster()">
|
||||
Upload
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -62,10 +62,10 @@
|
|||
<ng-template kendoGridToolbarTemplate>
|
||||
<label>Count: {{ this.empWorkPlanSetupList.length }}</label>
|
||||
<kendo-grid-spacer></kendo-grid-spacer>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" (click)="saveEmpWorkPlan()">
|
||||
<button class="gh-save" [svgIcon]="apiService.KendoSVGIcon['save']" kendoButton themeColor="primary" (click)="saveEmpWorkPlan()">
|
||||
Save
|
||||
</button>
|
||||
<button type="button" kendoGridExcelCommand [svgIcon]="apiService.KendoSVGIcon['fileExcel']">
|
||||
<button class="gh-excel" type="button" kendoGridExcelCommand [svgIcon]="apiService.KendoSVGIcon['fileExcel']">
|
||||
Export
|
||||
</button>
|
||||
<!--<input placeholder="Count: {{this.empWorkPlanSetupList.length}}" kendoTextBox />-->
|
||||
|
|
|
|||
|
|
@ -71,8 +71,8 @@
|
|||
</fieldset>
|
||||
<fieldset style="margin-top:10px;">
|
||||
<div class="col-12 md:col-12 lg:col-12" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['filePdf']" kendoButton class="k-primary" (click)="preview('PDF')">Preview</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['fileExcel']" style="margin-left:3px;" kendoButton class="k-primary" (click)="preview('EXCEL')">Export</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['filePdf']" kendoButton class="k-primary gh-preview" (click)="preview('PDF')">Preview</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['fileExcel']" style="margin-left:3px;" kendoButton class="k-primary gh-excel" (click)="preview('EXCEL')">Export</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
padding: 0;
|
||||
overflow: hidden;
|
||||
/* padding-bottom:68%; */
|
||||
background: white;
|
||||
background: var(--gh-tb);
|
||||
}
|
||||
|
||||
.pdf-viewer {
|
||||
width: 100%;
|
||||
min-height: 700px;
|
||||
/* max-height: 100%;
|
||||
background-color: white !important; */
|
||||
background-color: var(--gh-tb) !important; */
|
||||
}
|
||||
|
|
@ -80,8 +80,8 @@
|
|||
</div>
|
||||
<div class="p-col-12 p-md-12">
|
||||
<div class="p-col-12 p-md-12" align="right">
|
||||
<button kendoButton type="button" (click)="onCancel();" class="app-btn ui-button-danger">Cancel</button>
|
||||
<button kendoButton type="submit" (click)="onSubmit()" class="app-btn ui-button-success">update</button>
|
||||
<button kendoButton type="button" (click)="onCancel();" class="app-btn ui-button-danger gh-cancel">Cancel</button>
|
||||
<button kendoButton type="submit" (click)="onSubmit()" class="app-btn ui-button-success gh-save">update</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -14,13 +14,13 @@
|
|||
[(value)]="_selectedDate"></kendo-datepicker>
|
||||
</div>
|
||||
<div class="miniMumMarginaround">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" themeColor="primary" (click)="search()">Load</button>
|
||||
<button class="gh-search" kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" themeColor="primary" (click)="search()">Load</button>
|
||||
</div>
|
||||
<div class="miniMumMarginaround">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['edit']" themeColor="primary" (click)="SaveWorkPlan()">Save</button>
|
||||
<button class="gh-save" kendoButton [svgIcon]="apiService.KendoSVGIcon['edit']" themeColor="primary" (click)="SaveWorkPlan()">Save</button>
|
||||
</div>
|
||||
<div class="miniMumMarginaround">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['edit']" themeColor="primary" (click)="ShowEditPage()">Edit</button>
|
||||
<button class="gh-edit" kendoButton [svgIcon]="apiService.KendoSVGIcon['edit']" themeColor="primary" (click)="ShowEditPage()">Edit</button>
|
||||
</div>
|
||||
<div class="miniMumMarginaround">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['delete']"
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
<kendo-grid [kendoGridBinding]="_tableData" style="font-size: smaller" height="400">
|
||||
<ng-template kendoGridToolbarTemplate>
|
||||
<kendo-grid-spacer></kendo-grid-spacer>
|
||||
<button type="button" kendoGridExcelCommand [svgIcon]="apiService.KendoSVGIcon['fileExcel']">
|
||||
<button class="gh-excel" type="button" kendoGridExcelCommand [svgIcon]="apiService.KendoSVGIcon['fileExcel']">
|
||||
Export
|
||||
</button>
|
||||
</ng-template>
|
||||
|
|
@ -100,7 +100,7 @@
|
|||
<label> </label>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['redo']" kendoButton class="k-button" (click)="RefreshEmployeeView()">Refresh</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['redo']" kendoButton class="k-button gh-refresh" (click)="RefreshEmployeeView()">Refresh</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -111,7 +111,7 @@
|
|||
<kendo-grid [kendoGridBinding]="RosterData" style="font-size:smaller;">
|
||||
<ng-template kendoGridToolbarTemplate>
|
||||
<kendo-grid-spacer></kendo-grid-spacer>
|
||||
<button type="button" kendoGridExcelCommand [svgIcon]="apiService.KendoSVGIcon['fileExcel']">
|
||||
<button class="gh-excel" type="button" kendoGridExcelCommand [svgIcon]="apiService.KendoSVGIcon['fileExcel']">
|
||||
Export
|
||||
</button>
|
||||
</ng-template>
|
||||
|
|
|
|||
|
|
@ -335,7 +335,7 @@ export class MonthlyRosterCalendarComponent {
|
|||
if (shift == null || shift == undefined) return "";
|
||||
if (shift.length > 3) {
|
||||
if (shift.substring(0, 3) == "EX-")
|
||||
result = "#B2F699";
|
||||
result = "color-mix(in srgb, var(--gh-ok) 35%, var(--gh-tb))";
|
||||
else result = "transparent";
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<kendo-dialog-actions>
|
||||
<button class="k-button" (click)="onCancel($event)">Cancel</button>
|
||||
<button class="k-button k-primary" [disabled]="!officeCarForm.valid" (click)="onSave($event)">Save</button>
|
||||
<button class="k-button gh-cancel" (click)="onCancel($event)">Cancel</button>
|
||||
<button class="k-button k-primary gh-save" [disabled]="!officeCarForm.valid" (click)="onSave($event)">Save</button>
|
||||
</kendo-dialog-actions>
|
||||
</form>
|
||||
</kendo-dialog>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
<kendo-grid-command-column title="Action" width="100">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridEditCommand themeColor="primary"><i class="pi pi-pencil"></i></button>
|
||||
<button kendoGridRemoveCommand style="color:red"><i class="pi pi-power-off"></i></button>
|
||||
<button kendoGridRemoveCommand style="color:var(--gh-dn)"><i class="pi pi-power-off"></i></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
|
|||
|
|
@ -57,8 +57,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<kendo-dialog-actions>
|
||||
<button class="k-button" (click)="onCancel($event)">Cancel</button>
|
||||
<button class="k-button k-primary" [disabled]="!outsideDutyAdminForm.valid" (click)="onSave($event)">Save</button>
|
||||
<button class="k-button gh-cancel" (click)="onCancel($event)">Cancel</button>
|
||||
<button class="k-button k-primary gh-save" [disabled]="!outsideDutyAdminForm.valid" (click)="onSave($event)">Save</button>
|
||||
</kendo-dialog-actions>
|
||||
</form>
|
||||
</kendo-dialog>
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
<kendo-grid-command-column title="Action" width="100">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridEditCommand [primary]="true"><i class="pi pi-pencil"></i></button>
|
||||
<button kendoGridRemoveCommand style="color:red"><i class="pi pi-power-off"></i></button>
|
||||
<button kendoGridRemoveCommand style="color:var(--gh-dn)"><i class="pi pi-power-off"></i></button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@
|
|||
<div class="card-body">
|
||||
<div class="grid form-group" style="justify-content: flex-end">
|
||||
<button
|
||||
class="k-button"
|
||||
class="k-button gh-cancel"
|
||||
kendoButton
|
||||
[svgIcon]="apiService.KendoSVGIcon['cross']"
|
||||
(click)="onCancel()"
|
||||
|
|
@ -106,7 +106,7 @@
|
|||
Cancel
|
||||
</button>
|
||||
<button
|
||||
class="k-button k-primary"
|
||||
class="k-button k-primary gh-submit"
|
||||
kendoButton
|
||||
[svgIcon]="apiService.KendoSVGIcon['save']"
|
||||
(click)="onSubmit()"
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@
|
|||
>
|
||||
<ng-template kendoGridToolbarTemplate>
|
||||
<app-employee-picker (ItemSelected)="GetSelectedEmployee($event)"></app-employee-picker>
|
||||
<button themeColor="primary" kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" (click)="loadData()">
|
||||
<button class="gh-search" themeColor="primary" kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" (click)="loadData()">
|
||||
Find
|
||||
</button>
|
||||
<kendo-grid-spacer></kendo-grid-spacer>
|
||||
<button themeColor="primary" kendoGridAddCommand [svgIcon]="apiService.KendoSVGIcon['plus']">
|
||||
<button class="gh-add" themeColor="primary" kendoGridAddCommand [svgIcon]="apiService.KendoSVGIcon['plus']">
|
||||
Add New
|
||||
</button>
|
||||
</ng-template>
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<div style="border: 1px solid red">Outside Duty Type</div>
|
||||
<div style="border: 1px solid var(--gh-dn)">Outside Duty Type</div>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
<div class="col-12 md:col-1">
|
||||
<br />
|
||||
<div class="k-form-buttons">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['upload']" themeColor="primary" (click)="upload()" style="width: 100%; margin-top: 2px;">Upload</button>
|
||||
<button class="gh-import" kendoButton [svgIcon]="apiService.KendoSVGIcon['upload']" themeColor="primary" (click)="upload()" style="width: 100%; margin-top: 2px;">Upload</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 md:col-6">
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
@if (this.mandatoryItems !== undefined && this.mandatoryItems.length > 0) {
|
||||
<div class="col-12">
|
||||
<h3 style="color:red;">Error Found in CSV file</h3>
|
||||
<h3 style="color:var(--gh-dn);">Error Found in CSV file</h3>
|
||||
<div class="card card-w-title">
|
||||
<kendo-grid [data]="gridView2"
|
||||
[pageable]="true"
|
||||
|
|
@ -93,7 +93,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-12 md:col-6">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" themeColor="primary" (click)="searchForm()" style="float:right;">Search</button>
|
||||
<button class="gh-search" kendoButton [svgIcon]="apiService.KendoSVGIcon['search']" themeColor="primary" (click)="searchForm()" style="float:right;">Search</button>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
|
@ -110,7 +110,7 @@
|
|||
[pageSize]="pageSize" [skip]="skip"
|
||||
(pageChange)="pageChange($event)">
|
||||
<ng-template kendoGridToolbarTemplate>
|
||||
<button kendoGridExcelCommand type="button" [svgIcon]="apiService.KendoSVGIcon['fileExcel']" style="float:right;">Export to Excel</button>
|
||||
<button class="gh-excel" kendoGridExcelCommand type="button" [svgIcon]="apiService.KendoSVGIcon['fileExcel']" style="float:right;">Export to Excel</button>
|
||||
</ng-template>
|
||||
|
||||
<kendo-grid-column field="employeeNo" title="EmpID" width="100px">
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
</div>
|
||||
|
||||
<div class="rosterAssignmentControls">
|
||||
<button
|
||||
<button class="gh-add"
|
||||
kendoButton
|
||||
[svgIcon]="apiService.KendoSVGIcon['plus']"
|
||||
themeColor="primary"
|
||||
|
|
@ -46,7 +46,7 @@
|
|||
</button>
|
||||
</div>
|
||||
<div class="rosterAssignmentControls">
|
||||
<button
|
||||
<button class="gh-import"
|
||||
kendoButton
|
||||
[svgIcon]="apiService.KendoSVGIcon['upload']"
|
||||
themeColor="primary"
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
<ng-template kendoGridToolbarTemplate>
|
||||
<label>Count: {{ this.empWorkPlanSetupList.length }}</label>
|
||||
<kendo-grid-spacer></kendo-grid-spacer>
|
||||
<button
|
||||
<button class="gh-save"
|
||||
[svgIcon]="apiService.KendoSVGIcon['save']"
|
||||
kendoButton
|
||||
themeColor="primary"
|
||||
|
|
@ -82,7 +82,7 @@
|
|||
>
|
||||
Save
|
||||
</button>
|
||||
<button type="button" kendoGridExcelCommand [svgIcon]="apiService.KendoSVGIcon['fileExcel']">
|
||||
<button class="gh-excel" type="button" kendoGridExcelCommand [svgIcon]="apiService.KendoSVGIcon['fileExcel']">
|
||||
Export
|
||||
</button>
|
||||
<!--<input placeholder="Count: {{this.empWorkPlanSetupList.length}}" kendoTextBox />-->
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
<div class="col-12 md:col-4">
|
||||
|
||||
<button class="k-button" (click)="Searh()" style="margin-bottom:10px; width:50%">Load</button>
|
||||
<button class="k-button gh-search" (click)="Searh()" style="margin-bottom:10px; width:50%">Load</button>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
</div>
|
||||
|
||||
<div class="col-12 md:col-2">
|
||||
<!--<button class="k-button pull-right" (click)="submitForm()" style="margin-bottom:10px; width:75%">Save</button>-->
|
||||
<!--<button class="k-button pull-right gh-save" (click)="submitForm()" style="margin-bottom:10px; width:75%">Save</button>-->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -232,8 +232,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<kendo-dialog-actions>
|
||||
<button class="k-button" kendoButton [svgIcon]="apiService.KendoSVGIcon['cross']" (click)="onCancel()">Cancel</button>
|
||||
<button class="k-button k-primary" kendoButton [svgIcon]="apiService.KendoSVGIcon['save']" [disabled]="!rosterForm.valid" (click)="onSave()">Save</button>
|
||||
<button class="k-button gh-cancel" kendoButton [svgIcon]="apiService.KendoSVGIcon['cross']" (click)="onCancel()">Cancel</button>
|
||||
<button class="k-button k-primary gh-save" kendoButton [svgIcon]="apiService.KendoSVGIcon['save']" [disabled]="!rosterForm.valid" (click)="onSave()">Save</button>
|
||||
</kendo-dialog-actions>
|
||||
</form>
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<div style="border: 1px solid red">Shift Rotation</div>
|
||||
<div style="border: 1px solid var(--gh-dn)">Shift Rotation</div>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
</div>
|
||||
|
||||
<div class="col-12" style="padding-bottom: 0px;">
|
||||
<fieldset style="border-color: #52527A;padding-bottom: 0px;border-bottom: 0px;border-right: 0px;border-left: 0px;"></fieldset>
|
||||
<fieldset style="border-color: var(--gh-btn);padding-bottom: 0px;border-bottom: 0px;border-right: 0px;border-left: 0px;"></fieldset>
|
||||
</div>
|
||||
|
||||
<div class="col-12 md:col-12 xl:col-3 lg:col-2">
|
||||
|
|
@ -95,8 +95,8 @@
|
|||
</div>
|
||||
|
||||
<div class="col-12" style="padding-bottom: 0px;padding-top: 0px;">
|
||||
<fieldset style="border-color: #52527A;padding: 5px 0px 0px 0px;border-bottom: 0px;border-right: 0px;border-left: 0px;">
|
||||
<legend style="font-weight: bold;color: #e72525;text-align: center;">For Ramadan</legend>
|
||||
<fieldset style="border-color: var(--gh-btn);padding: 5px 0px 0px 0px;border-bottom: 0px;border-right: 0px;border-left: 0px;">
|
||||
<legend style="font-weight: bold;color: var(--gh-dn);text-align: center;">For Ramadan</legend>
|
||||
<div class="grid">
|
||||
<div class="col-12 md:col-12 xl:col-3 lx:col-3">
|
||||
<label style="font-weight: bold;">Ramadan Start</label>
|
||||
|
|
@ -119,8 +119,8 @@
|
|||
</div>
|
||||
</div>
|
||||
@if (shift.hasBenefits) {
|
||||
<fieldset style="border-color: #004f9f;padding-bottom: 0px;">
|
||||
<legend style="font-weight: bold;color: #e72525;text-align: center;">For Benefits</legend>
|
||||
<fieldset style="border-color: var(--gh-btn);padding-bottom: 0px;">
|
||||
<legend style="font-weight: bold;color: var(--gh-dn);text-align: center;">For Benefits</legend>
|
||||
@if (shift.hasBenefits) {
|
||||
<div class="grid">
|
||||
<div class="col-12 md:col-12 xl:col-3 lx:col-3">
|
||||
|
|
@ -268,7 +268,7 @@
|
|||
</div>
|
||||
<div class="card button-container">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['cross']"
|
||||
class="k-button"
|
||||
class="k-button gh-close"
|
||||
kendoButton
|
||||
(click)="onCancel()"
|
||||
type="button"
|
||||
|
|
@ -276,7 +276,7 @@
|
|||
Close
|
||||
</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['save']"
|
||||
class="k-button k-button-primary"
|
||||
class="k-button k-button-primary gh-save"
|
||||
kendoButton
|
||||
themeColor="primary"
|
||||
type="submit"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-12 md:col-4" style="margin-top:27px;">
|
||||
<button style="width:100px; " [svgIcon]="apiService.KendoSVGIcon['search']" kendoButton class="k-button k-primary k-i-find" (click)="Search()">Find</button>
|
||||
<button style="width:100px; " [svgIcon]="apiService.KendoSVGIcon['search']" kendoButton class="k-button k-primary k-i-find gh-search" (click)="Search()">Find</button>
|
||||
</div>
|
||||
<!--<div class="col-12 md:col-6">
|
||||
<div class="col-2 md:col-2" style="padding-bottom:2px;">
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
</div>
|
||||
<div class="grid">
|
||||
<div class="col-6 md:col-6" style="padding-left: 15px;">
|
||||
<button style="width: 100px;" [svgIcon]="apiService.KendoSVGIcon['check']" kendoButton class="k-button k-primary k-i-find" (click)="ApproveAll()">Approve All</button>
|
||||
<button style="width: 100px;" [svgIcon]="apiService.KendoSVGIcon['check']" kendoButton class="k-button k-primary k-i-find gh-approve" (click)="ApproveAll()">Approve All</button>
|
||||
</div>
|
||||
</div>
|
||||
<kendo-grid [data]="gridView"
|
||||
|
|
@ -74,8 +74,8 @@
|
|||
|
||||
<kendo-grid-command-column title="Action" width="220">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['check']" kendoGridEditCommand>Approve</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['cross']" kendoGridRemoveCommand>Reject</button>
|
||||
<button class="gh-approve" [svgIcon]="apiService.KendoSVGIcon['check']" kendoGridEditCommand>Approve</button>
|
||||
<button class="gh-reject" [svgIcon]="apiService.KendoSVGIcon['cross']" kendoGridRemoveCommand>Reject</button>
|
||||
</ng-template>
|
||||
</kendo-grid-command-column>
|
||||
</kendo-grid>
|
||||
|
|
|
|||
|
|
@ -91,8 +91,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-12 md:col-12">
|
||||
<button class="k-button" kendoButton [svgIcon]="apiService.KendoSVGIcon['cross']" (click)="onCancel($event)">Cancel</button>
|
||||
<button class="k-button k-primary" kendoButton [svgIcon]="apiService.KendoSVGIcon['save']" [disabled]="!temporaryRosterChangeForm.valid" (click)="onSave($event)">Save</button>
|
||||
<button class="k-button gh-cancel" kendoButton [svgIcon]="apiService.KendoSVGIcon['cross']" (click)="onCancel($event)">Cancel</button>
|
||||
<button class="k-button k-primary gh-save" kendoButton [svgIcon]="apiService.KendoSVGIcon['save']" [disabled]="!temporaryRosterChangeForm.valid" (click)="onSave($event)">Save</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
style="width: 100px"
|
||||
[svgIcon]="apiService.KendoSVGIcon['search']"
|
||||
kendoButton
|
||||
class="k-button k-primary"
|
||||
class="k-button k-primary gh-search"
|
||||
themeColor="primary"
|
||||
(click)="Search()"
|
||||
>
|
||||
|
|
@ -72,7 +72,7 @@
|
|||
<button
|
||||
[svgIcon]="apiService.KendoSVGIcon['upload']"
|
||||
kendoButton
|
||||
class="k-button k-primary"
|
||||
class="k-button k-primary gh-import"
|
||||
(click)="uploadTemporaryShift()"
|
||||
>
|
||||
Upload
|
||||
|
|
@ -93,7 +93,7 @@
|
|||
[kendoGridBinding]="_actingEmps"
|
||||
>
|
||||
<ng-template kendoGridToolbarTemplate>
|
||||
<button type="button" kendoGridExcelCommand [svgIcon]="apiService.KendoSVGIcon['fileExcel']">
|
||||
<button class="gh-excel" type="button" kendoGridExcelCommand [svgIcon]="apiService.KendoSVGIcon['fileExcel']">
|
||||
Export
|
||||
</button>
|
||||
</ng-template>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
height: 100%;
|
||||
}
|
||||
hr{
|
||||
color: #52527A;
|
||||
color: var(--gh-lk);
|
||||
height: 5px;
|
||||
width: 100%;
|
||||
}
|
||||
|
|
@ -21,9 +21,9 @@ hr{
|
|||
align-items: center;
|
||||
flex-flow: column wrap;
|
||||
padding: 1%;
|
||||
border: 1px solid #acacac;
|
||||
border: 1px solid var(--gh-bo2);
|
||||
border-radius: 2%;
|
||||
box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
|
||||
box-shadow: 0 10px 16px 0 color-mix(in srgb, var(--gh-ht) 20%, transparent),0 6px 20px 0 color-mix(in srgb, var(--gh-ht) 19%, transparent);
|
||||
min-width: 30%;
|
||||
}
|
||||
.changePassForm{
|
||||
|
|
@ -33,7 +33,7 @@ hr{
|
|||
width: 100%;
|
||||
}
|
||||
h6{
|
||||
color: #52527A;
|
||||
color: var(--gh-lk);
|
||||
font-weight:600
|
||||
}
|
||||
.k-form {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
<div class="example">
|
||||
<!-- <h4 style="color: #52527A; font-weight:600">Login-ID : {{LoginID}} </h4> -->
|
||||
<!-- <h4 style="color: var(--gh-lk); font-weight:600">Login-ID : {{LoginID}} </h4> -->
|
||||
<div class="changePassCard">
|
||||
<img src="../../../assets/layout/images/DashboardLogo.png" alt="Company Image" width="100wh"/>
|
||||
<h6>{{UserName}} ({{LoginID}}) </h6>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<textarea [(ngModel)]="decryptedvalue"
|
||||
rows="4" class="encryptTextArea"
|
||||
placeholder="Enter text to encrypt..."></textarea>
|
||||
<button *ngIf="decryptedvalue" type="button" class="clear-btn" title="clear" (click)="clearInput()">✖</button>
|
||||
<button *ngIf="decryptedvalue" type="button" class="clear-btn gh-close" title="clear" (click)="clearInput()">✖</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -30,13 +30,13 @@ textarea.decryptTextArea {
|
|||
border: none;
|
||||
cursor: pointer;
|
||||
font-size: 1.2rem;
|
||||
color: #888;
|
||||
color: var(--gh-muted);
|
||||
z-index: 10;
|
||||
padding: 0;
|
||||
line-height: 1;
|
||||
}
|
||||
.clear-btn:hover {
|
||||
color: #333;
|
||||
color: var(--gh-bt);
|
||||
}
|
||||
.copy-btn {
|
||||
position: absolute;
|
||||
|
|
@ -47,13 +47,13 @@ textarea.decryptTextArea {
|
|||
border: none;
|
||||
cursor: pointer;
|
||||
font-size: 1.2rem;
|
||||
color: #888;
|
||||
color: var(--gh-muted);
|
||||
z-index: 10;
|
||||
padding: 0;
|
||||
line-height: 1;
|
||||
}
|
||||
.copy-btn:hover {
|
||||
color: #333;
|
||||
color: var(--gh-bt);
|
||||
}
|
||||
|
||||
.marginBottomNone{
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@
|
|||
</div>
|
||||
}
|
||||
<div class="col-12 md:col-12">
|
||||
<button kendoButton class="k-button k-primary" [svgIcon]="apiService.KendoSVGIcon['plus']" style="width:180px ;float:right" (click)="addPermission()">
|
||||
<button kendoButton class="k-button k-primary gh-add" [svgIcon]="apiService.KendoSVGIcon['plus']" style="width:180px ;float:right" (click)="addPermission()">
|
||||
Add
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -57,6 +57,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>-->
|
||||
<!--<button class="k-button k-primary" [disabled]="!hardPasswordSetupForm.valid" (click)="onSave($event)">Save</button>-->
|
||||
<!--<button class="k-button k-primary">Save</button>
|
||||
<!--<button class="k-button k-primary gh-save" [disabled]="!hardPasswordSetupForm.valid" (click)="onSave($event)">Save</button>-->
|
||||
<!--<button class="k-button k-primary gh-save">Save</button>
|
||||
</form>-->
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
</div>
|
||||
<div class="grid form-group">
|
||||
<div class="col-12 md:col-12" style="max-height:350px;" >
|
||||
<label style="font-weight: bold;color: green;">Please select respective menu to assign on Admin Roles</label>
|
||||
<label style="font-weight: bold;color: var(--gh-okh);">Please select respective menu to assign on Admin Roles</label>
|
||||
<fieldset>
|
||||
<legend>Menu</legend>
|
||||
<kendo-treeview [nodes]="roleTypeofMenus"
|
||||
|
|
@ -89,7 +89,7 @@
|
|||
</div>-->
|
||||
</div>
|
||||
<div class="col-12 md:col-12" align="right">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['cross']" class="k-button k-primary" (click)="onCancel()" style="margin-right: 5px;">Cancel</button>
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['save']" type="submit" class="k-button k-primary" [disabled]="!allowSave" (click)="onSave()">Save</button>
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['cross']" class="k-button k-primary gh-cancel" (click)="onCancel()" style="margin-right: 5px;">Cancel</button>
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['save']" type="submit" class="k-button k-primary gh-save" [disabled]="!allowSave" (click)="onSave()">Save</button>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -50,10 +50,10 @@
|
|||
gap: 6px;
|
||||
height: 30px;
|
||||
padding: 0 12px;
|
||||
border: 1px solid #E3E3EC;
|
||||
border: 1px solid var(--gh-bo);
|
||||
border-radius: 999px;
|
||||
background: #FFFFFF;
|
||||
color: #424242;
|
||||
background: var(--gh-tb);
|
||||
color: var(--gh-bt);
|
||||
font: inherit;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
|
|
@ -61,39 +61,39 @@
|
|||
}
|
||||
|
||||
.rl-grid .rl-chip:hover {
|
||||
border-color: #52527A;
|
||||
border-color: var(--gh-btn);
|
||||
}
|
||||
|
||||
.rl-grid .rl-chip:focus-visible {
|
||||
outline: 2px solid #52527A;
|
||||
outline: 2px solid var(--gh-btn);
|
||||
outline-offset: 1px;
|
||||
}
|
||||
|
||||
.rl-grid .rl-chip.is-selected {
|
||||
background: #52527A;
|
||||
border-color: #52527A;
|
||||
color: #FFFFFF;
|
||||
background: var(--gh-btn);
|
||||
border-color: var(--gh-btn);
|
||||
color: var(--gh-tb);
|
||||
}
|
||||
|
||||
.rl-grid .rl-chip.is-selected .rl-chip__count {
|
||||
background: rgba(255, 255, 255, 0.22);
|
||||
color: #FFFFFF;
|
||||
background: color-mix(in srgb, var(--gh-tb) 22%, transparent);
|
||||
color: var(--gh-tb);
|
||||
}
|
||||
|
||||
.rl-grid .rl-chip__count {
|
||||
min-width: 20px;
|
||||
padding: 0 6px;
|
||||
border-radius: 999px;
|
||||
background: #F1F1F1;
|
||||
color: #666666;
|
||||
background: var(--gh-pb);
|
||||
color: var(--gh-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.rl-grid .rl-chip--pending:not(.is-selected) .rl-chip__count {
|
||||
background: #FFF2DB;
|
||||
color: #8A5300;
|
||||
background: color-mix(in srgb, var(--gh-warn) 12%, var(--gh-tb));
|
||||
color: color-mix(in srgb, var(--gh-warn) 75%, var(--gh-ht));
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
|
@ -127,11 +127,11 @@
|
|||
background: currentColor;
|
||||
}
|
||||
|
||||
.rl-grid .rl-badge--success { background: #E6F4EC; color: #137A4B; }
|
||||
.rl-grid .rl-badge--neutral { background: #EEEEF2; color: #5B5B6B; }
|
||||
.rl-grid .rl-badge--warning { background: #FFF2DB; color: #8A5300; }
|
||||
.rl-grid .rl-badge--success { background: var(--gh-bo); color: var(--gh-okh); }
|
||||
.rl-grid .rl-badge--neutral { background: var(--gh-pb); color: var(--gh-muted); }
|
||||
.rl-grid .rl-badge--warning { background: color-mix(in srgb, var(--gh-warn) 12%, var(--gh-tb)); color: color-mix(in srgb, var(--gh-warn) 75%, var(--gh-ht)); }
|
||||
|
||||
/* Role Type badge, same shape as the Status badge */
|
||||
.rl-grid .rl-badge--admin { background: #E8EEFC; color: #2F4FB5; }
|
||||
.rl-grid .rl-badge--ess { background: #F1EAFB; color: #6B3FA0; }
|
||||
.rl-grid .rl-badge--mobile { background: #E4F5F7; color: #0F6E7A; }
|
||||
.rl-grid .rl-badge--admin { background: var(--gh-th); color: var(--gh-lk); }
|
||||
.rl-grid .rl-badge--ess { background: var(--gh-pb); color: var(--gh-lk); }
|
||||
.rl-grid .rl-badge--mobile { background: var(--gh-th); color: var(--gh-ht); }
|
||||
|
|
|
|||
|
|
@ -36,11 +36,11 @@
|
|||
<div class="rl-toolbar__actions">
|
||||
<!-- Plain buttons, not kendoGridExcelCommand/kendoGridPDFCommand: grid toolbar commands take the
|
||||
focus on any toolbar click, which steals it from the search box. -->
|
||||
<button kendoButton type="button" fillMode="outline"
|
||||
<button class="gh-excel" kendoButton type="button" fillMode="outline"
|
||||
[svgIcon]="apiService.KendoSVGIcon['fileExcel']" (click)="rlGrid.saveAsExcel()">Export to Excel</button>
|
||||
<button kendoButton type="button" fillMode="outline"
|
||||
<button class="gh-pdf" kendoButton type="button" fillMode="outline"
|
||||
[svgIcon]="apiService.KendoSVGIcon['filePdf']" (click)="rlGrid.saveAsPDF()">Export to PDF</button>
|
||||
<button kendoButton type="button" themeColor="primary" [svgIcon]="apiService.KendoSVGIcon['plus']" (click)="addHandler()">Add new</button>
|
||||
<button class="gh-add" kendoButton type="button" themeColor="primary" [svgIcon]="apiService.KendoSVGIcon['plus']" (click)="addHandler()">Add new</button>
|
||||
</div>
|
||||
</div>
|
||||
</ng-template>
|
||||
|
|
@ -74,10 +74,10 @@
|
|||
<kendo-grid-command-column title="Edit/Approve" width="220">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
@if (dataItem.roleStatus ==1 || dataItem.roleStatus ==5) {
|
||||
<button class="k-button k-primary" kendoButton [svgIcon]="apiService.KendoSVGIcon['edit']" (click)="ViewPermission(roles.indexOf(dataItem));">Edit</button>
|
||||
<button class="k-button k-primary gh-edit" kendoButton [svgIcon]="apiService.KendoSVGIcon['edit']" (click)="ViewPermission(roles.indexOf(dataItem));">Edit</button>
|
||||
}
|
||||
@if (dataItem.roleStatus !=1 && dataItem.roleStatus !=5) {
|
||||
<button class="k-button k-primary" kendoButton [svgIcon]="apiService.KendoSVGIcon['edit']"
|
||||
<button class="k-button k-primary gh-approve" kendoButton [svgIcon]="apiService.KendoSVGIcon['edit']"
|
||||
[disabled]="isMakerOf(dataItem)"
|
||||
[attr.title]="isMakerOf(dataItem) ? 'You made this change, so another user must approve it.' : null"
|
||||
(click)="Approve(roles.indexOf(dataItem));">Approve</button>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
<label for="dtUserTo">To Date</label>
|
||||
<kendo-datepicker id="dtUserTo" [(ngModel)]="userToDate" [format]="'dd-MMM-yyyy'" [min]="userFromDate"></kendo-datepicker>
|
||||
</div>
|
||||
<button kendoButton themeColor="primary" class="sal-load" [svgIcon]="apiService.KendoSVGIcon['search']"
|
||||
<button kendoButton themeColor="primary" class="sal-load gh-search" [svgIcon]="apiService.KendoSVGIcon['search']"
|
||||
(click)="loadUserAuditTrail()">Load</button>
|
||||
</div>
|
||||
|
||||
|
|
@ -54,9 +54,9 @@
|
|||
<strong>{{ userGrid.filteredCount | number }}</strong> of {{ userGrid.rows.length | number }} records
|
||||
</span>
|
||||
<kendo-grid-spacer></kendo-grid-spacer>
|
||||
<button kendoButton type="button" [svgIcon]="apiService.KendoSVGIcon['fileExcel']"
|
||||
<button class="gh-excel" kendoButton type="button" [svgIcon]="apiService.KendoSVGIcon['fileExcel']"
|
||||
(click)="exportExcel(userGridRef, userGrid)">Export to Excel</button>
|
||||
<button kendoButton type="button" [svgIcon]="apiService.KendoSVGIcon['filePdf']"
|
||||
<button class="gh-pdf" kendoButton type="button" [svgIcon]="apiService.KendoSVGIcon['filePdf']"
|
||||
(click)="exportPdf(userGridRef, userGrid)">Export to PDF</button>
|
||||
</ng-template>
|
||||
|
||||
|
|
@ -109,7 +109,7 @@
|
|||
<label for="dtBadTo">To Date</label>
|
||||
<kendo-datepicker id="dtBadTo" [(ngModel)]="badToDate" [format]="'dd-MMM-yyyy'" [min]="badFromDate"></kendo-datepicker>
|
||||
</div>
|
||||
<button kendoButton themeColor="primary" class="sal-load" [svgIcon]="apiService.KendoSVGIcon['search']"
|
||||
<button kendoButton themeColor="primary" class="sal-load gh-search" [svgIcon]="apiService.KendoSVGIcon['search']"
|
||||
(click)="loadBadLoginAttempts()">Load</button>
|
||||
</div>
|
||||
|
||||
|
|
@ -137,9 +137,9 @@
|
|||
<strong>{{ badGrid.filteredCount | number }}</strong> of {{ badGrid.rows.length | number }} records
|
||||
</span>
|
||||
<kendo-grid-spacer></kendo-grid-spacer>
|
||||
<button kendoButton type="button" [svgIcon]="apiService.KendoSVGIcon['fileExcel']"
|
||||
<button class="gh-excel" kendoButton type="button" [svgIcon]="apiService.KendoSVGIcon['fileExcel']"
|
||||
(click)="exportExcel(badGridRef, badGrid)">Export to Excel</button>
|
||||
<button kendoButton type="button" [svgIcon]="apiService.KendoSVGIcon['filePdf']"
|
||||
<button class="gh-pdf" kendoButton type="button" [svgIcon]="apiService.KendoSVGIcon['filePdf']"
|
||||
(click)="exportPdf(badGridRef, badGrid)">Export to PDF</button>
|
||||
</ng-template>
|
||||
|
||||
|
|
@ -193,7 +193,7 @@
|
|||
<kendo-datepicker [id]="'dtHistTo' + tab.type" [(ngModel)]="tab.toDate" [format]="'dd-MMM-yyyy'"
|
||||
[min]="tab.fromDate"></kendo-datepicker>
|
||||
</div>
|
||||
<button kendoButton themeColor="primary" class="sal-load" [svgIcon]="apiService.KendoSVGIcon['search']"
|
||||
<button kendoButton themeColor="primary" class="sal-load gh-search" [svgIcon]="apiService.KendoSVGIcon['search']"
|
||||
(click)="loadHistory(tab)">Load</button>
|
||||
</div>
|
||||
|
||||
|
|
@ -221,9 +221,9 @@
|
|||
<strong>{{ tab.grid.filteredCount | number }}</strong> of {{ tab.grid.rows.length | number }} records
|
||||
</span>
|
||||
<kendo-grid-spacer></kendo-grid-spacer>
|
||||
<button kendoButton type="button" [svgIcon]="apiService.KendoSVGIcon['fileExcel']"
|
||||
<button class="gh-excel" kendoButton type="button" [svgIcon]="apiService.KendoSVGIcon['fileExcel']"
|
||||
(click)="exportExcel(historyGridRef, tab.grid)">Export to Excel</button>
|
||||
<button kendoButton type="button" [svgIcon]="apiService.KendoSVGIcon['filePdf']"
|
||||
<button class="gh-pdf" kendoButton type="button" [svgIcon]="apiService.KendoSVGIcon['filePdf']"
|
||||
(click)="exportPdf(historyGridRef, tab.grid)">Export to PDF</button>
|
||||
</ng-template>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
@use '../../../styles/abstracts/tokens' as *;
|
||||
|
||||
// Tab colours: the same boxed tabs as Employee Bulk Upload (employee-bulk-upload.component.scss).
|
||||
$sal-tab-text: #2C4A6B;
|
||||
$sal-tab-bg: #F4F8FC;
|
||||
$sal-tab-hover: #D8E4F0;
|
||||
$sal-tab-border: #C9D8E8;
|
||||
$sal-tab-active-border: #9DB4CC;
|
||||
$sal-tab-text: var(--gh-sb);
|
||||
$sal-tab-bg: var(--gh-pb);
|
||||
$sal-tab-hover: color-mix(in srgb, var(--gh-btn) 25%, var(--gh-tb));
|
||||
$sal-tab-border: color-mix(in srgb, var(--gh-btn) 25%, var(--gh-tb));
|
||||
$sal-tab-active-border: var(--gh-btn);
|
||||
|
||||
:host {
|
||||
@include empcard-host-vars;
|
||||
|
|
@ -83,7 +83,7 @@ $sal-tab-active-border: #9DB4CC;
|
|||
background: transparent;
|
||||
|
||||
> .k-tabstrip-items-wrapper {
|
||||
border-bottom: 1px solid #E2E8F0;
|
||||
border-bottom: 1px solid var(--gh-bo);
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
|
|
@ -105,9 +105,9 @@ $sal-tab-active-border: #9DB4CC;
|
|||
}
|
||||
|
||||
&.k-active {
|
||||
background: #FFFFFF;
|
||||
background: var(--gh-tb);
|
||||
border-color: $sal-tab-active-border;
|
||||
border-bottom-color: #FFFFFF;
|
||||
border-bottom-color: var(--gh-bo);
|
||||
box-shadow: inset 0 3px 0 $sal-tab-text;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,28 +11,28 @@
|
|||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 10px;
|
||||
background: #f0f0f0;
|
||||
background: var(--gh-pb);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 20px;
|
||||
color: #555;
|
||||
color: var(--gh-bt);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.sc-title {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: #1a1a1a;
|
||||
color: var(--gh-ht);
|
||||
margin: 0 0 2px;
|
||||
}
|
||||
.sc-subtitle {
|
||||
font-size: 13px;
|
||||
color: #888;
|
||||
color: var(--gh-muted);
|
||||
margin: 0;
|
||||
}
|
||||
.sc-card {
|
||||
background: #fff;
|
||||
border: 1px solid #e8e8e8;
|
||||
background: var(--gh-tb);
|
||||
border: 1px solid var(--gh-bo);
|
||||
border-radius: 12px;
|
||||
padding: 0.85rem;
|
||||
}
|
||||
|
|
@ -43,25 +43,25 @@
|
|||
display: block;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: #888;
|
||||
color: var(--gh-muted);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.sc-drop-zone {
|
||||
border: 1.5px dashed #d4d4d4;
|
||||
border: 1.5px dashed var(--gh-bo);
|
||||
border-radius: 10px;
|
||||
transition: border-color 0.15s, background 0.15s;
|
||||
overflow: hidden;
|
||||
}
|
||||
.sc-drop-zone--dragging {
|
||||
border-color: #4a90d9;
|
||||
background: #f0f6fd;
|
||||
border-color: var(--gh-btn);
|
||||
background: var(--gh-pb);
|
||||
}
|
||||
.sc-drop-zone--has-file {
|
||||
border-style: solid;
|
||||
border-color: #c8e0f7;
|
||||
background: #f7fbff;
|
||||
border-color: var(--gh-focus);
|
||||
background: var(--gh-pb);
|
||||
}
|
||||
.sc-drop-empty {
|
||||
padding: 1rem 1rem;
|
||||
|
|
@ -69,33 +69,33 @@
|
|||
}
|
||||
.sc-drop-icon {
|
||||
font-size: 28px;
|
||||
color: #bbb;
|
||||
color: var(--gh-muted);
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.sc-drop-label {
|
||||
font-size: 14px;
|
||||
color: #777;
|
||||
color: var(--gh-muted);
|
||||
margin: 0 0 4px;
|
||||
}
|
||||
.sc-drop-hint {
|
||||
font-size: 13px;
|
||||
color: #aaa;
|
||||
color: var(--gh-muted);
|
||||
margin: 0 0 12px;
|
||||
}
|
||||
.sc-browse-btn {
|
||||
display: inline-block;
|
||||
padding: 6px 18px;
|
||||
border: 1px solid #4a90d9;
|
||||
border: 1px solid var(--gh-btn);
|
||||
border-radius: 6px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: #4a90d9;
|
||||
color: var(--gh-lk);
|
||||
cursor: pointer;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
.sc-browse-btn:hover {
|
||||
background: #f0f6fd;
|
||||
background: var(--gh-pb);
|
||||
}
|
||||
.sc-drop-selected {
|
||||
padding: 12px 14px;
|
||||
|
|
@ -109,7 +109,7 @@
|
|||
width: 38px;
|
||||
height: 38px;
|
||||
border-radius: 8px;
|
||||
background: #e8f2fd;
|
||||
background: var(--gh-th);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
|
@ -117,7 +117,7 @@
|
|||
}
|
||||
.sc-file-icon {
|
||||
font-size: 18px;
|
||||
color: #4a90d9;
|
||||
color: var(--gh-lk);
|
||||
}
|
||||
.sc-file-details {
|
||||
display: flex;
|
||||
|
|
@ -128,21 +128,21 @@
|
|||
.sc-file-name {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: #1a1a1a;
|
||||
color: var(--gh-ht);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.sc-file-size {
|
||||
font-size: 12px;
|
||||
color: #aaa;
|
||||
color: var(--gh-muted);
|
||||
margin-top: 2px;
|
||||
}
|
||||
.sc-file-clear {
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
color: #bbb;
|
||||
color: var(--gh-muted);
|
||||
padding: 4px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
@ -151,25 +151,25 @@
|
|||
flex-shrink: 0;
|
||||
}
|
||||
.sc-file-clear:hover {
|
||||
color: #e24b4a;
|
||||
background: #fef0f0;
|
||||
color: var(--gh-dn);
|
||||
background: var(--gh-pb);
|
||||
}
|
||||
.sc-drop-restriction {
|
||||
font-size: 12px;
|
||||
color: #aaa;
|
||||
color: var(--gh-muted);
|
||||
margin-top: 6px;
|
||||
}
|
||||
.sc-drop-restriction code {
|
||||
font-family: monospace;
|
||||
background: #f4f4f4;
|
||||
background: var(--gh-pb);
|
||||
padding: 1px 5px;
|
||||
border-radius: 4px;
|
||||
font-size: 11px;
|
||||
color: #666;
|
||||
color: var(--gh-muted);
|
||||
}
|
||||
.sc-divider {
|
||||
border: none;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
border-top: 1px solid var(--gh-bo);
|
||||
margin: 1.25rem 0;
|
||||
}
|
||||
.sc-btn-row {
|
||||
|
|
@ -197,20 +197,20 @@
|
|||
cursor: not-allowed;
|
||||
}
|
||||
.sc-btn--primary {
|
||||
background: #1a1a1a;
|
||||
color: #fff;
|
||||
border-color: #1a1a1a;
|
||||
background: var(--gh-sb);
|
||||
color: var(--gh-tb);
|
||||
border-color: var(--gh-ht);
|
||||
}
|
||||
.sc-btn--primary:hover:not(:disabled) {
|
||||
background: #333;
|
||||
background: var(--gh-sb);
|
||||
}
|
||||
.sc-btn--secondary {
|
||||
background: #fff;
|
||||
color: #1a1a1a;
|
||||
border-color: #ddd;
|
||||
background: var(--gh-tb);
|
||||
color: var(--gh-ht);
|
||||
border-color: var(--gh-bo);
|
||||
}
|
||||
.sc-btn--secondary:hover:not(:disabled) {
|
||||
background: #f7f7f7;
|
||||
background: var(--gh-pb);
|
||||
}
|
||||
.sc-status {
|
||||
display: flex;
|
||||
|
|
@ -222,12 +222,12 @@
|
|||
border-radius: 8px;
|
||||
}
|
||||
.sc-status--success {
|
||||
background: #f0faf4;
|
||||
color: #2e7d52;
|
||||
border: 1px solid #c3e8d4;
|
||||
background: var(--gh-pb);
|
||||
color: var(--gh-ok);
|
||||
border: 1px solid color-mix(in srgb, var(--gh-ok) 35%, var(--gh-tb));
|
||||
}
|
||||
.sc-status--error {
|
||||
background: #fff5f5;
|
||||
color: #c0392b;
|
||||
border: 1px solid #f5c6c6;
|
||||
background: var(--gh-pb);
|
||||
color: var(--gh-dn);
|
||||
border: 1px solid color-mix(in srgb, var(--gh-dn) 35%, var(--gh-tb));
|
||||
}
|
||||
|
|
@ -82,7 +82,7 @@
|
|||
<!-- Action buttons -->
|
||||
<div class="sc-btn-row">
|
||||
<button
|
||||
class="sc-btn sc-btn--primary"
|
||||
class="sc-btn sc-btn--primary gh-import"
|
||||
[disabled]="!canUpload"
|
||||
(click)="upload()"
|
||||
type="button">
|
||||
|
|
@ -91,7 +91,7 @@
|
|||
</button>
|
||||
|
||||
<button
|
||||
class="sc-btn sc-btn--secondary"
|
||||
class="sc-btn sc-btn--secondary gh-download"
|
||||
[disabled]="!canDownload"
|
||||
(click)="download()"
|
||||
type="button">
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@
|
|||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 10px;
|
||||
background: #DEDEFF;
|
||||
color: #414278;
|
||||
background: var(--gh-th);
|
||||
color: var(--gh-lk);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
|
@ -32,13 +32,13 @@
|
|||
margin: 0 0 2px;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: #1a1a1a;
|
||||
color: var(--gh-ht);
|
||||
}
|
||||
|
||||
.uat-subtitle {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
color: #888888;
|
||||
color: var(--gh-muted);
|
||||
}
|
||||
|
||||
/* ---------- view switch ---------- */
|
||||
|
|
@ -47,9 +47,9 @@
|
|||
display: inline-flex;
|
||||
gap: 4px;
|
||||
padding: 4px;
|
||||
border: 1px solid #E3E3EC;
|
||||
border: 1px solid var(--gh-bo);
|
||||
border-radius: 10px;
|
||||
background: #FFFFFF;
|
||||
background: var(--gh-tb);
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
border: none;
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
color: #424242;
|
||||
color: var(--gh-bt);
|
||||
font: inherit;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
|
|
@ -71,39 +71,39 @@
|
|||
}
|
||||
|
||||
.uat-view:hover {
|
||||
background: #F3F3FF;
|
||||
background: var(--gh-pb);
|
||||
}
|
||||
|
||||
.uat-view.is-active {
|
||||
background: #52527A;
|
||||
color: #FFFFFF;
|
||||
background: var(--gh-btn);
|
||||
color: var(--gh-tb);
|
||||
}
|
||||
|
||||
.uat-view__count {
|
||||
min-width: 20px;
|
||||
padding: 0 6px;
|
||||
border-radius: 999px;
|
||||
background: #EEEEF2;
|
||||
color: #5B5B6B;
|
||||
background: var(--gh-pb);
|
||||
color: var(--gh-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.uat-view__count.has-items {
|
||||
background: #FFF2DB;
|
||||
color: #8A5300;
|
||||
background: color-mix(in srgb, var(--gh-warn) 12%, var(--gh-tb));
|
||||
color: color-mix(in srgb, var(--gh-warn) 75%, var(--gh-ht));
|
||||
}
|
||||
|
||||
.uat-view.is-active .uat-view__count {
|
||||
background: rgba(255, 255, 255, 0.22);
|
||||
color: #FFFFFF;
|
||||
background: color-mix(in srgb, var(--gh-tb) 22%, transparent);
|
||||
color: var(--gh-tb);
|
||||
}
|
||||
|
||||
/* ---------- pending approvals table ---------- */
|
||||
|
||||
.uat-table-wrap {
|
||||
border: 1px solid #E3E3EC;
|
||||
border: 1px solid var(--gh-bo);
|
||||
border-radius: 10px;
|
||||
overflow: auto;
|
||||
max-height: 560px;
|
||||
|
|
@ -119,19 +119,19 @@
|
|||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
background: #F7F7FB;
|
||||
color: #666666;
|
||||
background: var(--gh-pb);
|
||||
color: var(--gh-muted);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
padding: 10px 12px;
|
||||
border-bottom: 1px solid #E3E3EC;
|
||||
border-bottom: 1px solid var(--gh-bo);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.uat-table td {
|
||||
padding: 10px 12px;
|
||||
border-bottom: 1px solid #F0F0F4;
|
||||
border-bottom: 1px solid var(--gh-bo);
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
|
@ -140,15 +140,15 @@
|
|||
}
|
||||
|
||||
.uat-table tbody tr:hover {
|
||||
background: #F7F7FB;
|
||||
background: var(--gh-pb);
|
||||
}
|
||||
|
||||
.uat-table tbody tr.is-selected {
|
||||
background: #F3F3FF;
|
||||
background: var(--gh-pb);
|
||||
}
|
||||
|
||||
.uat-table tbody tr.is-mine {
|
||||
color: #888888;
|
||||
color: var(--gh-muted);
|
||||
}
|
||||
|
||||
.uat-table__check {
|
||||
|
|
@ -186,8 +186,8 @@
|
|||
}
|
||||
|
||||
.uat-card {
|
||||
background: #FFFFFF;
|
||||
border: 1px solid #E3E3EC;
|
||||
background: var(--gh-tb);
|
||||
border: 1px solid var(--gh-bo);
|
||||
border-radius: 12px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
|
@ -196,7 +196,7 @@
|
|||
margin: 0 0 2px;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: #1a1a1a;
|
||||
color: var(--gh-ht);
|
||||
}
|
||||
|
||||
/* Pending approvals table, "Requested by" cell: maker, date and "Your change" side by side */
|
||||
|
|
@ -231,8 +231,8 @@
|
|||
margin-left: 8px;
|
||||
padding: 0 10px;
|
||||
border-radius: 999px;
|
||||
background: #DEDEFF;
|
||||
color: #414278;
|
||||
background: var(--gh-th);
|
||||
color: var(--gh-lk);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
line-height: 22px;
|
||||
|
|
@ -244,13 +244,13 @@
|
|||
margin-bottom: 8px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: #888888;
|
||||
color: var(--gh-muted);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.uat-muted {
|
||||
color: #888888;
|
||||
color: var(--gh-muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
|
|
@ -283,8 +283,8 @@
|
|||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
background: #52527A;
|
||||
color: #FFFFFF;
|
||||
background: var(--gh-btn);
|
||||
color: var(--gh-tb);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
|
@ -300,7 +300,7 @@
|
|||
|
||||
.uat-user__name {
|
||||
font-weight: 600;
|
||||
color: #1a1a1a;
|
||||
color: var(--gh-ht);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
|
@ -314,7 +314,7 @@
|
|||
margin-top: 14px;
|
||||
padding: 10px 12px;
|
||||
border-radius: 10px;
|
||||
background: #F7F7FB;
|
||||
background: var(--gh-pb);
|
||||
}
|
||||
|
||||
.uat-stat {
|
||||
|
|
@ -326,18 +326,18 @@
|
|||
.uat-stat__value {
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
color: #414278;
|
||||
color: var(--gh-lk);
|
||||
}
|
||||
|
||||
.uat-stat__label {
|
||||
font-size: 12px;
|
||||
color: #666666;
|
||||
color: var(--gh-muted);
|
||||
}
|
||||
|
||||
.uat-legend {
|
||||
margin-top: 16px;
|
||||
padding-top: 14px;
|
||||
border-top: 1px solid #F0F0F4;
|
||||
border-top: 1px solid var(--gh-bo);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
|
@ -346,7 +346,7 @@
|
|||
.uat-legend__title {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: #888888;
|
||||
color: var(--gh-muted);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
|
@ -367,27 +367,27 @@
|
|||
|
||||
.uat-empty__icon {
|
||||
font-size: 32px;
|
||||
color: #C9C9D6;
|
||||
color: var(--gh-muted);
|
||||
}
|
||||
|
||||
.uat-empty__title {
|
||||
margin: 10px 0 4px;
|
||||
font-weight: 600;
|
||||
color: #424242;
|
||||
color: var(--gh-bt);
|
||||
}
|
||||
|
||||
/* ---------- pending change ---------- */
|
||||
|
||||
.uat-pending {
|
||||
border-color: #F5D9A8;
|
||||
background: #FFFAF0;
|
||||
border-color: color-mix(in srgb, var(--gh-warn) 35%, var(--gh-tb));
|
||||
background: var(--gh-pb);
|
||||
}
|
||||
|
||||
.uat-pending__head {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
align-items: flex-start;
|
||||
color: #8A5300;
|
||||
color: color-mix(in srgb, var(--gh-warn) 75%, var(--gh-ht));
|
||||
}
|
||||
|
||||
.uat-pending__head > .pi {
|
||||
|
|
@ -415,7 +415,7 @@
|
|||
margin-bottom: 6px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: #8A5300;
|
||||
color: color-mix(in srgb, var(--gh-warn) 75%, var(--gh-ht));
|
||||
}
|
||||
|
||||
.uat-pending__actions {
|
||||
|
|
@ -430,7 +430,7 @@
|
|||
.uat-pending__note {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: #8A5300;
|
||||
color: color-mix(in srgb, var(--gh-warn) 75%, var(--gh-ht));
|
||||
}
|
||||
|
||||
/* ---------- chips ---------- */
|
||||
|
|
@ -456,8 +456,8 @@
|
|||
font-size: 10px;
|
||||
}
|
||||
|
||||
.uat-chip--add { background: #E6F4EC; color: #137A4B; }
|
||||
.uat-chip--remove { background: #FDE8EA; color: #D11A2A; }
|
||||
.uat-chip--add { background: var(--gh-bo); color: var(--gh-okh); }
|
||||
.uat-chip--remove { background: color-mix(in srgb, var(--gh-dn) 12%, var(--gh-tb)); color: var(--gh-dn); }
|
||||
|
||||
/* ---------- payroll type list ---------- */
|
||||
|
||||
|
|
@ -482,7 +482,7 @@
|
|||
}
|
||||
|
||||
.uat-list {
|
||||
border: 1px solid #E3E3EC;
|
||||
border: 1px solid var(--gh-bo);
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
max-height: 579px;
|
||||
|
|
@ -495,7 +495,7 @@
|
|||
gap: 12px;
|
||||
margin: 0;
|
||||
padding: 8px 14px;
|
||||
border-bottom: 1px solid #F0F0F4;
|
||||
border-bottom: 1px solid var(--gh-bo);
|
||||
cursor: pointer;
|
||||
transition: background-color 0.15s;
|
||||
}
|
||||
|
|
@ -505,17 +505,17 @@
|
|||
}
|
||||
|
||||
.uat-row:hover {
|
||||
background: #F7F7FB;
|
||||
background: var(--gh-pb);
|
||||
}
|
||||
|
||||
.uat-row.is-ticked {
|
||||
background: #F3F3FF;
|
||||
background: var(--gh-pb);
|
||||
}
|
||||
|
||||
.uat-row__name {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
color: #1a1a1a;
|
||||
color: var(--gh-ht);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
|
@ -530,7 +530,7 @@
|
|||
}
|
||||
|
||||
.uat-list--locked .uat-row.is-ticked:hover {
|
||||
background: #F3F3FF;
|
||||
background: var(--gh-pb);
|
||||
}
|
||||
|
||||
.uat-list__empty {
|
||||
|
|
@ -548,7 +548,7 @@
|
|||
gap: 10px;
|
||||
margin-top: 14px;
|
||||
padding-top: 14px;
|
||||
border-top: 1px solid #F0F0F4;
|
||||
border-top: 1px solid var(--gh-bo);
|
||||
}
|
||||
|
||||
.uat-savebar__summary {
|
||||
|
|
@ -581,11 +581,11 @@
|
|||
}
|
||||
|
||||
.uat-badge--success,
|
||||
.uat-pill--success { background: #E6F4EC; color: #137A4B; }
|
||||
.uat-pill--success { background: var(--gh-bo); color: var(--gh-okh); }
|
||||
.uat-badge--warning,
|
||||
.uat-pill--warning { background: #FFF2DB; color: #8A5300; }
|
||||
.uat-badge--neutral { background: #EEEEF2; color: #5B5B6B; }
|
||||
.uat-badge--info { background: #E8EEFC; color: #2F4FB5; }
|
||||
.uat-pill--warning { background: color-mix(in srgb, var(--gh-warn) 12%, var(--gh-tb)); color: color-mix(in srgb, var(--gh-warn) 75%, var(--gh-ht)); }
|
||||
.uat-badge--neutral { background: var(--gh-pb); color: var(--gh-muted); }
|
||||
.uat-badge--info { background: var(--gh-th); color: var(--gh-lk); }
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.uat-layout {
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user