|
1 | | -<section class="request-options-panel"> |
2 | | - <header class="request-options-header"> |
3 | | - <h5>Presentation Options</h5> |
4 | | - <p>Decide how wallets should respond and which transport is used.</p> |
5 | | - </header> |
| 1 | +<mat-card> |
| 2 | + <mat-card-header> |
| 3 | + <mat-card-title>Presentation Options</mat-card-title> |
| 4 | + <mat-card-subtitle> |
| 5 | + Configure the options for your presentation request. |
| 6 | + </mat-card-subtitle> |
| 7 | + </mat-card-header> |
6 | 8 |
|
7 | | - <div class="request-options-grid"> |
8 | | - <div class="request-options-row"> |
9 | | - <div class="request-options-label"> |
10 | | - <span>Presentation Profile</span> |
11 | | - <p class="request-options-helper"> |
12 | | - Pick the protocol the verifier expects from the wallet. |
13 | | - </p> |
| 9 | + <mat-card-content> |
| 10 | + <div class="request-options-grid"> |
| 11 | + <div class="request-options-row"> |
| 12 | + <div class="request-options-label"> |
| 13 | + <span>Presentation Profile</span> |
| 14 | + <p class="request-options-helper"> |
| 15 | + Defines the rules and constraints of the presentation |
| 16 | + </p> |
| 17 | + </div> |
| 18 | + <div class="request-options-control"> |
| 19 | + <mat-button-toggle-group |
| 20 | + [formControl]="presentationProfileControl" |
| 21 | + (valueChange)="profileChange.emit($event)" |
| 22 | + aria-label="Presentation Profile" |
| 23 | + > |
| 24 | + <mat-button-toggle value="openid4vp">OpenID4VP</mat-button-toggle> |
| 25 | + <mat-button-toggle value="haip">HAIP</mat-button-toggle> |
| 26 | + </mat-button-toggle-group> |
| 27 | + </div> |
14 | 28 | </div> |
15 | | - <div class="request-options-control"> |
16 | | - <mat-button-toggle-group |
17 | | - [formControl]="presentationProfileControl" |
18 | | - (valueChange)="profileChange.emit($event)" |
19 | | - aria-label="Presentation Profile" |
20 | | - > |
21 | | - <mat-button-toggle value="openid4vp">OpenID4VP</mat-button-toggle> |
22 | | - <mat-button-toggle value="haip">HAIP</mat-button-toggle> |
23 | | - </mat-button-toggle-group> |
24 | | - </div> |
25 | | - </div> |
26 | 29 |
|
27 | | - <div class="request-options-row"> |
28 | | - <div class="request-options-label"> |
29 | | - <span>Request URI Method</span> |
30 | | - <p class="request-options-helper"> |
31 | | - Choose how the wallet fetches the request URI from the verifier. |
32 | | - </p> |
33 | | - </div> |
34 | | - <div class="request-options-control"> |
35 | | - <mat-button-toggle-group |
36 | | - [formControl]="requestUriMethodControl" |
37 | | - (valueChange)="requestUriMethodChange.emit($event)" |
38 | | - aria-label="Request URI Method" |
39 | | - > |
40 | | - <mat-button-toggle value="get">GET</mat-button-toggle> |
41 | | - <mat-button-toggle value="post">POST</mat-button-toggle> |
42 | | - </mat-button-toggle-group> |
| 30 | + <div class="request-options-row"> |
| 31 | + <div class="request-options-label"> |
| 32 | + <span>Request URI Method</span> |
| 33 | + <p class="request-options-helper"> |
| 34 | + Choose how the wallet fetches the authorization request |
| 35 | + </p> |
| 36 | + </div> |
| 37 | + <div class="request-options-control"> |
| 38 | + <mat-button-toggle-group |
| 39 | + [formControl]="requestUriMethodControl" |
| 40 | + (valueChange)="requestUriMethodChange.emit($event)" |
| 41 | + aria-label="Request URI Method" |
| 42 | + > |
| 43 | + <mat-button-toggle value="get">GET</mat-button-toggle> |
| 44 | + <mat-button-toggle value="post">POST</mat-button-toggle> |
| 45 | + </mat-button-toggle-group> |
| 46 | + </div> |
43 | 47 | </div> |
44 | | - </div> |
45 | 48 |
|
46 | | - <div class="request-options-row"> |
47 | | - <div class="request-options-label"> |
48 | | - <span>Authorization URI Scheme</span> |
49 | | - <p class="request-options-helper"> |
50 | | - Define the deep-link scheme wallets should launch when invoking |
51 | | - authorization. |
52 | | - </p> |
53 | | - </div> |
54 | | - <div class="request-options-control"> |
55 | | - <mat-form-field appearance="outline" class="config-option-field"> |
56 | | - <mat-label>Authorization URI Scheme</mat-label> |
57 | | - <input |
58 | | - matInput |
59 | | - placeholder="scheme://" |
60 | | - [formControl]="authorizationSchemeControl" |
61 | | - autocomplete="off" |
62 | | - (input)="authorizationSchemeChange.emit(authorizationSchemeControl.value)" |
63 | | - /> |
64 | | - </mat-form-field> |
| 49 | + <div class="request-options-row"> |
| 50 | + <div class="request-options-label"> |
| 51 | + <span>Authorization URI Scheme</span> |
| 52 | + <p class="request-options-helper"> |
| 53 | + Specify a custom URI for the authorization request |
| 54 | + </p> |
| 55 | + </div> |
| 56 | + <div class="request-options-control"> |
| 57 | + <mat-form-field appearance="outline" class="config-option-field"> |
| 58 | + <mat-label>Authorization URI Scheme</mat-label> |
| 59 | + <input |
| 60 | + matInput |
| 61 | + placeholder="scheme://" |
| 62 | + [formControl]="authorizationSchemeControl" |
| 63 | + autocomplete="off" |
| 64 | + (input)=" |
| 65 | + authorizationSchemeChange.emit(authorizationSchemeControl.value) |
| 66 | + " |
| 67 | + /> |
| 68 | + </mat-form-field> |
| 69 | + </div> |
65 | 70 | </div> |
66 | 71 | </div> |
67 | | - </div> |
68 | | -</section> |
| 72 | + </mat-card-content> |
| 73 | +</mat-card> |
0 commit comments