Creating bare-bones controller in feed plugin for updates.
Starting work on #47. This will eventually provide a mechanism for triggering manual feed updates from the backend.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<div data-control="toolbar">
|
||||
<a
|
||||
href="<?= Backend::url('jasonwilliams/feed/import/create') ?>"
|
||||
class="btn btn-primary oc-icon-plus">
|
||||
New Import
|
||||
</a>
|
||||
|
||||
<button
|
||||
class="btn btn-danger oc-icon-trash-o"
|
||||
disabled="disabled"
|
||||
onclick="$(this).data('request-data', { checked: $('.control-list').listWidget('getChecked') })"
|
||||
data-request="onDelete"
|
||||
data-request-confirm="Are you sure you want to delete the selected Imports?"
|
||||
data-trigger-action="enable"
|
||||
data-trigger=".control-list input[type=checkbox]"
|
||||
data-trigger-condition="checked"
|
||||
data-request-success="$(this).prop('disabled', 'disabled')"
|
||||
data-stripe-load-indicator>
|
||||
Delete selected
|
||||
</button>
|
||||
</div>
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
<? //$this->listRender() ?>
|
||||
|
||||
Hello, world!
|
||||
Reference in New Issue
Block a user