Commit 6a96e1a4 authored by Mansur Shaik's avatar Mansur Shaik
Browse files

UI changes in ticket view page

1 merge request!184Feature/new UI changes
Showing with 10 additions and 10 deletions
+10 -10
...@@ -104,8 +104,7 @@ ...@@ -104,8 +104,7 @@
position: relative; position: relative;
} }
.desc-content{ .desc-content{
/* width: 41%; */ width: 100%;
width: 37rem;
word-break: break-all; word-break: break-all;
} }
...@@ -135,6 +134,8 @@ ...@@ -135,6 +134,8 @@
.textData { .textData {
margin-top: 2%; margin-top: 2%;
word-wrap: break-word; word-wrap: break-word;
max-height: 400px;
overflow-y: auto;
} }
.resolutionComments { .resolutionComments {
font-size: 16px; font-size: 16px;
......
...@@ -197,11 +197,11 @@ ...@@ -197,11 +197,11 @@
</div> </div>
<div class="first-row-container mt3"> <div class="first-row-container mt3">
<div class="first-container"> <div class="first-container">
<mat-label class="label-text">Raiser Email</mat-label> <mat-label class="label-text">Email</mat-label>
<h3 class="textData">{{ ticketDetails?.email }}</h3> <h3 class="textData">{{ ticketDetails?.email }}</h3>
</div> </div>
<div class="first-container"> <div class="first-container">
<mat-label class="label-text">Raiser Phone Number</mat-label> <mat-label class="label-text">Phone Number</mat-label>
<h3 class="textData">{{ ticketDetails?.phone}}</h3> <h3 class="textData">{{ ticketDetails?.phone}}</h3>
</div> </div>
</div> </div>
...@@ -285,7 +285,7 @@ ...@@ -285,7 +285,7 @@
class="resolution-class"> class="resolution-class">
<!-- <mat-form-field> --> <!-- <mat-form-field> -->
<mat-grid-list cols="6" rowHeight="10rem" [gutterSize]="'100px'"> <mat-grid-list cols="6" rowHeight="10rem" [gutterSize]="'100px'">
<mat-grid-tile colspan="3" rowspan="1" style="position: relative;"> <mat-grid-tile colspan="3" rowspan="1" style="position: relative; min-width: 100%;">
<mat-form-field class="resolution-form"> <mat-form-field class="resolution-form">
<mat-label>Enter resolution description</mat-label> <mat-label>Enter resolution description</mat-label>
<textarea formControlName="description" matInput cdkTextareaAutosize <textarea formControlName="description" matInput cdkTextareaAutosize
...@@ -300,7 +300,7 @@ ...@@ -300,7 +300,7 @@
</mat-grid-tile> </mat-grid-tile>
</mat-grid-list> </mat-grid-list>
<mat-grid-list cols="6" rowHeight="26px" [gutterSize]="'100px'"> <mat-grid-list cols="6" rowHeight="26px" [gutterSize]="'100px'">
<mat-grid-tile colspan="3" rowspan="1"> <mat-grid-tile colspan="3" rowspan="1" style="min-width: 100%;">
<mat-label class="attachment-label left">Attach file (s)</mat-label> <mat-label class="attachment-label left">Attach file (s)</mat-label>
<mat-label class="attachment-label right" (click)="fileupload.click()">+ Add attachments</mat-label> <mat-label class="attachment-label right" (click)="fileupload.click()">+ Add attachments</mat-label>
<input hidden id="fileUpload" #fileupload formControlName="attachments" type="file" <input hidden id="fileUpload" #fileupload formControlName="attachments" type="file"
...@@ -308,7 +308,7 @@ ...@@ -308,7 +308,7 @@
</mat-grid-tile> </mat-grid-tile>
</mat-grid-list> </mat-grid-list>
<mat-grid-list cols="6" rowHeight="8rem" [gutterSize]="'100px'"> <mat-grid-list cols="6" rowHeight="8rem" [gutterSize]="'100px'">
<mat-grid-tile colspan="3" rowspan="1"> <mat-grid-tile colspan="3" rowspan="1" style="min-width: 100%;">
<mat-card class="attachment-view"> <mat-card class="attachment-view">
<!-- if no files are available --> <!-- if no files are available -->
<mat-card-content class="empty-content-class" *ngIf="files.length == 0">Supports only PDF, JPEG, <mat-card-content class="empty-content-class" *ngIf="files.length == 0">Supports only PDF, JPEG,
...@@ -338,9 +338,8 @@ ...@@ -338,9 +338,8 @@
<div class="mt2"> <div class="mt2">
<mat-label class="label-text">Resolution Attachments (s)</mat-label> <mat-label class="label-text">Resolution Attachments (s)</mat-label>
<mat-card-content style = "padding-left: 0px;" *ngIf="ticketDetails?.assigneeTicketAttachment?.length > 0"> <mat-card-content style = "padding-left: 0px;" *ngIf="ticketDetails?.assigneeTicketAttachment?.length > 0">
<div *ngFor="let attachment of ticketDetails?.assigneeTicketAttachment; let i = index" class="preview" style="width:36rem"> <div *ngFor="let attachment of ticketDetails?.assigneeTicketAttachment; let i = index" class="preview" >
<div class="layout" style="width: 36rem; <div class="layout" style="overflow-wrap: anywhere;">
overflow-wrap: anywhere;">
<span style="width:30rem">{{ attachment.attachmentName }}</span> <span style="width:30rem">{{ attachment.attachmentName }}</span>
<div> <div>
<a target="_blank" class="action-buttons" href={{attachment.attachment_url}}><span>view</span></a> <a target="_blank" class="action-buttons" href={{attachment.attachment_url}}><span>view</span></a>
......
Supports Markdown
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