Skip to content

Commit

Permalink
Reimplement 'public' class on whistleblowers pages and block-user-inp…
Browse files Browse the repository at this point in the history
…ut when loader is active
  • Loading branch information
evilaliv3 committed Oct 8, 2024
1 parent 4c05f50 commit ced3447
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions client/app/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ body {
min-height: 20rem;
}

.block-user-input {
pointer-events: none;
user-select: none;
}

th .fa-solid,
.fa-chevron-up,
.fa-chevron-down {
Expand Down
2 changes: 1 addition & 1 deletion client/app/src/pages/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1>Error!</h1><br/> <br/>
<div id="Loader"></div>
</div>
<ng-container *ngIf="appDataService.public.node">
<div [dir]="utilsService.getDirection(translate.currentLang)" class="reveal">
<div [dir]="utilsService.getDirection(translate.currentLang)" class="reveal" [ngClass]="{'public': isWhistleblowerPage(), 'block-user-input': showLoadingPanel}">
<div *ngIf="authenticationService.session?.properties?.operator_session">
<src-operation></src-operation>
</div>
Expand Down

0 comments on commit ced3447

Please sign in to comment.