Skip to content
Snippets Groups Projects
Commit eb196830 authored by Hagen Dreßler's avatar Hagen Dreßler
Browse files

Edit html template and css style

parent b4f1a39d
No related merge requests found
<div fxLayout="column" fxLayoutAlign="center" fxLayoutGap="10">
<div *ngFor="let comment of comments">
<mat-card>
<mat-card-content>
<div class="comment-body">
<h3>{{comment.subject}}</h3><br>
<div fxLayout="row" fxLayoutAlign="center">
<div fxLayout="column" fxLayoutGap="20">
<div *ngFor="let comment of comments">
<mat-card>
<mat-card-content>
<div class="comment-body">
<h3>{{comment.subject}}</h3><br>
{{comment.body}}
{{comment.body}}
<div class="trash-icon">
<i class="material-icons" (click)="delete(comment)">delete</i>
</div>
</div>
</mat-card-content>
<mat-card-footer>
<div class="date">
<i> Submitted on {{comment.creationTimestamp | date:'dd-MM-yyyy HH:mm:ss' : format}} </i>
</div>
</mat-card-footer>
</mat-card><br>
<div *ngIf="!comment.read" class="not-check-icon" matTooltip="Is not read">
<i class="material-icons">clear</i>
</div>
<div *ngIf="comment.read" class="check-icon" matTooltip="Is read">
<i class="material-icons">check</i>
</div>
<div class="trash-icon" matTooltip="Delete">
<i class="material-icons" (click)="delete(comment)">delete</i>
</div>
</div>
</mat-card-content>
<mat-card-footer>
<div class="date">
<i> Submitted on {{comment.creationTimestamp | date:'dd-MM-yyyy HH:mm:ss' : format}} </i>
</div>
</mat-card-footer>
</mat-card><br>
</div>
<button mat-raised-button color="primary" (click)="goBack()">Back</button>
</div>
</div>
<button mat-raised-button color="primary" (click)="goBack()">Back</button>
mat-card {
min-width: 800px;
justify-content: center;
}
button {
min-width: 800px;
}
.not-check-icon {
color: red;
position: absolute;
top: 30%;
left: 96%;
border-radius: 50%;
width: 25px;
height: 25px;
background: lightcoral;
}
.check-icon {
color: green;
position: absolute;
top: 30%;
left: 96%;
border-radius: 50%;
width: 25px;
height: 25px;
background: lightgreen;
}
.trash-icon {
color: red;
position: absolute;
top: 50%;
left: 98%;
left: 96%;
border-radius: 50%;
width: 25px;
height: 25px;
background: lightcoral;
}
.date {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment