Browse Source

UI: Prettier todo inputs

master
parent
commit
d2e82e4f9d
  1. 27
      pages/category.html

27
pages/category.html

@ -75,23 +75,22 @@
<!-- Main ToDos section -->
<div class="p-2 flex-grow-1">
<form action="javascript:void(0);">
<div class="container">
<div class="row">
<div class="col">
<input type="text" class="form-control" id="newTodoText" placeholder="TODO text">
<form action="javascript:void(0);" id="todoForm">
<div class="row g-3 align-items-center">
<div class="col-md">
<label for="newTodoText" class="form-label">TODO Text</label>
<input type="text" class="form-control" id="newTodoText" placeholder="Enter TODO text" required>
</div>
<div class="col">
<label for="newTodoDue">Due</label>
<input aria-placeholder="Due" type="date" name="newTodoDue" id="newTodoDue" placeholder="Due">
<div class="col-md">
<label for="newTodoDue" class="form-label">Due Date</label>
<input type="date" class="form-control" name="newTodoDue" id="newTodoDue" required>
</div>
<div class="col">
<button class="btn btn-primary" id="newTodoPaint" onclick="openPaintModal();">Paint</button>
</div>
<div class="col">
<button id="newTodoSubmit" class="btn btn-primary">Add</button>
<button class="btn btn-secondary" id="show-done">Show Done</button>
<div class="col-auto">
<button type="button" class="btn btn-primary" id="newTodoPaint" onclick="openPaintModal();">Paint</button>
</div>
<div class="col-auto">
<button type="submit" id="newTodoSubmit" class="btn btn-primary">Add</button>
<button type="button" id="show-done" class="btn btn-secondary">Show Done</button>
</div>
</div>
</form>

Loading…
Cancel
Save