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> <i class="fa fa-file-text-o"></i>
</span> </span>
<?php endif ?> <?php endif ?>
<?php if ($task['score']): ?>
<span class="task-score"><?= $this->e($task['score']) ?></span>
<?php endif ?>
</div> </div>

View File

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

View File

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

View File

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