diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-14 16:39:37 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-14 16:39:37 +0200 |
commit | 266947e5efc7ff30b0020beb5a74e4d4fc696fa5 (patch) | |
tree | 66c2e0f463e373d971d290d9ff3b07b9528ebf27 /client/src/app/modal/custom-modal.component.html | |
parent | 251a82ffbb62c575d7aeb260dff22409dae39d73 (diff) | |
download | PeerTube-266947e5efc7ff30b0020beb5a74e4d4fc696fa5.tar.gz PeerTube-266947e5efc7ff30b0020beb5a74e4d4fc696fa5.tar.zst PeerTube-266947e5efc7ff30b0020beb5a74e4d4fc696fa5.zip |
Refactor modal buttons style
Diffstat (limited to 'client/src/app/modal/custom-modal.component.html')
-rw-r--r-- | client/src/app/modal/custom-modal.component.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/modal/custom-modal.component.html b/client/src/app/modal/custom-modal.component.html index 06ecc2743..cdfbfbb6a 100644 --- a/client/src/app/modal/custom-modal.component.html +++ b/client/src/app/modal/custom-modal.component.html | |||
@@ -3,17 +3,17 @@ | |||
3 | <h4 class="modal-title">{{title}}</h4> | 3 | <h4 class="modal-title">{{title}}</h4> |
4 | <my-global-icon *ngIf="close" iconName="cross" aria-label="Close" role="button" (click)="onCloseClick()"></my-global-icon> | 4 | <my-global-icon *ngIf="close" iconName="cross" aria-label="Close" role="button" (click)="onCloseClick()"></my-global-icon> |
5 | </div> | 5 | </div> |
6 | 6 | ||
7 | <div class="modal-body" [innerHTML]="content"></div> | 7 | <div class="modal-body" [innerHTML]="content"></div> |
8 | 8 | ||
9 | <div *ngIf="hasCancel() || hasConfirm()" class="modal-footer inputs"> | 9 | <div *ngIf="hasCancel() || hasConfirm()" class="modal-footer inputs"> |
10 | <input | 10 | <input |
11 | *ngIf="hasCancel()" type="button" role="button" value="{{cancel.value}}" class="action-button action-button-cancel" | 11 | *ngIf="hasCancel()" type="button" role="button" value="{{cancel.value}}" class="peertube-button grey-button" |
12 | (click)="onCancelClick()" (key.enter)="onCancelClick()" | 12 | (click)="onCancelClick()" (key.enter)="onCancelClick()" |
13 | > | 13 | > |
14 | 14 | ||
15 | <input | 15 | <input |
16 | *ngIf="hasConfirm()" type="button" role="button" value="{{confirm.value}}" class="action-button action-button-confirm" | 16 | *ngIf="hasConfirm()" type="button" role="button" value="{{confirm.value}}" class="peertube-button orange-button" |
17 | (click)="onConfirmClick()" (key.enter)="onConfirmClick()" | 17 | (click)="onConfirmClick()" (key.enter)="onConfirmClick()" |
18 | > | 18 | > |
19 | </div> | 19 | </div> |