Skip to content

Commit

Permalink
Use a fieldset to layout the request info
Browse files Browse the repository at this point in the history
  • Loading branch information
little9 committed Nov 8, 2023
1 parent 2759143 commit a4afb84
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion cloudapp/src/app/main/main.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
</button>
</mat-card-title-group>
<ng-container *ngFor="let request of resource.request">
<fieldset>
<legend>Request {{ request.id }}</legend>

<mat-card-content>
<dl *ngFor="let copy of resource.location.copy">
<dt><strong>RMST</strong></dt>
Expand All @@ -44,8 +47,10 @@
</dl>

<dl>
<div *ngIf="request.description">
<dt><strong>Description</strong></dt>
<dd>{{ request.description }}</dd>
</div>
<dt><strong>Pickup Location</strong></dt>
<dd>{{ request.destination.desc }}</dd>
<dt><strong>Requester</strong></dt>
Expand All @@ -56,7 +61,9 @@
</div>
</dl>
</mat-card-content>
</ng-container>
</fieldset>
<br>
</ng-container>
</mat-card>
</div>
</div>
Expand Down

0 comments on commit a4afb84

Please sign in to comment.