Id refactor UI
parent
155974d8e3
commit
0f9d4ef255
|
@ -60,7 +60,7 @@
|
||||||
// We can pass it default values.
|
// We can pass it default values.
|
||||||
defaults:{
|
defaults:{
|
||||||
idTokenValiditySeconds: 0,
|
idTokenValiditySeconds: 0,
|
||||||
clientName:"",
|
applicationName:"",
|
||||||
clientSecret:"",
|
clientSecret:"",
|
||||||
registeredRedirectUri:[],
|
registeredRedirectUri:[],
|
||||||
authorizedGrantTypes:["authorization_code"],
|
authorizedGrantTypes:["authorization_code"],
|
||||||
|
@ -206,7 +206,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
var valid = this.model.set({
|
var valid = this.model.set({
|
||||||
clientName:$('#clientName input').val(),
|
applicationName:$('#applicationName input').val(),
|
||||||
clientSecret:$('#clientSecret input').val(),
|
clientSecret:$('#clientSecret input').val(),
|
||||||
registeredRedirectUri:registeredRedirectUri,
|
registeredRedirectUri:registeredRedirectUri,
|
||||||
clientDescription:$('#clientDescription textarea').val(),
|
clientDescription:$('#clientDescription textarea').val(),
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<%=clientName%>
|
<%=applicationName%>
|
||||||
<!--expandable future information-->
|
<!--expandable future information-->
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
@ -45,10 +45,10 @@
|
||||||
<form class="form-horizontal">
|
<form class="form-horizontal">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Details <%=(clientId != null ? 'for ' + clientId : '')%></legend>
|
<legend>Details <%=(clientId != null ? 'for ' + clientId : '')%></legend>
|
||||||
<div class="control-group" id="clientName">
|
<div class="control-group" id="applicationName">
|
||||||
<label class="control-label">Client name</label>
|
<label class="control-label">Application name</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<input value="<%=clientName%>" maxlength="100" type="text" class="" placeholder="Type something">
|
<input value="<%=applicationName%>" maxlength="100" type="text" class="" placeholder="Type something">
|
||||||
<p class="help-block">Supporting help text</p>
|
<p class="help-block">Supporting help text</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue