penyesuaian UI login dan master

This commit is contained in:
2024-06-12 17:28:40 +07:00
parent 6f928e2ca4
commit a42d328222
25 changed files with 2851 additions and 1528 deletions

View File

@@ -1,20 +1,15 @@
<div class="app-content content">
<div class="content-wrapper">
<div class="content-header row mb-1">
<app-breadcrumb class="col-12" [breadcrumb]="breadcrumb"></app-breadcrumb>
</div>
<div class="content-body">
<section id="configuration">
<div class="row">
<div
class="col-12"
*blockUI="'zeroConfiguration'; message: 'Loading'"
>
<m-card>
<ng-container mCardHeaderTitle>
Master Building Table
</ng-container>
<ng-container mCardBody>
<div class="app-content content" style="background-color: #000000 !important">
<div class="content-wrapper">
<div class="content-header row mb-1">
<app-breadcrumb class="col-12" [breadcrumb]="breadcrumb"></app-breadcrumb>
</div>
<div class="content-body">
<section id="configuration">
<div class="row">
<div class="col-12">
<div class="card" style="background-color: #252525 !important">
<div class="card-content">
<div class="card-body">
<div class="row mb-2">
<div class="col-md-6">
<input
@@ -23,15 +18,24 @@
placeholder="Search..."
[(ngModel)]="searchTerm"
(input)="filterRows()"
(touchstart)="onTouchStart($event)"
/>
</div>
<div class="col-md-6 text-right">
<button
class="btn btn-secondary"
style="
color: #000000 !important;
border-color: #bef264 !important;
background-color: #bef264 !important;
"
(click)="openAddMasterModal()"
>
<i class="feather ft-plus"></i>&nbsp; Add new master
<i
class="feather ft-plus"
style="color: #ffffff !important"
></i
>&nbsp;
<span style="font-weight: 600">Add new master</span>
</button>
</div>
</div>
@@ -56,7 +60,7 @@
ngx-datatable-cell-template
let-rowIndex="rowIndex"
>
{{ rowIndex + 1 }}
<p style="color: #ffffff">{{ rowIndex + 1 }}</p>
</ng-template>
</ngx-datatable-column>
<ngx-datatable-column
@@ -65,13 +69,13 @@
[minWidth]="90"
>
<ng-template ngx-datatable-header-template>
<span>Building Name</span>
<span style="color: #ffffff">Building Name</span>
</ng-template>
<ng-template
let-value="value"
ngx-datatable-cell-template
>
{{ value }}
<p style="color: #ffffff">{{ value }}</p>
</ng-template>
</ngx-datatable-column>
<ngx-datatable-column
@@ -80,13 +84,13 @@
[minWidth]="90"
>
<ng-template ngx-datatable-header-template>
<span>Email</span>
<span style="color: #ffffff">Email</span>
</ng-template>
<ng-template
let-value="value"
ngx-datatable-cell-template
>
{{ value }}
<p style="color: #ffffff">{{ value }}</p>
</ng-template>
</ngx-datatable-column>
<ngx-datatable-column
@@ -95,13 +99,13 @@
[minWidth]="90"
>
<ng-template ngx-datatable-header-template>
<span>Phone</span>
<span style="color: #ffffff">Phone</span>
</ng-template>
<ng-template
let-value="value"
ngx-datatable-cell-template
>
{{ value }}
<p style="color: #ffffff">{{ value }}</p>
</ng-template>
</ngx-datatable-column>
<ngx-datatable-column
@@ -110,13 +114,13 @@
[minWidth]="90"
>
<ng-template ngx-datatable-header-template>
<span>Owner</span>
<span style="color: #ffffff">Owner</span>
</ng-template>
<ng-template
let-value="value"
ngx-datatable-cell-template
>
{{ value }}
<p style="color: #ffffff">{{ value }}</p>
</ng-template>
</ngx-datatable-column>
<ngx-datatable-column
@@ -125,13 +129,13 @@
[minWidth]="90"
>
<ng-template ngx-datatable-header-template>
<span>Address</span>
<span style="color: #ffffff">Address</span>
</ng-template>
<ng-template
let-value="value"
ngx-datatable-cell-template
>
{{ value }}
<p style="color: #ffffff">{{ value }}</p>
</ng-template>
</ngx-datatable-column>
<ngx-datatable-column
@@ -140,13 +144,15 @@
[minWidth]="90"
>
<ng-template ngx-datatable-header-template>
<span>Status</span>
<span style="color: #ffffff">Status</span>
</ng-template>
<ng-template
ngx-datatable-cell-template
let-value="value"
>
{{ value === 2 ? 'Aktif' : 'Tidak Aktif'}}
<p style="color: #ffffff">
{{ value === 2 ? "Aktif" : "Tidak Aktif" }}
</p>
</ng-template>
</ngx-datatable-column>
<ngx-datatable-column
@@ -154,6 +160,9 @@
[flexGrow]="1"
[minWidth]="150"
>
<ng-template ngx-datatable-header-template>
<span style="color: #ffffff">Actions</span>
</ng-template>
<ng-template
ngx-datatable-cell-template
let-rowIndex="rowIndex"
@@ -161,15 +170,21 @@
>
<button
class="btn btn-sm btn-warning mr-1"
style="
background-color: #000000 !important;
border-color: #bef264 !important;
"
(click)="editRow(row)"
>
<i class="ficon feather ft-edit"></i>
</button>
<button
class="btn btn-sm btn-danger"
style="
background-color: #000000 !important;
border-color: #bef264 !important;
"
(click)="deleteRow(row)"
>
<i class="ficon feather ft-trash-2"></i>
</button>
@@ -177,12 +192,12 @@
</ngx-datatable-column>
</ngx-datatable>
</div>
</ng-container>
</m-card>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</section>
</div>
</div>
</div>