propagated field name change to UI
parent
179903b074
commit
cc36851bdd
|
@ -226,7 +226,7 @@
|
||||||
defaults:{
|
defaults:{
|
||||||
id:null,
|
id:null,
|
||||||
idTokenValiditySeconds: 600,
|
idTokenValiditySeconds: 600,
|
||||||
applicationName:"",
|
clientName:"",
|
||||||
clientSecret:"",
|
clientSecret:"",
|
||||||
registeredRedirectUri:[],
|
registeredRedirectUri:[],
|
||||||
authorizedGrantTypes:["authorization_code"],
|
authorizedGrantTypes:["authorization_code"],
|
||||||
|
@ -563,7 +563,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
var valid = this.model.set({
|
var valid = this.model.set({
|
||||||
applicationName:$('#applicationName input').val(),
|
clientName:$('#clientName input').val(),
|
||||||
clientId:$('#clientId input').val(),
|
clientId:$('#clientId input').val(),
|
||||||
clientSecret: clientSecret,
|
clientSecret: clientSecret,
|
||||||
generateClientSecret:generateClientSecret,
|
generateClientSecret:generateClientSecret,
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<%=applicationName%>
|
<%=clientName%>
|
||||||
<!--expandable future information-->
|
<!--expandable future information-->
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
@ -33,8 +33,8 @@
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
<th>Client ID</th>
|
<th>ID</th>
|
||||||
<th>Application Name</th>
|
<th>Name</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -60,10 +60,10 @@
|
||||||
<button class="btn btn-small btn-primary">Save</button> <button class="btn btn-small btn-cancel">Cancel</button>
|
<button class="btn btn-small btn-primary">Save</button> <button class="btn btn-small btn-cancel">Cancel</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="control-group" id="applicationName">
|
<div class="control-group" id="clientName">
|
||||||
<label class="control-label">Application name</label>
|
<label class="control-label">Client name</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<input value="<%=applicationName%>" maxlength="100" type="text" class="" placeholder="Type something">
|
<input value="<%=clientName%>" maxlength="100" type="text" class="" placeholder="Type something">
|
||||||
<p class="help-block">Human-readable application name</p>
|
<p class="help-block">Human-readable application name</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -301,7 +301,7 @@
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<%=client.applicationName%>
|
<%=client.clientName%>
|
||||||
<!--expandable future information-->
|
<!--expandable future information-->
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
@ -320,8 +320,8 @@
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
<th>Client ID</th>
|
<th>ID</th>
|
||||||
<th>Application Name</th>
|
<th>Name</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -350,7 +350,7 @@
|
||||||
<label class="control-label">Client</label>
|
<label class="control-label">Client</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<input type="hidden" name="clientId" value="<%= client.clientId %>" />
|
<input type="hidden" name="clientId" value="<%= client.clientId %>" />
|
||||||
<%= client.applicationName != null ? client.applicationName : client.clientId %>
|
<%= client.clientName != null ? client.clientName : client.clientId %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -411,7 +411,7 @@
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<%= client.applicationName != null ? client.applicationName : client.clientId %>
|
<%= client.clientName != null ? client.clientName : client.clientId %>
|
||||||
<blockquote><small><%=client.clientDescription%></small></blockquote>
|
<blockquote><small><%=client.clientDescription%></small></blockquote>
|
||||||
<!-- put scopes and other info here -->
|
<!-- put scopes and other info here -->
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in New Issue