diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-01-04 21:14:57 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-01-04 21:14:57 -0500 |
commit | d1d04d6feeebeba2aea5333d7a4229fcec799f75 (patch) | |
tree | 51da4416973b2b60f3d50d5acddf2c4c258c1ff3 /app/Template/export/tasks.php | |
parent | 07b07c7697439dc0e6bdf87f65b4b3bd46f6bfc8 (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.php | 24 |
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 |