mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 16:55:50 +01:00
UI for search actions (WIP)
This commit is contained in:
21
src/public/app/widgets/search_actions/delete_note.js
Normal file
21
src/public/app/widgets/search_actions/delete_note.js
Normal file
@@ -0,0 +1,21 @@
|
||||
import AbstractAction from "./abstract_action.js";
|
||||
|
||||
const TPL = `
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<span class="bx bx-trash"></span>
|
||||
|
||||
Delete matched note
|
||||
</td>
|
||||
<td>
|
||||
<span class="bx bx-x icon-action" data-action-conf-del></span>
|
||||
</td>
|
||||
</tr>`;
|
||||
|
||||
export default class DeleteNoteSearchAction extends AbstractAction {
|
||||
static get actionName() { return "deleteNote"; }
|
||||
|
||||
doRender() {
|
||||
return $(TPL);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user