Skip to content

Commit

Permalink
Merge branch 'master' into angular-11
Browse files Browse the repository at this point in the history
  • Loading branch information
chunweii authored Sep 18, 2023
2 parents d2ad008 + 564b8ca commit 7a4a36e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ <h3 class="mat-title">Disputes</h3>
<form [formGroup]="tutorResponseForm" #tutorForm="ngForm" (ngSubmit)="submitTutorResponseForm(tutorForm)">
<div class="timeline-comment">
<div class="timeline-header">
<span style="vertical-align: middle; margin-left: 5px"> Post your response here. </span>
<span> Post your response here. </span>
<button mat-button style="float: right" *ngIf="!isEditing" (click)="changeToEditMode()">Edit</button>
</div>
<div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<form [formGroup]="newTeamResponseForm" #myForm="ngForm" (ngSubmit)="submitNewTeamResponse(myForm)">
<div class="timeline-comment">
<div class="timeline-header">
<span style="vertical-align: middle; margin-left: 5px"> Post your team's response here. </span>
<span> Post your team's response here. </span>
</div>

<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
color: #586069;
height: 35px;
padding: 5px 10px;
display: flex;
align-items: center;
justify-content: space-between;
}

.timeline-comment {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ <h3 class="mat-title">Tester's Response</h3>
<form [formGroup]="testerResponseForm" (ngSubmit)="submitTesterResponseForm()">
<div class="timeline-comment">
<div class="timeline-header">
<span style="vertical-align: middle; margin-left: 5px" *ngIf="this.isNewResponse()"> Please verify the following item(s). </span>
<span style="vertical-align: middle; margin-left: 5px" *ngIf="!this.isNewResponse()"> <strong>Tester</strong> responded. </span>
<span *ngIf="this.isNewResponse()"> Please verify the following item(s). </span>
<span *ngIf="!this.isNewResponse()"> <strong>Tester</strong> responded. </span>
<button mat-button style="float: right" *ngIf="!isEditing" (click)="changeToEditMode()">Edit</button>
</div>
<div>
Expand Down
4 changes: 4 additions & 0 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ body {
color: #586069;
height: 35px;
padding: 5px;
display: flex;
align-items: center;
justify-content: space-between;
padding-left: 10px;
}

.timeline-comment {
Expand Down

0 comments on commit 7a4a36e

Please sign in to comment.