Skip to content

Commit 4c03f1d

Browse files
committed
Update multi-section form
1 parent 2ddac42 commit 4c03f1d

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

cloudapp/src/app/external/external.component.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ <h2>HathiTrust Bibliographic API</h2>
2626
</mat-form-field>
2727
</section>
2828
</form>
29-
30-
<button mat-flat-button type="button" color="primary" (click)="search(identifierType.value, identifier.value)">Search</button>
31-
29+
<div class="cloudapp-actions">
30+
<button mat-flat-button type="button" color="primary" (click)="search(identifierType.value, identifier.value)">Search</button>
31+
</div>
3232

3333
<mat-card *ngIf="record">
3434
<mat-card-header>
@@ -49,6 +49,7 @@ <h2>HathiTrust Bibliographic API</h2>
4949
</mat-card>
5050
</div>
5151

52+
<hr>
5253

5354
<div class="section" *ngIf="authToken">
5455
<h2>HathiTrust Data API</h2>
@@ -59,7 +60,9 @@ <h2>HathiTrust Data API</h2>
5960
<input matInput #data_api_identifier value="mdp.39015000000128">
6061
</mat-form-field>
6162
</section>
62-
<button mat-flat-button type="button" color="primary" (click)="dataApi(data_api_identifier.value)">Retrieve Metadata</button>
63+
<div class="cloudapp-actions">
64+
<button mat-flat-button type="button" color="primary" (click)="dataApi(data_api_identifier.value)">Retrieve Metadata</button>
65+
</div>
6366
<mat-card *ngIf="images.length>0">
6467
<mat-card-header>
6568
<mat-card-title>HathiTrust Page Scans</mat-card-title>

cloudapp/src/app/external/external.component.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
.section {
2-
border: 1px grey solid;
3-
padding: 5px 7px;
4-
margin-bottom: 10px;
5-
}
6-
71
.settings-section {
82
display: flex;
93
align-content: center;

0 commit comments

Comments
 (0)