|
|
@@ -1202,14 +1202,16 @@ ${ sqlSyntaxDropdown.sqlSyntaxDropdown() }
|
|
|
|
|
|
|
|
|
<script type="text/html" id="snippet-variables">
|
|
|
- <ul data-bind="foreach: variables" class="unstyled inline">
|
|
|
- <li>
|
|
|
- <div class="input-prepend margin-top-10">
|
|
|
- <span class="muted add-on" data-bind="text: name"></span>
|
|
|
- <input class="input-medium" type="text" data-bind="value: value, attr: { placeholder: defaultValue() || '${ _ko('Variable value') }' }, valueUpdate: 'afterkeydown', autogrowInput: { minWidth: 150, maxWidth: 270, comfortZone: 15 }, event: { 'keydown': function (context, e){ if ((e.ctrlKey || e.metaKey) && e.which === 13) { $parent.ace().commands.commands['execute'].exec(); } return true; } }">
|
|
|
- </div>
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
+ <div class="variables">
|
|
|
+ <ul data-bind="foreach: variables" class="unstyled inline">
|
|
|
+ <li>
|
|
|
+ <div class="input-prepend margin-top-10">
|
|
|
+ <span class="muted add-on" data-bind="text: name"></span>
|
|
|
+ <input class="input-medium" type="text" data-bind="value: value, attr: { placeholder: defaultValue() || '${ _ko('Variable value') }' }, valueUpdate: 'afterkeydown', autogrowInput: { minWidth: 150, maxWidth: 270, comfortZone: 15 }, event: { 'keydown': function (context, e){ if ((e.ctrlKey || e.metaKey) && e.which === 13) { $parent.ace().commands.commands['execute'].exec(); } return true; } }">
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
</script>
|
|
|
|
|
|
|