summaryrefslogtreecommitdiff
path: root/app/Template/calendar/show.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/calendar/show.php')
-rw-r--r--app/Template/calendar/show.php46
1 files changed, 46 insertions, 0 deletions
diff --git a/app/Template/calendar/show.php b/app/Template/calendar/show.php
new file mode 100644
index 00000000..cf2a20ec
--- /dev/null
+++ b/app/Template/calendar/show.php
@@ -0,0 +1,46 @@
+<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('calendar/sidebar', array(
+ 'project' => $project,
+ 'users_list' => $users_list,
+ 'categories_list' => $categories_list,
+ 'columns_list' => $columns_list,
+ 'swimlanes_list' => $swimlanes_list,
+ 'colors_list' => $colors_list,
+ 'status_list' => $status_list
+ )) ?>
+
+ <div class="sidebar-content">
+ <div id="calendar"
+ data-project-id="<?= $project['id'] ?>"
+ data-save-url="<?= $this->url->href('calendar', 'save') ?>"
+ data-check-url="<?= $this->url->href('calendar', 'project', array('project_id' => $project['id'])) ?>"
+ data-check-interval="<?= $check_interval ?>"
+ >
+ </div>
+ </div>
+ </section>
+</section> \ No newline at end of file