diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-08-07 12:51:03 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-08-07 12:51:03 -0400 |
commit | 69c6271c6e43451a3da945d60a5435e224e7c782 (patch) | |
tree | 348c8006d407975b1a55fa6eaa78368fba910575 /app/Template/header/board_selector.php | |
parent | 590d2c239637269c66bcc39d7c72fda6a564efcc (diff) |
Convert application header to grid system
Diffstat (limited to 'app/Template/header/board_selector.php')
-rw-r--r-- | app/Template/header/board_selector.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/Template/header/board_selector.php b/app/Template/header/board_selector.php new file mode 100644 index 00000000..b42d47f9 --- /dev/null +++ b/app/Template/header/board_selector.php @@ -0,0 +1,13 @@ +<select id="board-selector" + class="chosen-select select-auto-redirect" + tabindex="-1" + data-search-threshold="0" + data-notfound="<?= t('No results match:') ?>" + data-placeholder="<?= t('Display another project') ?>" + data-redirect-regex="PROJECT_ID" + data-redirect-url="<?= $this->url->href('BoardViewController', 'show', array('project_id' => 'PROJECT_ID')) ?>"> + <option value=""></option> + <?php foreach ($board_selector as $board_id => $board_name): ?> + <option value="<?= $board_id ?>"><?= $this->text->e($board_name) ?></option> + <?php endforeach ?> +</select> |