refactorings of search actions to bulk actions

This commit is contained in:
zadam
2022-06-05 22:32:23 +02:00
parent 4211d0feda
commit 88fa51a34e
16 changed files with 108 additions and 44 deletions

View File

@@ -0,0 +1,22 @@
import AbstractBulkAction from "./abstract_bulk_action.js";
const TPL = `
<tr>
<td colspan="2">
<span class="bx bx-trash"></span>
Delete matched notes
</td>
<td class="button-column">
<span class="bx bx-x icon-action action-conf-del"></span>
</td>
</tr>`;
export default class DeleteNoteBulkAction extends AbstractBulkAction {
static get actionName() { return "deleteNote"; }
static get actionTitle() { return "Delete note"; }
doRender() {
return $(TPL);
}
}