summaryrefslogtreecommitdiff
path: root/app/Template/export/tasks.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-01-04 21:14:57 -0500
committerFrederic Guillot <fred@kanboard.net>2015-01-04 21:14:57 -0500
commitd1d04d6feeebeba2aea5333d7a4229fcec799f75 (patch)
tree51da4416973b2b60f3d50d5acddf2c4c258c1ff3 /app/Template/export/tasks.php
parent07b07c7697439dc0e6bdf87f65b4b3bd46f6bfc8 (diff)
Add subtasks export and move export actions to a specific controller
Diffstat (limited to 'app/Template/export/tasks.php')
-rw-r--r--app/Template/export/tasks.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/Template/export/tasks.php b/app/Template/export/tasks.php
new file mode 100644
index 00000000..e502085c
--- /dev/null
+++ b/app/Template/export/tasks.php
@@ -0,0 +1,24 @@
+<div class="page-header">
+ <h2>
+ <?= t('Tasks exportation for "%s"', $project['name']) ?>
+ </h2>
+</div>
+
+<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