2015-06-29 15:10:24 -04:00
|
|
|
<h3>Queries</h3>
|
2015-06-30 13:37:48 -04:00
|
|
|
<div class="query-list">
|
|
|
|
{{combo-box valueAttribute="id" value=selectedQueryId nameProperty="name" content=content castInteger="true"}}
|
|
|
|
{{d-button action="showCreate" icon="plus" class="no-text"}}
|
|
|
|
{{d-button action="importQuery" label="explorer.import.label" icon="upload"}}
|
|
|
|
</div>
|
|
|
|
{{#if showCreate}}
|
|
|
|
<div class="query-create">
|
|
|
|
{{text-field value=newQueryName placeholderKey="explorer.create_placeholder"}}
|
|
|
|
{{d-button action="create" label="explorer.create" icon="plus"}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
<hr>
|
2015-06-29 15:10:24 -04:00
|
|
|
<div class="query-edit">
|
2015-06-30 12:07:33 -04:00
|
|
|
{{partial "admin/plugins-explorer-show" model=selectedItem}}
|
2015-06-29 15:10:24 -04:00
|
|
|
</div>
|
|
|
|
<hr>
|
2015-06-30 12:07:33 -04:00
|
|
|
{{conditional-loading-spinner condition=loading}}
|
2015-06-29 15:10:24 -04:00
|
|
|
<div class="query-results">
|
|
|
|
{{results}}
|
|
|
|
</div>
|