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

fix css

parent 08d76258
No related branches found
No related tags found
No related merge requests found
...@@ -113,12 +113,12 @@ ...@@ -113,12 +113,12 @@
</span> </span>
</div> </div>
<div class="main-info"> <div class="main-info">
<span style="width:50px;"> <span style="width:50px;height: 16px;">
<mat-checkbox color="primary" [checked]="row.checked" <mat-checkbox color="primary" [checked]="row.checked"
(change)="toggleRes($event,row)" (click)="$event.stopPropagation();"> (change)="toggleRes($event,row)" (click)="$event.stopPropagation();">
</mat-checkbox> </mat-checkbox>
</span> </span>
<button mat-button (click)="$event.stopPropagation();toggleMailTracking(row)" style="margin-left: -25px; color: #F99830" <button mat-icon-button (click)="$event.stopPropagation();toggleMailTracking(row)" style="margin-left: -25px; color: #F99830"
[title]="row.mailTracking === true ? lang.untrackThisMail : lang.trackThisMail"> [title]="row.mailTracking === true ? lang.untrackThisMail : lang.trackThisMail">
<mat-icon [ngClass]="[row.mailTracking === true ? 'fas fa-star' : 'far fa-star']"></mat-icon> <mat-icon [ngClass]="[row.mailTracking === true ? 'fas fa-star' : 'far fa-star']"></mat-icon>
</button> </button>
......
...@@ -86,19 +86,21 @@ ...@@ -86,19 +86,21 @@
</app-attachments-list> </app-attachments-list>
<app-indexing-form *ngIf="currentTool === 'info' && !loading" #indexingForm [groupId]="currentGroupId" <app-indexing-form *ngIf="currentTool === 'info' && !loading" #indexingForm [groupId]="currentGroupId"
[resId]="currentResourceInformations.resId" [indexingFormId]="currentResourceInformations.modelId" [resId]="currentResourceInformations.resId" [indexingFormId]="currentResourceInformations.modelId"
[mode]="'process'" [canEdit]="canEditData" [hideDiffusionList]="true" (loadingFormEndEvent)="triggerProcessAction()"></app-indexing-form> [mode]="'process'" [canEdit]="canEditData" [hideDiffusionList]="true"
(loadingFormEndEvent)="triggerProcessAction()"></app-indexing-form>
<div style="position: sticky;bottom: 0px;text-align:right;"> <div style="position: sticky;bottom: 0px;text-align:right;">
<button mat-fab *ngIf="indexingForm !== undefined && indexingForm.isResourceModified() && currentTool === 'info'" <button mat-fab
(click)="confirmModification()" color="accent" *ngIf="indexingForm !== undefined && indexingForm.isResourceModified() && currentTool === 'info'"
[title]="lang.saveModifications"> (click)="confirmModification()" color="accent" [title]="lang.saveModifications">
<mat-icon style="height:auto;font-size:20px;" class="fas fa-check"></mat-icon> <mat-icon style="height:auto;font-size:20px;" class="fas fa-check"></mat-icon>
</button> </button>
<button mat-fab [title]="lang.saveModifications" *ngIf="appDiffusionsList !== undefined && appDiffusionsList.isModified() && currentTool === 'diffusionList'" <button mat-fab [title]="lang.saveModifications"
*ngIf="appDiffusionsList !== undefined && appDiffusionsList.isModified() && currentTool === 'diffusionList'"
(click)="saveListinstance()" color="accent"> (click)="saveListinstance()" color="accent">
<mat-icon style="height:auto;font-size:20px;" class="fas fa-check"></mat-icon> <mat-icon style="height:auto;font-size:20px;" class="fas fa-check"></mat-icon>
</button> </button>
</div> </div>
</ng-container> </ng-container>
<ng-template #elseTemplate> <ng-template #elseTemplate>
<div class="openedModal"> <div class="openedModal">
...@@ -165,9 +167,11 @@ ...@@ -165,9 +167,11 @@
<div class="title-divider"></div> <div class="title-divider"></div>
</div> </div>
<div class="content"> <div class="content">
<button mat-button class="categoryLabel" (click)="toggleFollow()"> <button mat-icon-button
[title]="this.resourceFollowed ? lang.untrackThisMail:lang.trackThisMail"
class="categoryLabel" (click)="toggleFollow()">
<mat-icon class="followIcon {{this.resourceFollowed ? 'fas':'far'}} fa-star" <mat-icon class="followIcon {{this.resourceFollowed ? 'fas':'far'}} fa-star"
style="font-size: 20px;"></mat-icon> style="font-size: 20px;"></mat-icon>
</button> </button>
<div class="content-item" *ngIf="this.currentResourceInformations.priority !== undefined"> <div class="content-item" *ngIf="this.currentResourceInformations.priority !== undefined">
<b><i class="fas fa-flag" [style.color]="this.currentResourceInformations.priorityColor" <b><i class="fas fa-flag" [style.color]="this.currentResourceInformations.priorityColor"
...@@ -256,18 +260,20 @@ ...@@ -256,18 +260,20 @@
</app-attachments-list> </app-attachments-list>
<app-indexing-form *ngIf="modal.id === 'info' && !loading" #indexingForm [groupId]="currentGroupId" <app-indexing-form *ngIf="modal.id === 'info' && !loading" #indexingForm [groupId]="currentGroupId"
[indexingFormId]="currentResourceInformations.modelId" [resId]="currentResourceInformations.resId" [indexingFormId]="currentResourceInformations.modelId" [resId]="currentResourceInformations.resId"
[mode]="'process'" [canEdit]="canEditData" [hideDiffusionList]="true" (loadingFormEndEvent)="triggerProcessAction()"> [mode]="'process'" [canEdit]="canEditData" [hideDiffusionList]="true"
(loadingFormEndEvent)="triggerProcessAction()">
</app-indexing-form> </app-indexing-form>
<div style="position: sticky;bottom: 0px;text-align:right;padding:15px;"> <div style="position: sticky;bottom: 0px;text-align:right;padding:15px;">
<button mat-fab *ngIf="indexingForm !== undefined && indexingForm.isResourceModified() && modal.id === 'info'" <button mat-fab
(click)="confirmModification()" color="accent" *ngIf="indexingForm !== undefined && indexingForm.isResourceModified() && modal.id === 'info'"
[title]="lang.saveModifications"> (click)="confirmModification()" color="accent" [title]="lang.saveModifications">
<mat-icon style="height:auto;font-size:20px;" class="fas fa-check"></mat-icon> <mat-icon style="height:auto;font-size:20px;" class="fas fa-check"></mat-icon>
</button> </button>
<button mat-fab [title]="lang.saveModifications" *ngIf="appDiffusionsList !== undefined && appDiffusionsList.isModified() && modal.id === 'diffusionList'" <button mat-fab [title]="lang.saveModifications"
*ngIf="appDiffusionsList !== undefined && appDiffusionsList.isModified() && modal.id === 'diffusionList'"
(click)="saveListinstance()" color="accent"> (click)="saveListinstance()" color="accent">
<mat-icon style="height:auto;font-size:20px;" class="fas fa-check"></mat-icon> <mat-icon style="height:auto;font-size:20px;" class="fas fa-check"></mat-icon>
</button> </button>
</div> </div>
</div> </div>
</div> </div>
\ No newline at end of file
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