summaryrefslogtreecommitdiff
path: root/app/Template/project/layout.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project/layout.php')
-rw-r--r--app/Template/project/layout.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/app/Template/project/layout.php b/app/Template/project/layout.php
new file mode 100644
index 00000000..7bb3d478
--- /dev/null
+++ b/app/Template/project/layout.php
@@ -0,0 +1,32 @@
+<section id="main">
+ <div class="page-header">
+ <ul>
+ <li>
+ <span class="dropdown">
+ <span>
+ <i class="fa fa-caret-down"></i> <a href="#" class="dropdown-menu"><?= t('Actions') ?></a>
+ <ul>
+ <?= $this->render('project/dropdown', array('project' => $project)) ?>
+ </ul>
+ </span>
+ </span>
+ </li>
+ <li>
+ <i class="fa fa-table fa-fw"></i>
+ <?= $this->url->link(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?>
+ </li>
+ <li>
+ <i class="fa fa-folder fa-fw"></i>
+ <?= $this->url->link(t('All projects'), 'project', 'index') ?>
+ </li>
+ </ul>
+ </div>
+ <section class="sidebar-container">
+
+ <?= $this->render($sidebar_template, array('project' => $project)) ?>
+
+ <div class="sidebar-content">
+ <?= $project_content_for_layout ?>
+ </div>
+ </section>
+</section> \ No newline at end of file