summaryrefslogtreecommitdiff
path: root/templates/board_index.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-05-22 12:28:28 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-05-22 12:28:28 -0400
commit2230dd4e6b148346c0ec596b9e3e12996a762ed8 (patch)
treeef99ccde4f8b18592a3fb06a6ec45162c501fe38 /templates/board_index.php
parenta750b8ab2a0cb715da6fd9025a7ec8375db68a4d (diff)
Code refactoring (add autoloader and change files organization)
Diffstat (limited to 'templates/board_index.php')
-rw-r--r--templates/board_index.php42
1 files changed, 0 insertions, 42 deletions
diff --git a/templates/board_index.php b/templates/board_index.php
deleted file mode 100644
index 989c2e06..00000000
--- a/templates/board_index.php
+++ /dev/null
@@ -1,42 +0,0 @@
-<section id="main">
-
- <div class="page-header board">
- <h2>
- <?= t('Project "%s"', $current_project_name) ?>
- </h2>
- <ul>
- <?php foreach ($projects as $project_id => $project_name): ?>
- <?php if ($project_id != $current_project_id): ?>
- <li>
- <a href="?controller=board&amp;action=show&amp;project_id=<?= $project_id ?>"><?= Helper\escape($project_name) ?></a>
- </li>
- <?php endif ?>
- <?php endforeach ?>
- </ul>
- </div>
-
- <div class="project-menu">
- <ul>
- <li>
- <?= t('Filter by user') ?>
- <?= Helper\form_select('user_id', $users, $filters) ?>
- </li>
- <li>
- <?= t('Filter by category') ?>
- <?= Helper\form_select('category_id', $categories, $filters) ?>
- </li>
- <li><a href="#" id="filter-due-date"><?= t('Filter by due date') ?></a></li>
- <li><a href="?controller=project&amp;action=search&amp;project_id=<?= $current_project_id ?>"><?= t('Search') ?></a></li>
- <li><a href="?controller=project&amp;action=tasks&amp;project_id=<?= $current_project_id ?>"><?= t('Completed tasks') ?></a></li>
- </ul>
- </div>
-
- <?php if (empty($board)): ?>
- <p class="alert alert-error"><?= t('There is no column in your project!') ?></p>
- <?php else: ?>
- <?= Helper\template('board_show', array('current_project_id' => $current_project_id, 'board' => $board, 'categories' => $categories)) ?>
- <?php endif ?>
-
-</section>
-
-<script type="text/javascript" src="assets/js/board.js"></script>