aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_modals/yes-no-dialog/yes-no-dialog.component.html
diff options
context:
space:
mode:
authorTAMARA JERINIC <tamara.jerinic@gmail.com>2022-05-19 17:21:04 +0200
committerTAMARA JERINIC <tamara.jerinic@gmail.com>2022-05-19 17:21:04 +0200
commit03b26d14c16a4551a48fe0d3f5993bec84fa36b1 (patch)
tree92382c46f75f5d54d763ca0674ed7f5095c703fe /frontend/src/app/_modals/yes-no-dialog/yes-no-dialog.component.html
parentdce16507a0e8219f1bb04a2ec9a0afad521fac47 (diff)
parent529394dd526811e059dfb5f8f76597ffd90b2fea (diff)
Merge branch 'redesign' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into redesign
# Conflicts: # backend/api/api/appsettings.json
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