aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/components/modal/modal.component.html
blob: cc411bc75187c4d1e31e02912f128c9226f4819d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<div class="custom-modal {{input.size}}">
    <div class="ng2-modal-content">
        <div class="ng2-modal-header">
            <span class="title">{{ input.title }}</span>
            <span class="close-button" (click)="close()"></span>
        </div>
        <div class="ng2-modal-body" >{{input.content}}</div>
        <div class="ng2-modal-footer">
            <button *ngFor="let button of input.buttons"
                    class="tlv-btn {{button.cssClass}}"
                    [disabled] = "button.getDisabled && button.getDisabled()"
                    (click) = "button.callback()">{{button.text}}</button>
        </div>
    </div>
</div>
<div class="modal-background"></div>