summaryrefslogtreecommitdiff
path: root/app/Template/task_list
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-19 18:27:57 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-19 18:27:57 -0500
commita43f71dda953ab1ca130af875b221569e4767f05 (patch)
tree33d6f7e650110bbdc5e7bf415b3f5da7735e74d6 /app/Template/task_list
parentb5c56d4239c1f4e5c1b7894803c899b595797a26 (diff)
Redesign project list view
Diffstat (limited to 'app/Template/task_list')
-rw-r--r--app/Template/task_list/header.php6
-rw-r--r--app/Template/task_list/listing.php4
-rw-r--r--app/Template/task_list/task_avatars.php2
-rw-r--r--app/Template/task_list/task_details.php4
-rw-r--r--app/Template/task_list/task_title.php2
5 files changed, 9 insertions, 9 deletions
diff --git a/app/Template/task_list/header.php b/app/Template/task_list/header.php
index c0f9df96..fb05dbdc 100644
--- a/app/Template/task_list/header.php
+++ b/app/Template/task_list/header.php
@@ -1,12 +1,12 @@
-<div class="task-list-header">
- <div class="task-list-header-count">
+<div class="table-list-header">
+ <div class="table-list-header-count">
<?php if ($paginator->getTotal() > 1): ?>
<?= t('%d tasks', $paginator->getTotal()) ?>
<?php else: ?>
<?= t('%d task', $paginator->getTotal()) ?>
<?php endif ?>
</div>
- <div class="task-list-header-menu">
+ <div class="table-list-header-menu">
<?= $this->render('task_list/sort_menu', array('paginator' => $paginator)) ?>
</div>
</div> \ No newline at end of file
diff --git a/app/Template/task_list/listing.php b/app/Template/task_list/listing.php
index 793c13d4..171c148d 100644
--- a/app/Template/task_list/listing.php
+++ b/app/Template/task_list/listing.php
@@ -4,10 +4,10 @@
<?php if ($paginator->isEmpty()): ?>
<p class="alert"><?= t('No tasks found.') ?></p>
<?php elseif (! $paginator->isEmpty()): ?>
- <div class="task-list">
+ <div class="table-list">
<?= $this->render('task_list/header', array('paginator' => $paginator)) ?>
<?php foreach ($paginator->getCollection() as $task): ?>
- <div class="task-list-row color-<?= $task['color_id'] ?>">
+ <div class="table-list-row color-<?= $task['color_id'] ?>">
<?= $this->render('task_list/task_title', array(
'task' => $task,
)) ?>
diff --git a/app/Template/task_list/task_avatars.php b/app/Template/task_list/task_avatars.php
index 6a43b1a6..143fd8ea 100644
--- a/app/Template/task_list/task_avatars.php
+++ b/app/Template/task_list/task_avatars.php
@@ -17,4 +17,4 @@
) ?><span class="task-avatar-assignee"><?= $this->text->e($task['assignee_name'] ?: $task['assignee_username']) ?></span>
</span>
</div>
-<?php endif ?> \ No newline at end of file
+<?php endif ?>
diff --git a/app/Template/task_list/task_details.php b/app/Template/task_list/task_details.php
index 33ae380a..78b7ede7 100644
--- a/app/Template/task_list/task_details.php
+++ b/app/Template/task_list/task_details.php
@@ -1,4 +1,4 @@
-<div class="task-list-details">
+<div class="table-list-details">
<?= $this->text->e($task['project_name']) ?> &gt;
<?= $this->text->e($task['swimlane_name']) ?> &gt;
<?= $this->text->e($task['column_name']) ?>
@@ -20,4 +20,4 @@
<?php endif ?>
</span>
<?php endif ?>
-</div> \ No newline at end of file
+</div>
diff --git a/app/Template/task_list/task_title.php b/app/Template/task_list/task_title.php
index 5e9c7284..028e9b70 100644
--- a/app/Template/task_list/task_title.php
+++ b/app/Template/task_list/task_title.php
@@ -5,7 +5,7 @@
<strong><?= '#'.$task['id'] ?></strong>
<?php endif ?>
- <span class="task-list-title <?= $task['is_active'] == 0 ? 'task-closed' : '' ?>">
+ <span class="table-list-title <?= $task['is_active'] == 0 ? 'status-closed' : '' ?>">
<?= $this->url->link($this->text->e($task['title']), 'TaskViewController', 'show', array('project_id' => $task['project_id'], 'task_id' => $task['id'])) ?>
</span>
</div>