penyesuaian UI master
This commit is contained in:
parent
a42d328222
commit
fe740dc3c1
|
@ -23,9 +23,19 @@
|
||||||
<div class="col-md-6 text-right">
|
<div class="col-md-6 text-right">
|
||||||
<button
|
<button
|
||||||
class="btn btn-secondary"
|
class="btn btn-secondary"
|
||||||
|
style="
|
||||||
|
color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
background-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="openAddMasterModal()"
|
(click)="openAddMasterModal()"
|
||||||
>
|
>
|
||||||
<i class="feather ft-plus"></i> Add new master
|
<i
|
||||||
|
class="feather ft-plus"
|
||||||
|
style="color: #ffffff !important"
|
||||||
|
></i
|
||||||
|
>
|
||||||
|
<span style="font-weight: 600">Add new master</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -50,7 +60,7 @@
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-rowIndex="rowIndex"
|
let-rowIndex="rowIndex"
|
||||||
>
|
>
|
||||||
{{ rowIndex + 1 }}
|
<p style="color: #ffffff">{{ rowIndex + 1 }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -59,13 +69,13 @@
|
||||||
[minWidth]="90"
|
[minWidth]="90"
|
||||||
>
|
>
|
||||||
<ng-template ngx-datatable-header-template>
|
<ng-template ngx-datatable-header-template>
|
||||||
<span>Category Name</span>
|
<span style="color: #ffffff">Name</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
let-value="value"
|
let-value="value"
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
>
|
>
|
||||||
{{ value }}
|
<p style="color: #ffffff">{{ value }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -74,13 +84,13 @@
|
||||||
[minWidth]="90"
|
[minWidth]="90"
|
||||||
>
|
>
|
||||||
<ng-template ngx-datatable-header-template>
|
<ng-template ngx-datatable-header-template>
|
||||||
<span>Status</span>
|
<span style="color: #ffffff">Status</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-value="value"
|
let-value="value"
|
||||||
>
|
>
|
||||||
{{ value === "2" ? "Aktif" : "Tidak Aktif" }}
|
<p style="color: #ffffff">{{ value === "2" ? "Aktif" : "Tidak Aktif" }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -88,6 +98,9 @@
|
||||||
[flexGrow]="1"
|
[flexGrow]="1"
|
||||||
[minWidth]="150"
|
[minWidth]="150"
|
||||||
>
|
>
|
||||||
|
<ng-template ngx-datatable-header-template>
|
||||||
|
<span style="color: #ffffff">Actions</span>
|
||||||
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-rowIndex="rowIndex"
|
let-rowIndex="rowIndex"
|
||||||
|
@ -95,12 +108,20 @@
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm btn-warning mr-1"
|
class="btn btn-sm btn-warning mr-1"
|
||||||
|
style="
|
||||||
|
background-color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="editRow(row)"
|
(click)="editRow(row)"
|
||||||
>
|
>
|
||||||
<i class="ficon feather ft-edit"></i>
|
<i class="ficon feather ft-edit"></i>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm btn-danger"
|
class="btn btn-sm btn-danger"
|
||||||
|
style="
|
||||||
|
background-color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="deleteRow(row)"
|
(click)="deleteRow(row)"
|
||||||
>
|
>
|
||||||
<i class="ficon feather ft-trash-2"></i>
|
<i class="ficon feather ft-trash-2"></i>
|
||||||
|
|
|
@ -23,9 +23,19 @@
|
||||||
<div class="col-md-6 text-right">
|
<div class="col-md-6 text-right">
|
||||||
<button
|
<button
|
||||||
class="btn btn-secondary"
|
class="btn btn-secondary"
|
||||||
|
style="
|
||||||
|
color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
background-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="openAddMasterModal()"
|
(click)="openAddMasterModal()"
|
||||||
>
|
>
|
||||||
<i class="feather ft-plus"></i> Add new master
|
<i
|
||||||
|
class="feather ft-plus"
|
||||||
|
style="color: #ffffff !important"
|
||||||
|
></i
|
||||||
|
>
|
||||||
|
<span style="font-weight: 600">Add new master</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -50,7 +60,7 @@
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-rowIndex="rowIndex"
|
let-rowIndex="rowIndex"
|
||||||
>
|
>
|
||||||
{{ rowIndex + 1 }}
|
<p style="color: #ffffff">{{ rowIndex + 1 }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -59,13 +69,13 @@
|
||||||
[minWidth]="90"
|
[minWidth]="90"
|
||||||
>
|
>
|
||||||
<ng-template ngx-datatable-header-template>
|
<ng-template ngx-datatable-header-template>
|
||||||
<span>Category Name</span>
|
<span style="color: #ffffff">Name</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
let-value="value"
|
let-value="value"
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
>
|
>
|
||||||
{{ value }}
|
<p style="color: #ffffff">{{ value }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -74,13 +84,13 @@
|
||||||
[minWidth]="90"
|
[minWidth]="90"
|
||||||
>
|
>
|
||||||
<ng-template ngx-datatable-header-template>
|
<ng-template ngx-datatable-header-template>
|
||||||
<span>Status</span>
|
<span style="color: #ffffff">Status</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-value="value"
|
let-value="value"
|
||||||
>
|
>
|
||||||
{{ value === "2" ? "Aktif" : "Tidak Aktif" }}
|
<p style="color: #ffffff">{{ value === "2" ? "Aktif" : "Tidak Aktif" }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -95,12 +105,20 @@
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm btn-warning mr-1"
|
class="btn btn-sm btn-warning mr-1"
|
||||||
|
style="
|
||||||
|
background-color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="editRow(row)"
|
(click)="editRow(row)"
|
||||||
>
|
>
|
||||||
<i class="ficon feather ft-edit"></i>
|
<i class="ficon feather ft-edit"></i>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm btn-danger"
|
class="btn btn-sm btn-danger"
|
||||||
|
style="
|
||||||
|
background-color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="deleteRow(row)"
|
(click)="deleteRow(row)"
|
||||||
>
|
>
|
||||||
<i class="ficon feather ft-trash-2"></i>
|
<i class="ficon feather ft-trash-2"></i>
|
||||||
|
|
|
@ -6,10 +6,7 @@
|
||||||
<div class="content-body">
|
<div class="content-body">
|
||||||
<section id="configuration">
|
<section id="configuration">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div
|
<div class="col-12">
|
||||||
class="col-12"
|
|
||||||
*blockUI="'zeroConfiguration'; message: 'Loading'"
|
|
||||||
>
|
|
||||||
<div class="card" style="background-color: #252525 !important">
|
<div class="card" style="background-color: #252525 !important">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -21,7 +18,6 @@
|
||||||
placeholder="Search..."
|
placeholder="Search..."
|
||||||
[(ngModel)]="searchTerm"
|
[(ngModel)]="searchTerm"
|
||||||
(input)="filterRows()"
|
(input)="filterRows()"
|
||||||
(touchstart)="onTouchStart($event)"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6 text-right">
|
<div class="col-md-6 text-right">
|
||||||
|
@ -54,7 +50,7 @@
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-rowIndex="rowIndex"
|
let-rowIndex="rowIndex"
|
||||||
>
|
>
|
||||||
{{ rowIndex + 1 }}
|
<p style="color: #ffffff">{{ rowIndex + 1 }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -63,13 +59,13 @@
|
||||||
[minWidth]="90"
|
[minWidth]="90"
|
||||||
>
|
>
|
||||||
<ng-template ngx-datatable-header-template>
|
<ng-template ngx-datatable-header-template>
|
||||||
<span>Category Name</span>
|
<span style="color: #ffffff">Name</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
let-value="value"
|
let-value="value"
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
>
|
>
|
||||||
{{ value }}
|
<p style="color: #ffffff">{{ value }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -78,13 +74,15 @@
|
||||||
[minWidth]="90"
|
[minWidth]="90"
|
||||||
>
|
>
|
||||||
<ng-template ngx-datatable-header-template>
|
<ng-template ngx-datatable-header-template>
|
||||||
<span>Status</span>
|
<span style="color: #ffffff">Status</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-value="value"
|
let-value="value"
|
||||||
>
|
>
|
||||||
{{ value === "2" ? "Aktif" : "Tidak Aktif" }}
|
<p style="color: #ffffff">
|
||||||
|
{{ value === "2" ? "Aktif" : "Tidak Aktif" }}
|
||||||
|
</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -92,6 +90,9 @@
|
||||||
[flexGrow]="1"
|
[flexGrow]="1"
|
||||||
[minWidth]="150"
|
[minWidth]="150"
|
||||||
>
|
>
|
||||||
|
<ng-template ngx-datatable-header-template>
|
||||||
|
<span style="color: #ffffff">Actions</span>
|
||||||
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-rowIndex="rowIndex"
|
let-rowIndex="rowIndex"
|
||||||
|
@ -99,12 +100,20 @@
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm btn-warning mr-1"
|
class="btn btn-sm btn-warning mr-1"
|
||||||
|
style="
|
||||||
|
background-color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="editRow(row)"
|
(click)="editRow(row)"
|
||||||
>
|
>
|
||||||
<i class="ficon feather ft-edit"></i>
|
<i class="ficon feather ft-edit"></i>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm btn-danger"
|
class="btn btn-sm btn-danger"
|
||||||
|
style="
|
||||||
|
background-color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="deleteRow(row)"
|
(click)="deleteRow(row)"
|
||||||
>
|
>
|
||||||
<i class="ficon feather ft-trash-2"></i>
|
<i class="ficon feather ft-trash-2"></i>
|
||||||
|
|
|
@ -27,9 +27,19 @@
|
||||||
<div class="col-md-6 text-right">
|
<div class="col-md-6 text-right">
|
||||||
<button
|
<button
|
||||||
class="btn btn-secondary"
|
class="btn btn-secondary"
|
||||||
|
style="
|
||||||
|
color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
background-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="openAddMasterModal()"
|
(click)="openAddMasterModal()"
|
||||||
>
|
>
|
||||||
<i class="feather ft-plus"></i> Add new master
|
<i
|
||||||
|
class="feather ft-plus"
|
||||||
|
style="color: #ffffff !important"
|
||||||
|
></i
|
||||||
|
>
|
||||||
|
<span style="font-weight: 600">Add new master</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -54,7 +64,7 @@
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-rowIndex="rowIndex"
|
let-rowIndex="rowIndex"
|
||||||
>
|
>
|
||||||
{{ rowIndex + 1 }}
|
<p style="color: #ffffff">{{ rowIndex + 1 }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -63,13 +73,13 @@
|
||||||
[minWidth]="90"
|
[minWidth]="90"
|
||||||
>
|
>
|
||||||
<ng-template ngx-datatable-header-template>
|
<ng-template ngx-datatable-header-template>
|
||||||
<span>Category Name</span>
|
<span style="color: #ffffff">Name</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
let-value="value"
|
let-value="value"
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
>
|
>
|
||||||
{{ value }}
|
<p style="color: #ffffff">{{ value }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -78,13 +88,15 @@
|
||||||
[minWidth]="90"
|
[minWidth]="90"
|
||||||
>
|
>
|
||||||
<ng-template ngx-datatable-header-template>
|
<ng-template ngx-datatable-header-template>
|
||||||
<span>Status</span>
|
<span style="color: #ffffff">Status</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-value="value"
|
let-value="value"
|
||||||
>
|
>
|
||||||
{{ value === "2" ? "Aktif" : "Tidak Aktif" }}
|
<p style="color: #ffffff">
|
||||||
|
{{ value === "2" ? "Aktif" : "Tidak Aktif" }}
|
||||||
|
</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -92,6 +104,9 @@
|
||||||
[flexGrow]="1"
|
[flexGrow]="1"
|
||||||
[minWidth]="150"
|
[minWidth]="150"
|
||||||
>
|
>
|
||||||
|
<ng-template ngx-datatable-header-template>
|
||||||
|
<span style="color: #ffffff">Actions</span>
|
||||||
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-rowIndex="rowIndex"
|
let-rowIndex="rowIndex"
|
||||||
|
@ -99,12 +114,20 @@
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm btn-warning mr-1"
|
class="btn btn-sm btn-warning mr-1"
|
||||||
|
style="
|
||||||
|
background-color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="editRow(row)"
|
(click)="editRow(row)"
|
||||||
>
|
>
|
||||||
<i class="ficon feather ft-edit"></i>
|
<i class="ficon feather ft-edit"></i>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm btn-danger"
|
class="btn btn-sm btn-danger"
|
||||||
|
style="
|
||||||
|
background-color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="deleteRow(row)"
|
(click)="deleteRow(row)"
|
||||||
>
|
>
|
||||||
<i class="ficon feather ft-trash-2"></i>
|
<i class="ficon feather ft-trash-2"></i>
|
||||||
|
|
|
@ -6,10 +6,7 @@
|
||||||
<div class="content-body">
|
<div class="content-body">
|
||||||
<section id="configuration">
|
<section id="configuration">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div
|
<div class="col-12">
|
||||||
class="col-12"
|
|
||||||
*blockUI="'zeroConfiguration'; message: 'Loading'"
|
|
||||||
>
|
|
||||||
<div class="card" style="background-color: #252525 !important">
|
<div class="card" style="background-color: #252525 !important">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -21,15 +18,24 @@
|
||||||
placeholder="Search..."
|
placeholder="Search..."
|
||||||
[(ngModel)]="searchTerm"
|
[(ngModel)]="searchTerm"
|
||||||
(input)="filterRows()"
|
(input)="filterRows()"
|
||||||
(touchstart)="onTouchStart($event)"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6 text-right">
|
<div class="col-md-6 text-right">
|
||||||
<button
|
<button
|
||||||
class="btn btn-secondary"
|
class="btn btn-secondary"
|
||||||
|
style="
|
||||||
|
color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
background-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="openAddMasterModal()"
|
(click)="openAddMasterModal()"
|
||||||
>
|
>
|
||||||
<i class="feather ft-plus"></i> Add new master
|
<i
|
||||||
|
class="feather ft-plus"
|
||||||
|
style="color: #ffffff !important"
|
||||||
|
></i
|
||||||
|
>
|
||||||
|
<span style="font-weight: 600">Add new room</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -54,7 +60,7 @@
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-rowIndex="rowIndex"
|
let-rowIndex="rowIndex"
|
||||||
>
|
>
|
||||||
{{ rowIndex + 1 }}
|
<p style="color: #ffffff">{{ rowIndex + 1 }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -63,13 +69,13 @@
|
||||||
[minWidth]="90"
|
[minWidth]="90"
|
||||||
>
|
>
|
||||||
<ng-template ngx-datatable-header-template>
|
<ng-template ngx-datatable-header-template>
|
||||||
<span>Room Name</span>
|
<span style="color: #ffffff">Room Name</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
let-value="value"
|
let-value="value"
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
>
|
>
|
||||||
{{ value }}
|
<p style="color: #ffffff">{{ value }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
|
|
||||||
|
@ -79,13 +85,13 @@
|
||||||
[minWidth]="90"
|
[minWidth]="90"
|
||||||
>
|
>
|
||||||
<ng-template ngx-datatable-header-template>
|
<ng-template ngx-datatable-header-template>
|
||||||
<span>Status</span>
|
<span style="color: #ffffff">Status</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-value="value"
|
let-value="value"
|
||||||
>
|
>
|
||||||
{{ value === 2 ? "Aktif" : "Tidak Aktif" }}
|
<p style="color: #ffffff">{{ value === 2 ? "Aktif" : "Tidak Aktif" }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -93,6 +99,9 @@
|
||||||
[flexGrow]="1"
|
[flexGrow]="1"
|
||||||
[minWidth]="150"
|
[minWidth]="150"
|
||||||
>
|
>
|
||||||
|
<ng-template ngx-datatable-header-template>
|
||||||
|
<span style="color: #ffffff">Actions</span>
|
||||||
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-rowIndex="rowIndex"
|
let-rowIndex="rowIndex"
|
||||||
|
@ -100,12 +109,20 @@
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm btn-warning mr-1"
|
class="btn btn-sm btn-warning mr-1"
|
||||||
|
style="
|
||||||
|
background-color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="editRow(row)"
|
(click)="editRow(row)"
|
||||||
>
|
>
|
||||||
<i class="ficon feather ft-edit"></i>
|
<i class="ficon feather ft-edit"></i>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm btn-danger"
|
class="btn btn-sm btn-danger"
|
||||||
|
style="
|
||||||
|
background-color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="deleteRow(row)"
|
(click)="deleteRow(row)"
|
||||||
>
|
>
|
||||||
<i class="ficon feather ft-trash-2"></i>
|
<i class="ficon feather ft-trash-2"></i>
|
||||||
|
|
|
@ -26,14 +26,14 @@ export class MasterRoomComponent {
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.breadcrumb = {
|
this.breadcrumb = {
|
||||||
mainlabel: "Master Building",
|
mainlabel: "Master Room",
|
||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
name: "Home",
|
name: "Home",
|
||||||
isLink: false,
|
isLink: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Master Building",
|
name: "Master Room",
|
||||||
isLink: false,
|
isLink: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
@ -6,10 +6,7 @@
|
||||||
<div class="content-body">
|
<div class="content-body">
|
||||||
<section id="configuration">
|
<section id="configuration">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div
|
<div class="col-12">
|
||||||
class="col-12"
|
|
||||||
*blockUI="'zeroConfiguration'; message: 'Loading'"
|
|
||||||
>
|
|
||||||
<div class="card" style="background-color: #252525 !important">
|
<div class="card" style="background-color: #252525 !important">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -21,15 +18,24 @@
|
||||||
placeholder="Search..."
|
placeholder="Search..."
|
||||||
[(ngModel)]="searchTerm"
|
[(ngModel)]="searchTerm"
|
||||||
(input)="filterRows()"
|
(input)="filterRows()"
|
||||||
(touchstart)="onTouchStart($event)"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6 text-right">
|
<div class="col-md-6 text-right">
|
||||||
<button
|
<button
|
||||||
class="btn btn-secondary"
|
class="btn btn-secondary"
|
||||||
|
style="
|
||||||
|
color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
background-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="openAddMasterModal()"
|
(click)="openAddMasterModal()"
|
||||||
>
|
>
|
||||||
<i class="feather ft-plus"></i> Add new master
|
<i
|
||||||
|
class="feather ft-plus"
|
||||||
|
style="color: #ffffff !important"
|
||||||
|
></i
|
||||||
|
>
|
||||||
|
<span style="font-weight: 600">Add new master</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -54,7 +60,7 @@
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-rowIndex="rowIndex"
|
let-rowIndex="rowIndex"
|
||||||
>
|
>
|
||||||
{{ rowIndex + 1 }}
|
<p style="color: #ffffff">{{ rowIndex + 1 }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -63,13 +69,13 @@
|
||||||
[minWidth]="90"
|
[minWidth]="90"
|
||||||
>
|
>
|
||||||
<ng-template ngx-datatable-header-template>
|
<ng-template ngx-datatable-header-template>
|
||||||
<span>Category Name</span>
|
<span style="color: #ffffff">Name</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
let-value="value"
|
let-value="value"
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
>
|
>
|
||||||
{{ value }}
|
<p style="color: #ffffff">{{ value }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -78,13 +84,15 @@
|
||||||
[minWidth]="90"
|
[minWidth]="90"
|
||||||
>
|
>
|
||||||
<ng-template ngx-datatable-header-template>
|
<ng-template ngx-datatable-header-template>
|
||||||
<span>Status</span>
|
<span style="color: #ffffff">Status</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-value="value"
|
let-value="value"
|
||||||
>
|
>
|
||||||
{{ value === "2" ? "Aktif" : "Tidak Aktif" }}
|
<p style="color: #ffffff">
|
||||||
|
{{ value === "2" ? "Aktif" : "Tidak Aktif" }}
|
||||||
|
</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -92,6 +100,9 @@
|
||||||
[flexGrow]="1"
|
[flexGrow]="1"
|
||||||
[minWidth]="150"
|
[minWidth]="150"
|
||||||
>
|
>
|
||||||
|
<ng-template ngx-datatable-header-template>
|
||||||
|
<span style="color: #ffffff">Actions</span>
|
||||||
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-rowIndex="rowIndex"
|
let-rowIndex="rowIndex"
|
||||||
|
@ -99,12 +110,20 @@
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm btn-warning mr-1"
|
class="btn btn-sm btn-warning mr-1"
|
||||||
|
style="
|
||||||
|
background-color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="editRow(row)"
|
(click)="editRow(row)"
|
||||||
>
|
>
|
||||||
<i class="ficon feather ft-edit"></i>
|
<i class="ficon feather ft-edit"></i>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm btn-danger"
|
class="btn btn-sm btn-danger"
|
||||||
|
style="
|
||||||
|
background-color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="deleteRow(row)"
|
(click)="deleteRow(row)"
|
||||||
>
|
>
|
||||||
<i class="ficon feather ft-trash-2"></i>
|
<i class="ficon feather ft-trash-2"></i>
|
||||||
|
|
|
@ -6,10 +6,7 @@
|
||||||
<div class="content-body">
|
<div class="content-body">
|
||||||
<section id="configuration">
|
<section id="configuration">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div
|
<div class="col-12">
|
||||||
class="col-12"
|
|
||||||
*blockUI="'zeroConfiguration'; message: 'Loading'"
|
|
||||||
>
|
|
||||||
<div class="card" style="background-color: #252525 !important">
|
<div class="card" style="background-color: #252525 !important">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -21,15 +18,24 @@
|
||||||
placeholder="Search..."
|
placeholder="Search..."
|
||||||
[(ngModel)]="searchTerm"
|
[(ngModel)]="searchTerm"
|
||||||
(input)="filterRows()"
|
(input)="filterRows()"
|
||||||
(touchstart)="onTouchStart($event)"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6 text-right">
|
<div class="col-md-6 text-right">
|
||||||
<button
|
<button
|
||||||
class="btn btn-secondary"
|
class="btn btn-secondary"
|
||||||
|
style="
|
||||||
|
color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
background-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="openAddMasterModal()"
|
(click)="openAddMasterModal()"
|
||||||
>
|
>
|
||||||
<i class="feather ft-plus"></i> Add new master
|
<i
|
||||||
|
class="feather ft-plus"
|
||||||
|
style="color: #ffffff !important"
|
||||||
|
></i
|
||||||
|
>
|
||||||
|
<span style="font-weight: 600">Add new master</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -54,7 +60,7 @@
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-rowIndex="rowIndex"
|
let-rowIndex="rowIndex"
|
||||||
>
|
>
|
||||||
{{ rowIndex + 1 }}
|
<p style="color: #ffffff">{{ rowIndex + 1 }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -63,13 +69,13 @@
|
||||||
[minWidth]="90"
|
[minWidth]="90"
|
||||||
>
|
>
|
||||||
<ng-template ngx-datatable-header-template>
|
<ng-template ngx-datatable-header-template>
|
||||||
<span>Category Name</span>
|
<span style="color: #ffffff">Name</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
let-value="value"
|
let-value="value"
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
>
|
>
|
||||||
{{ value }}
|
<p style="color: #ffffff">{{ value }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -78,13 +84,15 @@
|
||||||
[minWidth]="90"
|
[minWidth]="90"
|
||||||
>
|
>
|
||||||
<ng-template ngx-datatable-header-template>
|
<ng-template ngx-datatable-header-template>
|
||||||
<span>Status</span>
|
<span style="color: #ffffff">Status</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-value="value"
|
let-value="value"
|
||||||
>
|
>
|
||||||
{{ value === "2" ? "Aktif" : "Tidak Aktif" }}
|
<p style="color: #ffffff">
|
||||||
|
{{ value === "2" ? "Aktif" : "Tidak Aktif" }}
|
||||||
|
</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -92,6 +100,9 @@
|
||||||
[flexGrow]="1"
|
[flexGrow]="1"
|
||||||
[minWidth]="150"
|
[minWidth]="150"
|
||||||
>
|
>
|
||||||
|
<ng-template ngx-datatable-header-template>
|
||||||
|
<span style="color: #ffffff">Actions</span>
|
||||||
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-rowIndex="rowIndex"
|
let-rowIndex="rowIndex"
|
||||||
|
@ -99,12 +110,20 @@
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm btn-warning mr-1"
|
class="btn btn-sm btn-warning mr-1"
|
||||||
|
style="
|
||||||
|
background-color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="editRow(row)"
|
(click)="editRow(row)"
|
||||||
>
|
>
|
||||||
<i class="ficon feather ft-edit"></i>
|
<i class="ficon feather ft-edit"></i>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm btn-danger"
|
class="btn btn-sm btn-danger"
|
||||||
|
style="
|
||||||
|
background-color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="deleteRow(row)"
|
(click)="deleteRow(row)"
|
||||||
>
|
>
|
||||||
<i class="ficon feather ft-trash-2"></i>
|
<i class="ficon feather ft-trash-2"></i>
|
||||||
|
|
|
@ -6,10 +6,7 @@
|
||||||
<div class="content-body">
|
<div class="content-body">
|
||||||
<section id="configuration">
|
<section id="configuration">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div
|
<div class="col-12">
|
||||||
class="col-12"
|
|
||||||
*blockUI="'zeroConfiguration'; message: 'Loading'"
|
|
||||||
>
|
|
||||||
<div class="card" style="background-color: #252525 !important">
|
<div class="card" style="background-color: #252525 !important">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -21,15 +18,24 @@
|
||||||
placeholder="Search..."
|
placeholder="Search..."
|
||||||
[(ngModel)]="searchTerm"
|
[(ngModel)]="searchTerm"
|
||||||
(input)="filterRows()"
|
(input)="filterRows()"
|
||||||
(touchstart)="onTouchStart($event)"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6 text-right">
|
<div class="col-md-6 text-right">
|
||||||
<button
|
<button
|
||||||
class="btn btn-secondary"
|
class="btn btn-secondary"
|
||||||
|
style="
|
||||||
|
color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
background-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="openAddMasterModal()"
|
(click)="openAddMasterModal()"
|
||||||
>
|
>
|
||||||
<i class="feather ft-plus"></i> Add new master
|
<i
|
||||||
|
class="feather ft-plus"
|
||||||
|
style="color: #ffffff !important"
|
||||||
|
></i
|
||||||
|
>
|
||||||
|
<span style="font-weight: 600">Add new master</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -54,7 +60,7 @@
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-rowIndex="rowIndex"
|
let-rowIndex="rowIndex"
|
||||||
>
|
>
|
||||||
{{ rowIndex + 1 }}
|
<p style="color: #ffffff">{{ rowIndex + 1 }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -63,13 +69,13 @@
|
||||||
[minWidth]="90"
|
[minWidth]="90"
|
||||||
>
|
>
|
||||||
<ng-template ngx-datatable-header-template>
|
<ng-template ngx-datatable-header-template>
|
||||||
<span>Category Name</span>
|
<span style="color: #ffffff">Name</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
let-value="value"
|
let-value="value"
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
>
|
>
|
||||||
{{ value }}
|
<p style="color: #ffffff">{{ value }}</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -78,13 +84,15 @@
|
||||||
[minWidth]="90"
|
[minWidth]="90"
|
||||||
>
|
>
|
||||||
<ng-template ngx-datatable-header-template>
|
<ng-template ngx-datatable-header-template>
|
||||||
<span>Status</span>
|
<span style="color: #ffffff">Status</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-value="value"
|
let-value="value"
|
||||||
>
|
>
|
||||||
{{ value === "2" ? "Aktif" : "Tidak Aktif" }}
|
<p style="color: #ffffff">
|
||||||
|
{{ value === "2" ? "Aktif" : "Tidak Aktif" }}
|
||||||
|
</p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ngx-datatable-column>
|
</ngx-datatable-column>
|
||||||
<ngx-datatable-column
|
<ngx-datatable-column
|
||||||
|
@ -92,6 +100,9 @@
|
||||||
[flexGrow]="1"
|
[flexGrow]="1"
|
||||||
[minWidth]="150"
|
[minWidth]="150"
|
||||||
>
|
>
|
||||||
|
<ng-template ngx-datatable-header-template>
|
||||||
|
<span style="color: #ffffff">Actions</span>
|
||||||
|
</ng-template>
|
||||||
<ng-template
|
<ng-template
|
||||||
ngx-datatable-cell-template
|
ngx-datatable-cell-template
|
||||||
let-rowIndex="rowIndex"
|
let-rowIndex="rowIndex"
|
||||||
|
@ -99,12 +110,20 @@
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm btn-warning mr-1"
|
class="btn btn-sm btn-warning mr-1"
|
||||||
|
style="
|
||||||
|
background-color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="editRow(row)"
|
(click)="editRow(row)"
|
||||||
>
|
>
|
||||||
<i class="ficon feather ft-edit"></i>
|
<i class="ficon feather ft-edit"></i>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm btn-danger"
|
class="btn btn-sm btn-danger"
|
||||||
|
style="
|
||||||
|
background-color: #000000 !important;
|
||||||
|
border-color: #bef264 !important;
|
||||||
|
"
|
||||||
(click)="deleteRow(row)"
|
(click)="deleteRow(row)"
|
||||||
>
|
>
|
||||||
<i class="ficon feather ft-trash-2"></i>
|
<i class="ficon feather ft-trash-2"></i>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<meta name="keywords" content="admin template, modern admin template, dashboard template, flat admin template, responsive admin template, web app, crypto dashboard, bitcoin dashboard">
|
<meta name="keywords" content="admin template, modern admin template, dashboard template, flat admin template, responsive admin template, web app, crypto dashboard, bitcoin dashboard">
|
||||||
<meta name="author" content="EvolVision & CleVision">
|
<meta name="author" content="EvolVision & CleVision">
|
||||||
|
|
||||||
<title> Hemat</title> <!-- TODO - Title needs to be dynamic-->
|
<title> Smart Building Management Systems</title> <!-- TODO - Title needs to be dynamic-->
|
||||||
|
|
||||||
<link href="https://unpkg.com/font-awesome@4.7.0/css/font-awesome.css" rel="stylesheet">
|
<link href="https://unpkg.com/font-awesome@4.7.0/css/font-awesome.css" rel="stylesheet">
|
||||||
<link href="assets/fonts/feather/style.min.css" rel="stylesheet">
|
<link href="assets/fonts/feather/style.min.css" rel="stylesheet">
|
||||||
|
|
Loading…
Reference in New Issue