aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/components/ui/popover/popover-content.component.html
blob: 6d76f0ad06257b42afd131e03cabc53406c55a93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<div #popoverDiv class="popover {{ effectivePlacement }}"
     [style.top]="top + 'px'"
     [style.left]="left + 'px'"
     [class.in]="isIn"
     [class.fade]="animation"
     style="display: block"
     role="popover"
     [ngClass]="{'hide-arrow':hideArrow}">
    <div [hidden]="!closeOnMouseOutside" class="virtual-area"></div>
    <div class="arrow" *ngIf="!hideArrow"></div>
    <div class="popover-header">
        <span class="title">{{ title }}</span>
        <span class="close-button" (click)="popover.hide()"></span>
    </div>
    <ng-content></ng-content>
    <div class="popover-footer">
        <button *ngFor="let buttonName of buttonsNames"
                class="tlv-btn {{buttons[buttonName].cssClass}}"
                [disabled] = "buttons[buttonName].getDisabled && buttons[buttonName].getDisabled()"
                (click) = "buttons[buttonName].callback()">{{buttons[buttonName].text}}</button>
    </div>
</div>