Skip to content

Commit

Permalink
feat(frontend) : change message when no provider is given
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Jan 20, 2025
1 parent 9314e33 commit 7d09be7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/app/modules/login/login/login.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@

<ng-template #noProvider>
<div class="container">
<div class="d-flex justify-content-center">
<div class="alert alert-info text-center" role="alert">
<h1>Aucun fournisseur d'identités n'a était configuré.</h1>
<div id="no-provider">
<div class="alert alert-warning text-center p-3 mx-auto" role="alert" style="width: 50%;">
<h1>Aucun fournisseur d'identités n'est configuré.</h1>
</div>
</div>
</div>
Expand Down
7 changes: 7 additions & 0 deletions frontend/src/app/modules/login/login/login.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,10 @@ i.loader .mat-spinner {
height: 20px !important;
margin-right: 8px !important;
}


#no-provider{
display: flex;
align-items: center;
height: 100vh;
}

0 comments on commit 7d09be7

Please sign in to comment.