UNPKG

2.03 kBHTMLView Raw
1<div class="header-container">
2 <div class="product-overview">
3 <div class="product-id">
4
5 <va-icon [iconUrl]="iconUrl" [name]="title" [diameter]="120"></va-icon>
6
7 <div class="product-id-text">
8
9 <h1 [ngClass]="{'stencil-title stencil-shimmer': !title, 'product-title': title}">
10 {{ title }}
11 </h1>
12
13 <span [ngClass]="{'stencil-tagline stencil-shimmer': !title && !tagline, 'tagline': tagline}">
14 {{ tagline }}
15 </span>
16
17 <div *ngIf="prerequisite" class="prerequisite">
18 <span class="requires-text">Requires </span>
19 <span>{{ prerequisite }}</span>
20 </div>
21
22 <mat-chip-list>
23 <mat-chip *ngFor="let chip of chipLabels">{{ chip }}</mat-chip>
24 </mat-chip-list>
25
26 </div>
27 </div>
28
29 <div class="pricing">
30
31 <button *ngIf="showAction" mat-raised-button class="app-enable-button" [disabled]="!actionEnabled" (click)="onActionSelected()">
32 {{ actionLabel }}
33 </button>
34
35 <div *ngIf="prerequisiteLabel" class="addon-enable" (click)="onPrerequisiteSelected()">
36 Enabled with {{prerequisiteLabel}}
37 </div>
38
39 <div *ngIf="showPricing" class="price-box">
40 <div *ngIf="pricing?.prices?.length" class="wholesale-price">{{ pricingLabel }}
41 <div *ngIf="showPricingModel(billedProduct) && hasVerifiedContract"
42 class="pricing-model"
43 matTooltip="{{getPricingModelTooltips(billedProduct.billingModel)}}">({{ billedProduct.billingModel }})
44 </div>
45 </div>
46 <va-pricing [pricing]="pricing" [billedProduct]="billedProduct" [hasVerifiedContract]="hasVerifiedContract" [loaded]="loaded"></va-pricing>
47 </div>
48
49 <p *ngIf="pricingActionEnabled" class="pricing-action-container">
50 <a (click)="pricingActionSelected.emit()"><mat-icon>local_offer</mat-icon>{{ pricingActionLabel }}</a>
51 </p>
52
53 </div>
54
55 </div>
56</div>