summaryrefslogtreecommitdiff
path: root/app/Template/export
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-03-28 12:39:46 -0400
committerFrederic Guillot <fred@kanboard.net>2015-03-28 12:39:46 -0400
commit26fea9b96ba4376a54b5d55b207d3eac040160d7 (patch)
tree5034c38ffff04d8d60becd1c09d4360036ce0927 /app/Template/export
parent87d2c6d99e6eb26b526f5da22b3496e3d02d11ed (diff)
Add task transitions csv export
Diffstat (limited to 'app/Template/export')
-rw-r--r--app/Template/export/transitions.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/app/Template/export/transitions.php b/app/Template/export/transitions.php
new file mode 100644
index 00000000..7cd190e0
--- /dev/null
+++ b/app/Template/export/transitions.php
@@ -0,0 +1,26 @@
+<div class="page-header">
+ <h2>
+ <?= t('Task transitions export') ?>
+ </h2>
+</div>
+
+<p class="alert alert-info"><?= t('This report contains all column moves for each task with the date, the user and the time spent for each transition.') ?></p>
+
+<form method="get" action="?" autocomplete="off">
+
+ <?= $this->formHidden('controller', $values) ?>
+ <?= $this->formHidden('action', $values) ?>
+ <?= $this->formHidden('project_id', $values) ?>
+
+ <?= $this->formLabel(t('Start Date'), 'from') ?>
+ <?= $this->formText('from', $values, $errors, array('required', 'placeholder="'.$this->inList($date_format, $date_formats).'"'), 'form-date') ?><br/>
+
+ <?= $this->formLabel(t('End Date'), 'to') ?>
+ <?= $this->formText('to', $values, $errors, array('required', 'placeholder="'.$this->inList($date_format, $date_formats).'"'), 'form-date') ?>
+
+ <div class="form-help"><?= t('Others formats accepted: %s and %s', date('Y-m-d'), date('Y_m_d')) ?></div>
+
+ <div class="form-actions">
+ <input type="submit" value="<?= t('Execute') ?>" class="btn btn-blue"/>
+ </div>
+</form> \ No newline at end of file