summaryrefslogtreecommitdiff
path: root/app/Template/project/layout.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-01 21:23:46 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-01 21:23:46 -0500
commit50a9e2ba7db6a155cee75771d73c584d721cf687 (patch)
treecf985e7050b9293e2ec4b13d40689a4a0b10644f /app/Template/project/layout.php
parent67eae33fb88e840047a33558de56090d8bcc62fb (diff)
Move project templates to a subfolder
Diffstat (limited to 'app/Template/project/layout.php')
-rw-r--r--app/Template/project/layout.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/Template/project/layout.php b/app/Template/project/layout.php
new file mode 100644
index 00000000..27a93021
--- /dev/null
+++ b/app/Template/project/layout.php
@@ -0,0 +1,16 @@
+<section id="main">
+ <div class="page-header">
+ <ul>
+ <li><i class="fa fa-table fa-fw"></i><?= Helper\a(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?></li>
+ <li><i class="fa fa-folder fa-fw"></i><?= Helper\a(t('All projects'), 'project', 'index') ?></li>
+ </ul>
+ </div>
+ <section class="sidebar-container" id="project-section">
+
+ <?= Helper\template('project/sidebar', array('project' => $project)) ?>
+
+ <div class="sidebar-content">
+ <?= $project_content_for_layout ?>
+ </div>
+ </section>
+</section> \ No newline at end of file