Move task complexity to the bottom

This commit is contained in:
Frederic Guillot 2015-03-21 15:25:21 -04:00
parent 28a1461f65
commit fc97378c83
5 changed files with 8 additions and 16 deletions

View File

@ -42,4 +42,8 @@
<i class="fa fa-file-text-o"></i>
</span>
<?php endif ?>
<?php if ($task['score']): ?>
<span class="task-score"><?= $this->e($task['score']) ?></span>
<?php endif ?>
</div>

View File

@ -31,10 +31,6 @@
) ?>
</span>
<?php if ($task['score']): ?>
<span class="task-score"><?= $this->e($task['score']) ?></span>
<?php endif ?>
<div class="task-board-days">
<span title="<?= t('Task age in days')?>" class="task-days-age"><?= $this->getTaskAge($task['date_creation']) ?></span>
<span title="<?= t('Days in this column')?>" class="task-days-incolumn"><?= $this->getTaskAge($task['date_moved']) ?></span>

View File

@ -18,10 +18,6 @@
<?php endif ?>
</span>
<?php if ($task['score']): ?>
<span class="task-score"><?= $this->e($task['score']) ?></span>
<?php endif ?>
<div class="task-board-title">
<?= $this->a($this->e($task['title']), 'task', 'readonly', array('task_id' => $task['id'], 'token' => $project['token'])) ?>
</div>

View File

@ -954,16 +954,14 @@ span.task-board-date-overdue {
/* task score */
.task-score {
font-weight: bold;
position: absolute;
}
.task-board .task-score {
font-size: 1.6em;
left: 2px;
bottom: 0;
font-size: 1.1em;
}
.task-show-details .task-score {
position: absolute;
bottom: 5px;
right: 5px;
font-size: 2em;

View File

@ -118,16 +118,14 @@ span.task-board-date-overdue {
/* task score */
.task-score {
font-weight: bold;
position: absolute;
}
.task-board .task-score {
font-size: 1.6em;
left: 2px;
bottom: 0;
font-size: 1.1em;
}
.task-show-details .task-score {
position: absolute;
bottom: 5px;
right: 5px;
font-size: 2em;