Show tasks that are due today in a different color

I chose a "Triadic" color from this page,
http://www.colorhexa.com/d90000 it seems to look good under various
categories.

Fix #2285
This commit is contained in:
Lev Lazinskiy 2016-06-06 19:53:01 -07:00
parent 9e1a1f10be
commit f97d683ede
4 changed files with 12 additions and 3 deletions

View File

@ -27,7 +27,11 @@
<?php endif ?>
<?php if (! empty($task['date_due'])): ?>
<span class="task-board-date <?= time() > $task['date_due'] ? 'task-board-date-overdue' : '' ?>">
<?php if (date('d') == date('d', $task['date_due'])): ?>
<span class="task-board-date task-board-date-today">
<?php elseif (time() > $task['date_due']): ?>
<span class="task-board-date task-board-date-overdue">
<?php endif ?>
<i class="fa fa-calendar"></i>
<?= $this->dt->date($task['date_due']) ?>
</span>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -123,6 +123,11 @@ div.task-board-status-closed {
color: #000;
}
span.task-board-date-today {
color: #0000D9;
opacity: 1.0;
}
span.task-board-date-overdue {
color: #D90000;
opacity: 1.0;