UI improvements for parameters (input and read-only) and model description.

Uses changes to swagger.js (swagger-client).
This commit is contained in:
Pepijn de Geus
2013-02-27 17:01:25 +01:00
parent 1a017d46a5
commit d205753044
8 changed files with 91 additions and 56 deletions

View File

@@ -15,9 +15,9 @@
{{/if}}
{{else}}
{{#if defaultValue}}
<input minlength='0' name='{{name}}' placeholder='' type='text' value='{{defaultValue}}'/>
<input class='parameter' minlength='0' name='{{name}}' placeholder='' type='text' value='{{defaultValue}}'/>
{{else}}
<input minlength='0' name='{{name}}' placeholder='' type='text' value=''/>
<input class='parameter' minlength='0' name='{{name}}' placeholder='' type='text' value=''/>
{{/if}}
{{/if}}