1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00
Teknik/IdentityServer/Views/Consent/_ScopeListItem.cshtml
Uncled1023 179a27dd26 - Added client management to user's settings page.
- Cleaned up identity server pages.
- Added paste migration to service worker.
2019-01-12 15:06:55 -08:00

34 lines
939 B
Plaintext

@model ScopeViewModel
<li class="list-group-item abc-checkbox">
@if (Model.Required)
{
<input type="hidden"
name="ScopesConsented"
value="@Model.Name" />
}
<input class="consent-scopecheck"
type="checkbox"
name="ScopesConsented"
id="scopes_@Model.Name"
value="@Model.Name"
checked="@Model.Checked"
disabled="@Model.Required" />
<label for="ScopesConsented">
<strong>@Model.DisplayName</strong>
@if (Model.Emphasize)
{
<span class="glyphicon glyphicon-exclamation-sign"></span>
}
@if (Model.Required)
{
<span><em>(required)</em></span>
}
</label>
@if (Model.Description != null)
{
<div class="consent-description">
<label for="scopes_@Model.Name">@Model.Description</label>
</div>
}
</li>