Close #4: Make delete button red
This commit is contained in:
parent
514213be4e
commit
f62d935431
@ -235,6 +235,7 @@ function openNoteActionMenu(notecard) {
|
|||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
text: "Delete",
|
text: "Delete",
|
||||||
|
color: "red",
|
||||||
icon: '<i class="fas fa-trash fa-fw"></i>',
|
icon: '<i class="fas fa-trash fa-fw"></i>',
|
||||||
onClick: function () {
|
onClick: function () {
|
||||||
deleteNote(noteid);
|
deleteNote(noteid);
|
||||||
@ -256,7 +257,7 @@ function openNoteActionMenu(notecard) {
|
|||||||
'<li><a class="list-button item-link color-note-btn" data-note="' + noteid + '"><i class="fas fa-palette fa-fw"></i> Color</a></li>' +
|
'<li><a class="list-button item-link color-note-btn" data-note="' + noteid + '"><i class="fas fa-palette fa-fw"></i> Color</a></li>' +
|
||||||
'<li><a class="list-button item-link favorite-note-btn" data-note="' + noteid + '"><i class="fas fa-star-half-alt fa-fw"></i> Favorite</a></li>' +
|
'<li><a class="list-button item-link favorite-note-btn" data-note="' + noteid + '"><i class="fas fa-star-half-alt fa-fw"></i> Favorite</a></li>' +
|
||||||
//'<li><a class="list-button item-link listify-note-btn" data-note="' + noteid + '"><i class="fas fa-tasks fa-fw"></i> Make a List</a></li>' +
|
//'<li><a class="list-button item-link listify-note-btn" data-note="' + noteid + '"><i class="fas fa-tasks fa-fw"></i> Make a List</a></li>' +
|
||||||
'<li><a class="list-button item-link delete-note-btn" data-note="' + noteid + '"><i class="fas fa-trash fa-fw"></i> Delete</a></li>' +
|
'<li><a class="list-button item-link delete-note-btn text-color-red" data-note="' + noteid + '"><i class="fas fa-trash fa-fw"></i> Delete</a></li>' +
|
||||||
'</ul>' +
|
'</ul>' +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user