summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-05-23 13:41:57 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-05-23 13:41:57 -0400
commit86bc091f21911eee328514534af88973b4922063 (patch)
treee2db1bc1202ba5d0b5e36dc8bcfe7791b75ba3d1 /app
parent14c2998c4ac0a56857014fb8b4d403b52dbc686e (diff)
Improve responsive design
Diffstat (limited to 'app')
-rw-r--r--app/Templates/board_index.php4
-rw-r--r--app/Templates/project_index.php10
2 files changed, 8 insertions, 6 deletions
diff --git a/app/Templates/board_index.php b/app/Templates/board_index.php
index 989c2e06..8e664219 100644
--- a/app/Templates/board_index.php
+++ b/app/Templates/board_index.php
@@ -18,11 +18,11 @@
<div class="project-menu">
<ul>
<li>
- <?= t('Filter by user') ?>
+ <span class="hide-tablet"><?= t('Filter by user') ?></span>
<?= Helper\form_select('user_id', $users, $filters) ?>
</li>
<li>
- <?= t('Filter by category') ?>
+ <span class="hide-tablet"><?= t('Filter by category') ?></span>
<?= Helper\form_select('category_id', $categories, $filters) ?>
</li>
<li><a href="#" id="filter-due-date"><?= t('Filter by due date') ?></a></li>
diff --git a/app/Templates/project_index.php b/app/Templates/project_index.php
index df153fe7..1a3dbd49 100644
--- a/app/Templates/project_index.php
+++ b/app/Templates/project_index.php
@@ -31,21 +31,23 @@
<?= $project['is_active'] ? t('Active') : t('Inactive') ?>
</td>
<td>
+ <ul>
<?php if ($project['nb_tasks'] > 0): ?>
<?php if ($project['nb_active_tasks'] > 0): ?>
- <a href="?controller=board&amp;action=show&amp;project_id=<?= $project['id'] ?>"><?= t('%d tasks on the board', $project['nb_active_tasks']) ?></a>,
+ <li><a href="?controller=board&amp;action=show&amp;project_id=<?= $project['id'] ?>"><?= t('%d tasks on the board', $project['nb_active_tasks']) ?></a></li>
<?php endif ?>
<?php if ($project['nb_inactive_tasks'] > 0): ?>
- <a href="?controller=project&amp;action=tasks&amp;project_id=<?= $project['id'] ?>"><?= t('%d closed tasks', $project['nb_inactive_tasks']) ?></a>,
+ <li><a href="?controller=project&amp;action=tasks&amp;project_id=<?= $project['id'] ?>"><?= t('%d closed tasks', $project['nb_inactive_tasks']) ?></a></li>
<?php endif ?>
- <?= t('%d tasks in total', $project['nb_tasks']) ?>
+ <li><?= t('%d tasks in total', $project['nb_tasks']) ?></li>
<?php else: ?>
- <?= t('no task for this project') ?>
+ <li><?= t('no task for this project') ?></li>
<?php endif ?>
+ </ul>
</td>
<td>
<ul>