Skip to content
Snippets Groups Projects
Commit e3f3ee13 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #13268 TIME 0:10 fix build prod

parent a9ca1a9b
No related branches found
No related tags found
No related merge requests found
......@@ -29,47 +29,7 @@
<mat-spinner style="margin:auto;"></mat-spinner>
</div>
<mat-card *ngIf="!loading" class="card-app-content">
<div class="row" style="margin:0px;">
<div class="col-md-6 col-xs-6">
<mat-form-field>
<input matInput [formControl]="adminService.getFilterField()" placeholder="{{'lang.filterBy' | translate}}">
</mat-form-field>
</div>
<div class="col-md-6 col-xs-6">
<mat-paginator #paginator [length]="100" [hidePageSize]="true" [pageSize]="10">
</mat-paginator>
</div>
</div>
<mat-table #table [dataSource]="adminService.getDataSource()" matSortDisableClear matSort>
<ng-container matColumnDef="group_id">
<mat-header-cell *matHeaderCellDef mat-sort-header
[class.hide-for-mobile]="appService.getViewMode()">{{'lang.id' | translate}}</mat-header-cell>
<mat-cell *matCellDef="let element" [class.hide-for-mobile]="appService.getViewMode()">
{{element.group_id}} </mat-cell>
</ng-container>
<ng-container matColumnDef="group_desc">
<mat-header-cell *matHeaderCellDef mat-sort-header style="flex:2;">{{'lang.description' | translate}}
</mat-header-cell>
<mat-cell *matCellDef="let element" style="flex:2;">
{{element.group_desc}} </mat-cell>
</ng-container>
<ng-container matColumnDef="actions">
<mat-header-cell *matHeaderCellDef style="flex:1;"></mat-header-cell>
<mat-cell *matCellDef="let element" style="justify-content: flex-end;flex:1;">
<button mat-icon-button color="warn" matTooltip="{{'lang.delete' | translate}}"
(click)="$event.stopPropagation();preDelete(element)">
<mat-icon class="fa fa-trash-alt fa-2x" aria-hidden="true"></mat-icon>
</button>
</mat-cell>
</ng-container>
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
<mat-row *matRowDef="let row; columns: displayedColumns;"
routerLink="/administration/groups/{{row.id}}" style="cursor:pointer;"
matTooltip="{{'lang.view' | translate}}"></mat-row>
</mat-table>
<div class="mat-paginator"
style="min-height:48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;">
{{groups.length}} {{'lang.groups' | translate}}</div>
</mat-card>
</div>
</div>
......
import { Component, OnInit } from '@angular/core';
import { AppService } from '@service/app.service';
@Component({
selector: 'app-connections-administration',
templateUrl: './connections-administration.component.html',
styleUrls: ['./connections-administration.component.scss']
selector: 'app-connections-administration',
templateUrl: './connections-administration.component.html',
styleUrls: ['./connections-administration.component.scss']
})
export class ConnectionsAdministrationComponent implements OnInit {
loading: boolean = true;
loading: boolean = true;
constructor() { }
constructor(
public appService: AppService,
) { }
ngOnInit(): void {
}
ngOnInit(): void {
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment