UI for scope editing
parent
469e722f72
commit
2b663bb23c
|
@ -243,7 +243,9 @@ var SystemScopeFormView = Backbone.View.extend({
|
|||
description:$('#description textarea').val(),
|
||||
icon:$('#iconDisplay input').val(),
|
||||
defaultScope:$('#defaultScope input').is(':checked'),
|
||||
allowDynReg:$('#allowDynReg input').is(':checked')
|
||||
allowDynReg:$('#allowDynReg input').is(':checked'),
|
||||
structured:$('#structured').is(':checked'),
|
||||
structuredParamDescription:$('#structuredParamDescription').val()
|
||||
});
|
||||
|
||||
if (valid) {
|
||||
|
|
|
@ -142,13 +142,17 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group" id="isStructured">
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" <%=isStructured ? 'checked' : '' %>> is a structured scope
|
||||
<input type="checkbox" id="isStructured" <%=structured ? 'checked' : '' %>> is a structured scope
|
||||
</label>
|
||||
<p class="help-block">Is the scope structured with structured values like <code>base:extension</code>?</p>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<input type="text" id="structuredParamDescription" value="<%=structuredParamDescription ? structuredParamDescription : '' %>">
|
||||
<p class="help-block">Human-readable description of the structured parameter</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="well well-small">
|
||||
|
|
Loading…
Reference in New Issue