Newer
Older
<mat-sidenav-container class="maarch-container">
<mat-sidenav-content>
<div class="bg-head">
<div class="bg-head-title" [class.customContainerRight]="appService.getViewMode()">
<div class="bg-head-title-label">

Alex ORLUC
committed
<header-left></header-left>
</div>
<div class="bg-head-title-tool">
<header-right></header-right>
</div>
</div>
<div class="bg-head-content" [class.fullContainer]="appService.getViewMode()">
<div class="container" [class.fullContainer]="appService.getViewMode()">

Alex ORLUC
committed
<div class="container-content" style="display: flex;flex-direction: column;">
<div class="loading" *ngIf="loading">
<mat-spinner style="margin:auto;"></mat-spinner>
</div>

Alex ORLUC
committed
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<div style="display: grid;grid-template-columns: repeat(3, 1fr);gap: 20px;padding:20px;">
<mat-card class="countCard" matRipple>
<div mat-card-avatar class="fa fa-user avatarCount">
</div>
<span style="font-size: 40px;">45</span>
Utlisateurs
</mat-card>
<mat-card class="countCard" matRipple>
<div mat-card-avatar class="fa fa-users avatarCount">
</div>
<span style="font-size: 40px;">8</span>
Groupes
</mat-card>
<mat-card class="countCard" matRipple>
<div mat-card-avatar class="fa fa-sitemap avatarCount">
</div>
<span style="font-size: 40px;">21</span>
Entités
</mat-card>
</div>
<mat-divider></mat-divider>
<mat-form-field style="padding:10px;font-size: 10px;width: 250px !important;">
<input matInput #searchServiceInput [formControl]="searchService" [placeholder]="lang.filterBy">
</mat-form-field>
<!--<mat-list role="list" style="display: grid;grid-template-columns: repeat(3, 1fr);gap: 20px;">
<mat-list-item role="listitem" *ngFor="let administration of administrations | sortBy : 'label'">
<mat-icon mat-list-icon class="{{administration.style}}" style="font-size: 30px;"></mat-icon>
<p matLine style="font-size: 24px;">{{administration.label}}</p>
</mat-list-item>
</mat-list>-->
<div style="margin: 20px;display: grid;grid-template-columns: repeat(4, 1fr);gap: 20px;padding:20px;padding-top:0px;margin-top:0px;">
<button mat-button *ngFor="let administration of filteredAdministrations | async | sortBy : 'label'" [title]="administration.comment" style="font-size:20px;height:80px;" (click)="goToSpecifiedAdministration(administration)">
<div style="display: flex;align-items: center;gap: 10px;">
<i class="{{administration.style}} fa-4x avatarCount2"></i>
<span class="countLabel" style="white-space: initial;text-align: left;">
{{administration.label}}
</span>
</div>
</button>
</div>
<!--<button mat-button *ngFor="let administration of administrations">
<div style="display: flex;flex-direction: column;">
<i class="{{administration.style}} fa-4x"></i>
<span>
{{administration.label}}
</span>
<span>
{{administration.comment}}
</span>
</div>
</button>-->
<!--<div *ngIf="!loading" class="row adminArea">
<div class="col-md-6 col-sm-12 col-xs-12 adminArea_1" *ngIf="organisationServices">
<div class="adminArea-label">{{lang.organization}}</div>
<button class="col-md-4 col-xs-6 adminArea-button"
mat-button color="primary" matTooltip="{{modService.comment}}" *ngFor="let modService of organisationServices | sortBy : 'label'"
(click)="goToSpecifiedAdministration(modService)">
<i class="{{modService.style}} fa-4x"></i>
<br />{{modService.label}}</button>
<div class="col-md-6 col-sm-12 col-xs-12 adminArea_2" *ngIf="productionServices">
<div class="adminArea-label">{{lang.production}}</div>
<button class="col-md-4 col-xs-6 adminArea-button"
mat-button color="primary" matTooltip="{{modService.comment}}" *ngFor="let modService of productionServices | sortBy : 'label'"
(click)="goToSpecifiedAdministration(modService)">
<i class="{{modService.style}} fa-4x"></i>
<br />{{modService.label}}</button>
<div class="col-md-6 col-sm-12 col-xs-12 adminArea_3" *ngIf="classementServices">
<div class="adminArea-label">{{lang.classifying}}</div>
<button class="col-md-4 col-xs-6 adminArea-button"
mat-button color="primary" matTooltip="{{modService.comment}}" *ngFor="let modService of classementServices | sortBy : 'label'"
(click)="goToSpecifiedAdministration(modService)">
<i class="{{modService.style}} fa-4x"></i>
<br />{{modService.label}}</button>
<div class="col-md-6 col-sm-12 col-xs-12 adminArea_4" *ngIf="supervisionServices">
<div class="adminArea-label">{{lang.supervision}}</div>
<ng-container>
<button class="col-md-4 col-xs-6 adminArea-button"
mat-button color="primary" matTooltip="{{modService.comment}}" *ngFor="let modService of supervisionServices | sortBy : 'label'"
(click)="goToSpecifiedAdministration(modService)">
<i class="{{modService.style}} fa-4x"></i>
<br />{{modService.label}}</button>

Alex ORLUC
committed
</div>-->
</div>
</div>
</mat-sidenav-content>

Alex ORLUC
committed
<mat-sidenav #snav2 [fixedInViewport]="appService.getViewMode()" position='end'
[opened]="appService.getViewMode() ? false : false" [mode]="appService.getViewMode() ? 'over' : 'side'"
class="panel-right" style="overflow-x:hidden;" [ngStyle]="{'width': appService.getViewMode() ? '80%' : '30%'}"
autoFocus="false">
</mat-sidenav>

Alex ORLUC
committed
</mat-sidenav-container>