Compare commits
No commits in common. "shamim" and "main" have entirely different histories.
|
|
@ -3,7 +3,7 @@
|
|||
<div class="col-12 md:col-2" style="margin: auto;">
|
||||
<label for="idRoleType">Role Type</label>
|
||||
</div>
|
||||
<div class="col-12 md:col-10">
|
||||
<div class="col-12 md:col-2">
|
||||
|
||||
<kendo-dropdownlist [data]="roleTypes"
|
||||
id="idRoleType"
|
||||
|
|
@ -16,7 +16,8 @@
|
|||
[(ngModel)]="_selectedRoleType">
|
||||
</kendo-dropdownlist>
|
||||
</div>
|
||||
|
||||
<div class="col-12 md:col-8">
|
||||
</div>
|
||||
</div>
|
||||
@if (_selectedRoleType == roletypeEnum.Admin) {
|
||||
<div >
|
||||
|
|
@ -24,7 +25,7 @@
|
|||
<div class="col-12 md:col-2" style="margin: auto;">
|
||||
<label for="idUser">Users</label>
|
||||
</div>
|
||||
<div class="col-12 md:col-8">
|
||||
<div class="col-12 md:col-2">
|
||||
<kendo-dropdownlist [data]="_users"
|
||||
id="idUser"
|
||||
[defaultItem]="{ name: 'select a Type', value: null }"
|
||||
|
|
@ -35,8 +36,8 @@
|
|||
class="form-control form-control-sm input-sm">
|
||||
</kendo-dropdownlist>
|
||||
</div>
|
||||
<div class="col-12 md:col-2" align="right">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['plus']" class="k-button k-primary" (click)="AddUser()">Add to list</button>
|
||||
<div class="col-12 md:col-8" align="right">
|
||||
<button kendoButton [svgIcon]="apiService.KendoSVGIcon['plus']" class="k-button k-primary" (click)="AddUser()">Add User</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -76,7 +77,7 @@
|
|||
|
||||
<div class="card">
|
||||
<div class="grid ">
|
||||
<div class="col-12 lg:col-4">
|
||||
<div class="col-12 lg:col-3">
|
||||
<kendo-grid [data]="_gridRoles" style="height: 300px; width: 100%;"
|
||||
[(selectedKeys)]="_selectedRoles"
|
||||
[selectable]="selectableSettings"
|
||||
|
|
@ -88,20 +89,20 @@
|
|||
</kendo-grid>
|
||||
</div>
|
||||
|
||||
<div class="col-12 lg:col-8">
|
||||
<div class="col-12 lg:col-9">
|
||||
<kendo-grid [data]="_gridUsers" style="height: 300px; width: 100%;"
|
||||
[selectedKeys]="_selectedLoginIDs"
|
||||
[selectable]="selectableSettings"
|
||||
[kendoGridSelectBy]="'loginID'">
|
||||
<kendo-grid-column field="loginID" title="Login-ID" width="15%">
|
||||
</kendo-grid-column>
|
||||
<kendo-grid-column field="userName" title="Name" width="25%">
|
||||
<kendo-grid-column field="userName" title="Name" width="15%">
|
||||
</kendo-grid-column>
|
||||
<kendo-grid-column field="roleNames" title="Role-Name" width="55%">
|
||||
<kendo-grid-column field="roleNames" title="Role-Name" width="35%">
|
||||
</kendo-grid-column>
|
||||
<!--<kendo-grid-column title="Status" width="15%">
|
||||
</kendo-grid-column>-->
|
||||
<kendo-grid-command-column title="Remove" width="10%" [style]="{'text-align':'center'}">
|
||||
<kendo-grid-column title="Status" width="15%">
|
||||
</kendo-grid-column>
|
||||
<kendo-grid-command-column title="Edit/Delete" width="20%" [style]="{'text-align':'center'}">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
<button kendoGridRemoveCommand [svgIcon]="apiService.KendoSVGIcon['delete']" class="kt-delete" (click)="Remove( rowIndex )"></button>
|
||||
</ng-template>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
<ng-template kendoGridToolbarTemplate>
|
||||
<button themeColor="primary" [svgIcon]="apiService.KendoSVGIcon['plus']" kendoGridAddCommand>Add new</button>
|
||||
<input placeholder="Search in all columns..." kendoTextBox (input)="onFilter($event.target.value)" />
|
||||
<!--<button kendoButton themeColor="primary" [svgIcon]="apiService.KendoSVGIcon['save']">Approve All</button>-->
|
||||
<button kendoButton themeColor="primary" [svgIcon]="apiService.KendoSVGIcon['save']">Approve All</button>
|
||||
<button kendoGridExcelCommand type="button" [svgIcon]="apiService.KendoSVGIcon['fileExcel']" style="float:right;">Export to Excel</button>
|
||||
<button kendoGridPDFCommand [svgIcon]="apiService.KendoSVGIcon['filePdf']" style="float:right;">Export to PDF</button>
|
||||
</ng-template>
|
||||
|
|
@ -54,8 +54,8 @@
|
|||
|
||||
|
||||
@if (showModal) {
|
||||
<kendo-dialog (close)="onPopUpClose()" [minWidth]="850"
|
||||
[width]="950">
|
||||
<kendo-dialog (close)="onPopUpClose()" [minWidth]="750"
|
||||
[width]="850">
|
||||
<kendo-dialog-titlebar>
|
||||
User-Role Assignment
|
||||
</kendo-dialog-titlebar>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user