Queries

{{combo-box valueAttribute="id" value=selectedQueryId nameProperty="listName" content=content castInteger="true" nameChanges="true"}} {{d-button action="showCreate" icon="plus" class="no-text"}} {{d-button action="importQuery" label="explorer.import.label" icon="upload"}}
{{#if showCreate}}
{{text-field value=newQueryName placeholderKey="explorer.create_placeholder"}} {{d-button action="create" label="explorer.create" icon="plus" class="btn-primary"}}
{{/if}}
{{partial "admin/plugins-explorer-show" model=selectedItem}}
{{conditional-loading-spinner condition=loading}}
{{#if selectedItem.param_names}}
{{d-button action="saveDefaults" label="explorer.save_params"}} {{d-button action="resetParams" label="explorer.reset_params"}}
{{#each selectedItem.param_names as |pname|}}
{{param-field params=selectedItem.params pname=pname}} {{pname}}
{{/each}}
{{/if}}
{{d-button action="run" label="explorer.run" disabled=runDisabled}}

{{#if results}}
{{#if showResults}} {{query-result query=selectedItem content=results}} {{else}} {{#each results.errors as |err|}}
{{~err}}
{{/each}} {{/if}}
{{/if}}