From f9c24f3c2c46eccd18e70704c0e8767fa6023206 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 17 May 2014 18:26:17 -0400 Subject: Add the possibility to remove a task --- templates/task_close.php | 22 ++--- templates/task_layout.php | 16 ++++ templates/task_remove.php | 10 +++ templates/task_show.php | 196 +++++++++++++++++++-------------------------- templates/task_sidebar.php | 17 ++++ 5 files changed, 133 insertions(+), 128 deletions(-) create mode 100644 templates/task_layout.php create mode 100644 templates/task_remove.php create mode 100644 templates/task_sidebar.php (limited to 'templates') diff --git a/templates/task_close.php b/templates/task_close.php index 6bc32813..3531b37d 100644 --- a/templates/task_close.php +++ b/templates/task_close.php @@ -1,16 +1,10 @@ -
- - -
-

- -

+
+

+ +

-
- - -
+
+ +
-
\ No newline at end of file + \ No newline at end of file diff --git a/templates/task_layout.php b/templates/task_layout.php new file mode 100644 index 00000000..9a6bbd00 --- /dev/null +++ b/templates/task_layout.php @@ -0,0 +1,16 @@ +
+ +
+ + $task)) ?> + +
+ +
+
+
\ No newline at end of file diff --git a/templates/task_remove.php b/templates/task_remove.php new file mode 100644 index 00000000..1aa9503b --- /dev/null +++ b/templates/task_remove.php @@ -0,0 +1,10 @@ +
+

+ +

+ +
+ + +
+
\ No newline at end of file diff --git a/templates/task_show.php b/templates/task_show.php index b16a20a0..f0cea410 100644 --- a/templates/task_show.php +++ b/templates/task_show.php @@ -1,121 +1,89 @@ -
- -
- -
- -

-
-
    -
  • -
  • -
  • - - - - - -
  • -
-
-
- -
-
-

- - - -
    -
  • - -
  • - -
  • - -
  • - - -
  • - -
  • - -
  • - - - - - - - -
  • -
  • - - - () -
  • -
  • - - - - - -
  • -
-
+
+

+ + + +
    +
  • + +
  • + +
  • + +
  • + + +
  • + +
  • + +
  • + + + + + + + +
  • +
  • + + + () +
  • +
  • + + + + + +
  • +
+
-

- -
- -
- -
+

+ +
+ +
+ + - -
-
+ +
+
-
- -
-
- - -

- -
    - - $comment, - 'task' => $task, - 'display_edit_form' => $comment['id'] == $comment_edit_form['values']['id'], - 'values' => $comment_edit_form['values'] + array('comment' => $comment['comment']), - 'errors' => $comment_edit_form['errors'] - )) ?> - -
- +
+ +
+ + - -
+

+ +
    + + $comment, + 'task' => $task, + 'display_edit_form' => $comment['id'] == $comment_edit_form['values']['id'], + 'values' => $comment_edit_form['values'] + array('comment' => $comment['comment']), + 'errors' => $comment_edit_form['errors'] + )) ?> + +
+ - - -
-
+ + -
- -
-
- -
+ + +
+
-
-
+
+ +
+ + \ No newline at end of file diff --git a/templates/task_sidebar.php b/templates/task_sidebar.php new file mode 100644 index 00000000..314d5214 --- /dev/null +++ b/templates/task_sidebar.php @@ -0,0 +1,17 @@ +
+

+
+
    +
  • +
  • +
  • + + + + + +
  • +
  • +
+
+
\ No newline at end of file -- cgit v1.2.3