1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
kanboard_ynh/sources/app/Template/analytic/layout.php

45 lines
1.7 KiB
PHP
Raw Normal View History

2014-12-22 19:15:38 +01:00
<section id="main">
<div class="page-header">
<ul>
2015-08-16 17:04:56 +02:00
<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-th fa-fw"></i>
<?= $this->url->link(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?>
</li>
<li>
<i class="fa fa-calendar fa-fw"></i>
<?= $this->url->link(t('Back to the calendar'), 'calendar', 'show', array('project_id' => $project['id'])) ?>
</li>
<?php if ($this->user->isManager($project['id'])): ?>
<li>
<i class="fa fa-cog fa-fw"></i>
<?= $this->url->link(t('Project settings'), 'project', 'show', array('project_id' => $project['id'])) ?>
</li>
<?php endif ?>
<li>
<i class="fa fa-folder fa-fw"></i>
<?= $this->url->link(t('All projects'), 'project', 'index') ?>
</li>
2014-12-22 19:15:38 +01:00
</ul>
</div>
<section class="sidebar-container" id="analytic-section">
2015-01-16 14:23:05 +01:00
<?= $this->render('analytic/sidebar', array('project' => $project)) ?>
2014-12-22 19:15:38 +01:00
<div class="sidebar-content">
2015-08-16 17:04:56 +02:00
<?= $content_for_sublayout ?>
2014-12-22 19:15:38 +01:00
</div>
</section>
2015-08-16 17:04:56 +02:00
</section>
<?= $this->asset->js('assets/js/vendor/d3.v3.min.js') ?>
<?= $this->asset->js('assets/js/vendor/c3.min.js') ?>