feat(client/tasks): add a text box for adding a new task

This commit is contained in:
Elian Doran 2025-02-18 20:01:04 +02:00
parent 7cba5a7c7d
commit fc1ee7c6f0
No known key found for this signature in database

View File

@ -5,8 +5,28 @@ import TypeWidget from "./type_widget.js";
const TPL = ` const TPL = `
<div class="note-detail-task-list note-detail-printable"> <div class="note-detail-task-list note-detail-printable">
<header>
<input type="text" placeholder="Add a new task" class="add-new-task" />
</header>
<div class="task-container"> <div class="task-container">
</div> </div>
<style>
.note-detail-task-list {
padding: 10px;
}
.note-detail-task-list header {
margin-bottom: 1em;
}
.note-detail-task-list .add-new-task {
width: 100%;
padding: 0.25em 0.5em;
}
</style>
</div> </div>
`; `;