mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
179a27dd26
- Cleaned up identity server pages. - Added paste migration to service worker.
34 lines
939 B
Plaintext
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> |