aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_modals/yes-no-dialog/yes-no-dialog.component.html
diff options
context:
space:
mode:
authorDanijel Anđelković <adanijel99@gmail.com>2022-05-19 21:10:54 +0200
committerDanijel Anđelković <adanijel99@gmail.com>2022-05-19 21:10:54 +0200
commit07b6cce2538240db0de979e205bf56394b771fe4 (patch)
tree27c9baf4d7daced7bd716b5fa79f0da7264c3271 /frontend/src/app/_modals/yes-no-dialog/yes-no-dialog.component.html
parent40e4cf81dc29d2f3a44cd56a58a5181a64295d5f (diff)
parent8ce1b7f95b1464587b4f2d9518aaa714d4f76915 (diff)
Merge branch 'redesign' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into redesign
Diffstat (limited to 'frontend/src/app/_modals/yes-no-dialog/yes-no-dialog.component.html')
-rw-r--r--frontend/src/app/_modals/yes-no-dialog/yes-no-dialog.component.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/frontend/src/app/_modals/yes-no-dialog/yes-no-dialog.component.html b/frontend/src/app/_modals/yes-no-dialog/yes-no-dialog.component.html
index 06e74093..77e7be42 100644
--- a/frontend/src/app/_modals/yes-no-dialog/yes-no-dialog.component.html
+++ b/frontend/src/app/_modals/yes-no-dialog/yes-no-dialog.component.html
@@ -1,8 +1,10 @@
<h2 mat-dialog-title class="text-muted">{{data.title}}</h2>
<div mat-dialog-content class="mt-4" style="color: rgb(81, 76, 76);">
- {{data.message}}
+ <form (keydown)="withEnterKey($event)">
+ {{data.message}}
+ </form>
</div>
<div mat-dialog-actions class="d-flex justify-content-center mt-4">
- <button mat-button cdkFocusInitial (click)="onYesClick()" style="background-color: lightgray;">Da</button>
- <button mat-button cdkFocusInitial (click)="onNoClick()" style="background-color: lightgray;">Ne</button>
+ <button mat-button cdkFocusInitial (click)="onYesClick()" style="background-color: lightgray;">Da</button>
+ <button mat-button cdkFocusInitial (click)="onNoClick()" style="background-color: lightgray;">Ne</button>
</div> \ No newline at end of file