2015-06-29 15:10:24 -04:00
|
|
|
<h3>Queries</h3>
|
2015-06-25 17:53:03 -04:00
|
|
|
{{text-field value=newQueryName placeholderKey="explorer.create_placeholder"}}
|
2015-06-25 16:26:31 -04:00
|
|
|
{{d-button action="create" label="explorer.create" icon="plus"}}
|
2015-06-25 17:53:03 -04:00
|
|
|
{{d-button action="importQuery" label="explorer.import.label" icon="upload" class="import-button"}}
|
2015-06-29 15:10:24 -04:00
|
|
|
<div class="query-list">
|
|
|
|
<table>
|
2015-06-25 17:53:03 -04:00
|
|
|
<thead>
|
2015-06-26 12:16:09 -04:00
|
|
|
<tr>
|
2015-06-25 17:53:03 -04:00
|
|
|
<th class="q-name">Name</th>
|
|
|
|
<th class="q-desc">Description</th>
|
2015-06-26 12:16:09 -04:00
|
|
|
</tr>
|
2015-06-25 17:53:03 -04:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2015-06-26 12:16:09 -04:00
|
|
|
{{#each content as |query|}}
|
2015-06-25 17:53:03 -04:00
|
|
|
<tr {{action "selectItem" query}}>
|
|
|
|
<td class="q-name">{{query.name}}</td>
|
|
|
|
<td class="q-desc">{{query.description}}</td>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2015-06-29 15:10:24 -04:00
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<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>
|