added ability to pin notes so that they always show up on top.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2024-01-23 17:46:54 -07:00
parent be81f9727a
commit a9e3e44f2c
4 changed files with 9 additions and 1 deletions

View File

@@ -12,6 +12,10 @@
<div class="row">
<div class="col-12">
<input type="text" id="workAroundInput" style="height:0px; width:0px; display:none;">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="noteIsPinned" checked="@Model.Pinned">
<label class="form-check-label" for="noteIsPinned">Pinned</label>
</div>
<label for="noteDescription">Description</label>
<input type="text" id="noteDescription" class="form-control" placeholder="Description of the note" value="@(isNew ? "" : Model.Description)">
</div>