Client Id is now editable

pull/165/merge
Michael Jett 2012-08-10 17:11:13 -04:00
parent 0f9d4ef255
commit 935b5ed43a
2 changed files with 11 additions and 2 deletions

View File

@ -207,6 +207,7 @@
var valid = this.model.set({
applicationName:$('#applicationName input').val(),
clientId:$('#clientId input').val(),
clientSecret:$('#clientSecret input').val(),
registeredRedirectUri:registeredRedirectUri,
clientDescription:$('#clientDescription textarea').val(),

View File

@ -24,7 +24,7 @@
<thead>
<tr>
<th>Client ID</th>
<th>Client Name</th>
<th>Application Name</th>
<th></th>
</tr>
</thead>
@ -44,7 +44,7 @@
<form class="form-horizontal">
<fieldset>
<legend>Details <%=(clientId != null ? 'for ' + clientId : '')%></legend>
<legend>Details</legend>
<div class="control-group" id="applicationName">
<label class="control-label">Application name</label>
<div class="controls">
@ -53,6 +53,14 @@
</div>
</div>
<div class="control-group" id="clientId">
<label class="control-label">Client ID</label>
<div class="controls">
<input value="<%=clientId%>" maxlength="100" type="text" class="" placeholder="Type something">
<p class="help-block">Supporting help text</p>
</div>
</div>
<div class="control-group" id="registeredRedirectUri">
<label class="control-label">Redirect URI(s)</label>
<div class="controls">