From 9ca2ba21272ddb1958e0b5b2f5842cde42508139 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 11 Apr 2015 23:01:17 -0400 Subject: Add burndown chart --- app/Template/analytic/burndown.php | 34 ++++++++++++++++++++++++++++++++++ app/Template/analytic/sidebar.php | 3 +++ 2 files changed, 37 insertions(+) create mode 100644 app/Template/analytic/burndown.php (limited to 'app/Template') diff --git a/app/Template/analytic/burndown.php b/app/Template/analytic/burndown.php new file mode 100644 index 00000000..5ebe1032 --- /dev/null +++ b/app/Template/analytic/burndown.php @@ -0,0 +1,34 @@ + + + +

+ +
+
+
+ + +
+ +
+ + formCsrf() ?> + +
+ formLabel(t('Start Date'), 'from') ?> + formText('from', $values, array(), array('required', 'placeholder="'.$this->inList($date_format, $date_formats).'"'), 'form-date') ?> +
+ +
+ formLabel(t('End Date'), 'to') ?> + formText('to', $values, array(), array('required', 'placeholder="'.$this->inList($date_format, $date_formats).'"'), 'form-date') ?> +
+ +
+ +
+
+ +

diff --git a/app/Template/analytic/sidebar.php b/app/Template/analytic/sidebar.php index a7076db9..f3515281 100644 --- a/app/Template/analytic/sidebar.php +++ b/app/Template/analytic/sidebar.php @@ -10,5 +10,8 @@
  • a(t('Cumulative flow diagram'), 'analytic', 'cfd', array('project_id' => $project['id'])) ?>
  • +
  • + a(t('Burndown chart'), 'analytic', 'burndown', array('project_id' => $project['id'])) ?> +
  • \ No newline at end of file -- cgit v1.2.3