-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added idle detection and automatic logout.
- Loading branch information
Showing
8 changed files
with
140 additions
and
13 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
Frontend/src/app/components/information/information/information.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div class="message-box"> | ||
<div mat-dialog-content> | ||
{{data.message}} | ||
</div> | ||
<div mat-dialog-actions class="btn-group"> | ||
<button mat-button [mat-dialog-close]="true">{{data.button_text}}</button> | ||
</div> | ||
</div> |
Empty file.
18 changes: 18 additions & 0 deletions
18
Frontend/src/app/components/information/information/information.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import {Component, Inject, OnInit} from '@angular/core'; | ||
import {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog'; | ||
|
||
@Component({ | ||
selector: 'app-information', | ||
templateUrl: './information.component.html', | ||
styleUrls: ['./information.component.scss'] | ||
}) | ||
export class InformationComponent implements OnInit { | ||
|
||
constructor(public dialogRef: MatDialogRef<InformationComponent>, | ||
@Inject(MAT_DIALOG_DATA) public data: {message: string, button_text: string}) { | ||
} | ||
|
||
ngOnInit(): void { | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters