[Library]: Modal: add dashboard btn theme classes

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57638 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2019-11-19 14:23:17 +00:00
parent a6cfa14f32
commit f1d9982635
1 changed files with 5 additions and 5 deletions

View File

@ -27,21 +27,21 @@ import {Component, ViewEncapsulation, ElementRef, EventEmitter, Output, Input} f
<div [ngClass]="(choice)?'uk-width-1-2':'uk-width-1-1'"> <div [ngClass]="(choice)?'uk-width-1-2':'uk-width-1-1'">
<div *ngIf="okButtonLeft" class="uk-text-right" [hidden]=!alertFooter> <div *ngIf="okButtonLeft" class="uk-text-right" [hidden]=!alertFooter>
<span [hidden]=!okButton> <span [hidden]=!okButton>
<button class="uk-button uk-button-default" (click)="ok()">{{okButtonText}}</button> <button class="uk-button md-btn uk-button-default" (click)="ok()">{{okButtonText}}</button>
</span> </span>
<span [hidden]=!cancelButton> <span [hidden]=!cancelButton>
<button class="uk-button uk-button-default uk-margin-small-left" <button class="uk-button md-btn uk-button-default uk-margin-small-left"
(click)="cancel()">{{cancelButtonText}}</button> (click)="cancel()">{{cancelButtonText}}</button>
</span> </span>
</div> </div>
<div *ngIf="!okButtonLeft" class="uk-text-right" [hidden]=!alertFooter> <div *ngIf="!okButtonLeft" class="uk-text-right" [hidden]=!alertFooter>
<span [hidden]=!cancelButton> <span [hidden]=!cancelButton>
<button class="uk-button uk-button-default uk-margin-small-right" <button class="uk-button md-btn uk-button-default uk-margin-small-right"
(click)="cancel()">{{cancelButtonText}}</button> (click)="cancel()">{{cancelButtonText}}</button>
</span> </span>
<span [hidden]=!okButton> <span [hidden]=!okButton>
<button *ngIf="okDisabled" class="uk-button uk-button-default ignoreCommunityPanelBackground" disabled>{{okButtonText}}</button> <button *ngIf="okDisabled" class="uk-button md-btn uk-button-default ignoreCommunityPanelBackground" disabled>{{okButtonText}}</button>
<button *ngIf="!okDisabled" class="uk-button portal-button ignoreCommunityPanelBackground" (click)="ok()">{{okButtonText}}</button> <button *ngIf="!okDisabled" class="uk-button md-btn md-btn-primary portal-button ignoreCommunityPanelBackground" (click)="ok()">{{okButtonText}}</button>
</span> </span>
</div> </div>
</div> </div>