summaryrefslogtreecommitdiff
path: root/app/Template/export/summary.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/export/summary.php')
-rw-r--r--app/Template/export/summary.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/app/Template/export/summary.php b/app/Template/export/summary.php
new file mode 100644
index 00000000..191d36b6
--- /dev/null
+++ b/app/Template/export/summary.php
@@ -0,0 +1,26 @@
+<div class="page-header">
+ <h2>
+ <?= t('Daily project summary export for "%s"', $project['name']) ?>
+ </h2>
+</div>
+
+<p class="alert alert-info"><?= t('This export contains the number of tasks per column grouped per day.') ?></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