summaryrefslogtreecommitdiff
path: root/app/Template/analytic/layout.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-09 17:59:02 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-09 17:59:02 -0500
commite89ba5e9e692f33427fedb05a095255f27480a6b (patch)
tree59cbca6ac75a8eff45be14f6ae4ab487e0a427b1 /app/Template/analytic/layout.php
parent3df63e051fac84cec98c912668722f87d6e8183e (diff)
Analytics: add the first graph (task repartition)
Diffstat (limited to 'app/Template/analytic/layout.php')
-rw-r--r--app/Template/analytic/layout.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/Template/analytic/layout.php b/app/Template/analytic/layout.php
new file mode 100644
index 00000000..2dd7a4f5
--- /dev/null
+++ b/app/Template/analytic/layout.php
@@ -0,0 +1,18 @@
+<?= Helper\js('assets/js/d3.v3.4.8.min.js') ?>
+<?= Helper\js('assets/js/dimple.v2.1.0.min.js') ?>
+
+<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>
+ </ul>
+ </div>
+ <section class="sidebar-container" id="analytic-section">
+
+ <?= Helper\template('analytic/sidebar', array('project' => $project)) ?>
+
+ <div class="sidebar-content">
+ <?= $analytic_content_for_layout ?>
+ </div>
+ </section>
+</section> \ No newline at end of file