summaryrefslogtreecommitdiff
path: root/app/Template/export/tasks.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/export/tasks.php')
-rw-r--r--app/Template/export/tasks.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/app/Template/export/tasks.php b/app/Template/export/tasks.php
new file mode 100644
index 00000000..c74c8f98
--- /dev/null
+++ b/app/Template/export/tasks.php
@@ -0,0 +1,26 @@
+<div class="page-header">
+ <h2>
+ <?= t('Tasks exportation for "%s"', $project['name']) ?>
+ </h2>
+</div>
+
+<p class="alert alert-info"><?= t('This report contains all tasks information for the given date range.') ?></p>
+
+<form method="get" action="?" autocomplete="off">
+
+ <?= $this->form->hidden('controller', $values) ?>
+ <?= $this->form->hidden('action', $values) ?>
+ <?= $this->form->hidden('project_id', $values) ?>
+
+ <?= $this->form->label(t('Start Date'), 'from') ?>
+ <?= $this->form->text('from', $values, $errors, array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?><br/>
+
+ <?= $this->form->label(t('End Date'), 'to') ?>
+ <?= $this->form->text('to', $values, $errors, array('required', 'placeholder="'.$this->text->in($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