Client Id is now editable
parent
0f9d4ef255
commit
935b5ed43a
|
@ -207,6 +207,7 @@
|
||||||
|
|
||||||
var valid = this.model.set({
|
var valid = this.model.set({
|
||||||
applicationName:$('#applicationName input').val(),
|
applicationName:$('#applicationName input').val(),
|
||||||
|
clientId:$('#clientId input').val(),
|
||||||
clientSecret:$('#clientSecret input').val(),
|
clientSecret:$('#clientSecret input').val(),
|
||||||
registeredRedirectUri:registeredRedirectUri,
|
registeredRedirectUri:registeredRedirectUri,
|
||||||
clientDescription:$('#clientDescription textarea').val(),
|
clientDescription:$('#clientDescription textarea').val(),
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Client ID</th>
|
<th>Client ID</th>
|
||||||
<th>Client Name</th>
|
<th>Application Name</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
<form class="form-horizontal">
|
<form class="form-horizontal">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Details <%=(clientId != null ? 'for ' + clientId : '')%></legend>
|
<legend>Details</legend>
|
||||||
<div class="control-group" id="applicationName">
|
<div class="control-group" id="applicationName">
|
||||||
<label class="control-label">Application name</label>
|
<label class="control-label">Application name</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
|
@ -53,6 +53,14 @@
|
||||||
</div>
|
</div>
|
||||||
</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">
|
<div class="control-group" id="registeredRedirectUri">
|
||||||
<label class="control-label">Redirect URI(s)</label>
|
<label class="control-label">Redirect URI(s)</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
|
|
Loading…
Reference in New Issue