discourse-data-explorer/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs

31 lines
788 B
Handlebars
Raw Normal View History

2015-06-29 15:10:24 -04:00
<h3>Queries</h3>
{{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"}}
{{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>
<thead>
<tr>
<th class="q-name">Name</th>
<th class="q-desc">Description</th>
</tr>
</thead>
<tbody>
{{#each content as |query|}}
<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">
{{render "admin/plugins-explorer-show" selectedItem}}
</div>
<hr>
<div class="query-results">
{{results}}
</div>