-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
github-actions
committed
Apr 10, 2023
1 parent
14195fa
commit ce16e0e
Showing
2 changed files
with
48 additions
and
34 deletions.
There are no files selected for viewing
50 changes: 25 additions & 25 deletions
50
src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Pages.Client/Components/ClientUrisPanel.razor
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 |
---|---|---|
@@ -1,32 +1,32 @@ | ||
@inject IStringLocalizerAsync<ClientUrisPanel> Localizer | ||
<div id="urls" class="card mb-3"> | ||
@if(Model.ProtocolType != "wsfed") | ||
{ | ||
<div class="card-header"> | ||
<EntitySubGridTitle Text="URLs" Collection="@Model.RedirectUris" CreateModel="CreateRedirectUri" /> | ||
</div> | ||
<div class="card-body"> | ||
<ClientUris Model="@Model" Collection="@Model.RedirectUris" /> | ||
</div> | ||
} | ||
else | ||
{ | ||
<div class="card-header"> | ||
<div class="row"> | ||
<div class="col d-flex"> | ||
<span class="h5">URL</span> | ||
@if (Model.ProtocolType != "wsfed") | ||
{ | ||
<div class="card-header"> | ||
<EntitySubGridTitle Text="URLs" Collection="@Model.RedirectUris" CreateModel="CreateRedirectUri" /> | ||
</div> | ||
<div class="card-body"> | ||
<ClientUris Model="@Model" Collection="@Model.RedirectUris" /> | ||
</div> | ||
} | ||
else | ||
{ | ||
<div class="card-header"> | ||
<div class="row"> | ||
<div class="col d-flex"> | ||
<span class="h5">URL</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="card-body"> | ||
<div class="mb-3 row"> | ||
<label class="col col-form-label" for="redirect-uri"> | ||
@Localizer["redirect uri"] | ||
</label> | ||
<div class="col-lg-10 col-sm-12"> | ||
<AuthorizeText Id="redirect-uri" Placeholder="https://wsfed.client.com" @bind-Value="@Model.RedirectUris.First().Uri" MaxLength="2000" /> | ||
<div class="card-body"> | ||
<div class="mb-3 row"> | ||
<label class="col col-form-label" for="redirect-uri"> | ||
@Localizer["redirect uri"] | ||
</label> | ||
<div class="col-lg-10 col-sm-12"> | ||
<AuthorizeText Id="redirect-uri" Placeholder="https://wsfed.client.com" @bind-Value="@WsFedRedirectUri" MaxLength="2000" /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
} | ||
} | ||
</div> |
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