diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-12 22:19:43 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-12 22:19:43 -0500 |
commit | fde0c0bad5058e65ec1a676da6b0d0f2511e6a85 (patch) | |
tree | c16565ea85a859e2dd65225bc535b5df13a8dd9a /app/Template/category/index.php | |
parent | dfd0c4e48d339e5a8ae6365dfe2b9c9c2edca7e7 (diff) |
Add dropdown menu for column 'Actions' in tables
Diffstat (limited to 'app/Template/category/index.php')
-rw-r--r-- | app/Template/category/index.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/Template/category/index.php b/app/Template/category/index.php index dba537d0..4602f3b9 100644 --- a/app/Template/category/index.php +++ b/app/Template/category/index.php @@ -5,12 +5,14 @@ <table> <tr> <th><?= t('Category Name') ?></th> - <th><?= t('Actions') ?></th> + <th class="column-8"><?= t('Actions') ?></th> </tr> <?php foreach ($categories as $category_id => $category_name): ?> <tr> <td><?= $this->e($category_name) ?></td> <td> + <div class="dropdown"> + <a href="#" class="dropdown-menu dropdown-menu-link-icon"><i class="fa fa-cog fa-fw"></i><i class="fa fa-caret-down"></i></a> <ul> <li> <?= $this->url->link(t('Edit'), 'category', 'edit', array('project_id' => $project['id'], 'category_id' => $category_id)) ?> @@ -19,6 +21,7 @@ <?= $this->url->link(t('Remove'), 'category', 'confirm', array('project_id' => $project['id'], 'category_id' => $category_id)) ?> </li> </ul> + </div> </td> </tr> <?php endforeach ?> |