AuthorizeTemplate.html revision ce00815c8f51bf72def07cc039e415ac44ef1e2d
0N/A<div class="container">
2362N/A
0N/A {{#if error}}
0N/A <div class="alert alert-warning col-md-6 col-md-offset-3" role="alert">
0N/A <strong>
0N/A {{#if error.uri}}
2362N/A <a href="{{error.uri}}">{{error.message}}</a>
0N/A {{else}}
2362N/A {{error.message}}
0N/A {{/if}}
0N/A </strong>
0N/A {{#if error.description}}
0N/A {{error.description}}
0N/A {{/if}}
0N/A </div>
0N/A {{else}}
0N/A
0N/A <div class="page-header col-md-6 col-md-offset-3 wordwrap">
0N/A <h1 class="text-center">{{oauth2Data.displayName}}</h1>
0N/A {{#if oauth2Data.displayDescription}}
2362N/A <p class="text-center"><em>{{oauth2Data.displayDescription}}</em></p>
2362N/A {{/if}}
2362N/A </div>
0N/A
0N/A <form action="{{oauth2Data.formTarget}}" method="post" class="form col-md-6 col-md-offset-3" autocomplete="off">
0N/A
0N/A <fieldset>
0N/A <p>{{t 'form.description'}}</p>
0N/A <div class="panel-group form-horizontal" aria-multiselectable="true">
0N/A
0N/A {{#each oauth2Data.displayScopes}}
0N/A {{#if this.values}}
0N/A <div class="panel panel-info">
0N/A <div class="panel-heading am-panel-heading-hover" data-toggle="collapse" aria-expanded="false"
0N/A data-target="#oauth2Scope{{@index}}" aria-controls="oauth2Scope{{@index}}">
0N/A {{this.name}}
856N/A <div class="pull-right"><i class="fa fa-angle-down"></i></div>
856N/A </div>
4008N/A
4008N/A <div id="oauth2Scope{{@index}}" class="panel-collapse collapse" role="tabpanel" aria-expanded="false">
846N/A <div class="panel-body">
1750N/A {{#if this.values.length}}
1750N/A <small>{{this.values}}</small><br/>
1750N/A {{else}}
1750N/A {{#each this.values}}
1750N/A <small><strong>{{@key}}:</strong> {{this}}</small><br/>
856N/A {{/each}}
0N/A {{/if}}
0N/A </div>
0N/A </div>
1750N/A </div>
1750N/A {{else}}
0N/A <div class="panel panel-default">
0N/A <div class="panel-heading">{{this.name}}</div>
0N/A </div>
0N/A {{/if}}
0N/A {{/each}}
0N/A
0N/A {{#each oauth2Data.displayClaims}}
0N/A {{#if this.values}}
0N/A <div class="panel panel-info">
0N/A <div class="panel-heading am-panel-heading-hover" data-toggle="collapse" aria-expanded="false"
0N/A data-target="#oauth2Claims{{@index}}" role="tab" aria-controls="oauth2Claims{{@index}}">
0N/A {{this.name}}
0N/A <div class="pull-right"><i class="fa fa-angle-down"></i></div>
0N/A </div>
0N/A <div id="oauth2Claims{{@index}}" class="panel-collapse collapse" role="tabpanel" aria-expanded="false">
0N/A <div class="panel-body">
0N/A {{#if this.values.length}}
0N/A <small>{{this.values}}</small><br/>
0N/A {{else}}
0N/A {{#each this.values}}
0N/A <small><strong>{{@key}}:</strong> {{this}}</small><br/>
0N/A {{/each}}
0N/A {{/if}}
0N/A </div>
0N/A </div>
0N/A </div>
0N/A {{else}}
0N/A <div class="panel panel-default">
0N/A <div class="panel-heading">{{this.name}}</div>
0N/A </div>
0N/A {{/if}}
0N/A {{/each}}
0N/A </div>
0N/A
0N/A {{#if oauth2Data.userName}}
0N/A <p>{{t 'form.signedInAs'}} <span class="text-primary">{{oauth2Data.userName}}</span></p>
0N/A {{/if}}
0N/A
0N/A <!-- Optional parameters -->
0N/A {{#if oauth2Data.realm}}
0N/A <input type="hidden" name="realm" value="{{oauth2Data.realm}}"/>
0N/A {{/if}}
0N/A {{#if oauth2Data.redirectUri}}
0N/A <input type="hidden" name="redirect_uri" value="{{oauth2Data.redirectUri}}"/>
0N/A {{/if}}
0N/A {{#if oauth2Data.scope}}
0N/A <input type="hidden" name="scope" value="{{oauth2Data.scope}}"/>
0N/A {{/if}}
0N/A {{#if oauth2Data.state}}
0N/A <input type="hidden" name="state" value="{{oauth2Data.state}}"/>
0N/A {{/if}}
0N/A {{#if oauth2Data.nonce}}
0N/A <input type="hidden" name="nonce" value="{{oauth2Data.nonce}}"/>
0N/A {{/if}}
0N/A {{#if oauth2Data.acr}}
0N/A <input type="hidden" name="acr" value="{{oauth2Data.acr}}"/>
0N/A {{/if}}
0N/A {{#if oauth2Data.userCode}}
0N/A <input type="hidden" name="user_code" value="{{oauth2Data.userCode}}"/>
0N/A {{/if}}
0N/A
0N/A <!-- Required parameters -->
0N/A <input type="hidden" name="response_type" value="{{oauth2Data.responseType}}"/>
0N/A <input type="hidden" name="client_id" value="{{oauth2Data.clientId}}"/>
0N/A
0N/A <div class="form-group clearfix">
0N/A <div class="pull-right">
0N/A <button type="submit" name="decision" class="btn btn-default" value="deny">{{t 'form.deny'}}</button>
0N/A <button type="submit" name="decision" class="btn btn-primary" value="allow">{{t 'form.allow'}}</button>
0N/A </div>
0N/A
0N/A <div class="pull-left checkbox">
0N/A <label><input type="checkbox" name="save_consent"/>{{t 'form.save'}}</label>
0N/A </div>
0N/A </div>
0N/A
0N/A </fieldset>
0N/A </form>
0N/A
0N/A {{/if}}
0N/A</div>
0N/A