Added changing %Done on a task

This commit is contained in:
kolaente 2019-10-19 18:27:31 +02:00
parent bcfded6efc
commit a0d281b0b4
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 22 additions and 0 deletions

View file

@ -107,6 +107,27 @@
</div>
</div>
<div class="field">
<label class="label">Percent Done</label>
<div class="control">
<div class="select">
<select v-model.number="taskEditTask.percentDone">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select>
</div>
</div>
</div>
<div class="field">
<label class="label">Color</label>
<div class="control">

View file

@ -57,6 +57,7 @@ export default class TaskModel extends AbstractModel {
subtasks: [],
parentTaskID: 0,
hexColor: '',
percentDone: 0,
createdBy: UserModel,
created: 0,