Id refactor UI

pull/165/merge
Michael Jett 2012-08-10 17:05:28 -04:00
parent 155974d8e3
commit 0f9d4ef255
2 changed files with 6 additions and 6 deletions

View File

@ -60,7 +60,7 @@
// We can pass it default values.
defaults:{
idTokenValiditySeconds: 0,
clientName:"",
applicationName:"",
clientSecret:"",
registeredRedirectUri:[],
authorizedGrantTypes:["authorization_code"],
@ -206,7 +206,7 @@
});
var valid = this.model.set({
clientName:$('#clientName input').val(),
applicationName:$('#applicationName input').val(),
clientSecret:$('#clientSecret input').val(),
registeredRedirectUri:registeredRedirectUri,
clientDescription:$('#clientDescription textarea').val(),

View File

@ -5,7 +5,7 @@
</td>
<td>
<%=clientName%>
<%=applicationName%>
<!--expandable future information-->
</td>
@ -45,10 +45,10 @@
<form class="form-horizontal">
<fieldset>
<legend>Details <%=(clientId != null ? 'for ' + clientId : '')%></legend>
<div class="control-group" id="clientName">
<label class="control-label">Client name</label>
<div class="control-group" id="applicationName">
<label class="control-label">Application name</label>
<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>
</div>
</div>