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-25 16:26:31 -04:00
|
|
|
|
2015-06-25 17:53:03 -04:00
|
|
|
<h3>Queries</h3>
|
|
|
|
<table class="query-list">
|
|
|
|
<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>
|
|
|
|
|
|
|
|
{{render "admin/plugins-explorer-show" selectedItem}}
|
|
|
|
|
|
|
|
{{! results }}
|