From 9194a2604d79ef97994d01c35fb454f745b5412c Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 30 Aug 2014 14:08:46 -0800 Subject: Projects management refactoring --- app/Templates/action_index.php | 127 +++++++++++++++++------------------- app/Templates/action_params.php | 72 ++++++++++---------- app/Templates/action_remove.php | 24 ++++--- app/Templates/board_edit.php | 116 +++++++++++++++----------------- app/Templates/board_remove.php | 26 ++++---- app/Templates/category_edit.php | 34 ++++------ app/Templates/category_index.php | 80 ++++++++++------------- app/Templates/project_disable.php | 14 ++++ app/Templates/project_duplicate.php | 14 ++++ app/Templates/project_edit.php | 34 ++++------ app/Templates/project_enable.php | 14 ++++ app/Templates/project_export.php | 45 +++++-------- app/Templates/project_index.php | 109 ++++++------------------------- app/Templates/project_layout.php | 17 +++++ app/Templates/project_remove.php | 24 ++++--- app/Templates/project_share.php | 18 +++++ app/Templates/project_show.php | 50 ++++++++++++++ app/Templates/project_sidebar.php | 47 +++++++++++++ app/Templates/project_users.php | 70 +++++++++----------- 19 files changed, 486 insertions(+), 449 deletions(-) create mode 100644 app/Templates/project_disable.php create mode 100644 app/Templates/project_duplicate.php create mode 100644 app/Templates/project_enable.php create mode 100644 app/Templates/project_layout.php create mode 100644 app/Templates/project_share.php create mode 100644 app/Templates/project_show.php create mode 100644 app/Templates/project_sidebar.php (limited to 'app/Templates') diff --git a/app/Templates/action_index.php b/app/Templates/action_index.php index 36c333a9..c21395fd 100644 --- a/app/Templates/action_index.php +++ b/app/Templates/action_index.php @@ -1,77 +1,70 @@ -
- -
+ - + -

- - - - - - - +

+
+ + + + + + - - - - - - - - + + + + + + + + -
-
    - -
  • - = - - - - - - - - - - - - - -
  • - -
-
- -
+
    + +
  • + = + + + + + + + + + + + + + +
  • + +
+
+ +
+ - + -

-
- - +

+ + + - -
+ +
- -
+ +
-
- -
+
+ +
-
- -
-
-
-
\ No newline at end of file +
+ +
+ \ No newline at end of file diff --git a/app/Templates/action_params.php b/app/Templates/action_params.php index da685860..92d16288 100644 --- a/app/Templates/action_params.php +++ b/app/Templates/action_params.php @@ -1,43 +1,37 @@ -
- -
+ +
-

-
- - - - +

+ + + + + - $param_desc): ?> + $param_desc): ?> - - -
- - -
- - -
- - -
- - -
- - + + +
+ + +
+ + +
+ + +
+ + +
+ + -
- - -
-
-
-
\ No newline at end of file +
+ + +
+ \ No newline at end of file diff --git a/app/Templates/action_remove.php b/app/Templates/action_remove.php index 13679eab..4b574f11 100644 --- a/app/Templates/action_remove.php +++ b/app/Templates/action_remove.php @@ -1,16 +1,14 @@ -
- + -
-

- -

+
+

+ +

-
- - -
+
+ +
-
\ No newline at end of file + \ No newline at end of file diff --git a/app/Templates/board_edit.php b/app/Templates/board_edit.php index 05d9a6f6..8832e71d 100644 --- a/app/Templates/board_edit.php +++ b/app/Templates/board_edit.php @@ -1,66 +1,58 @@ -
- -
+ +
-

-
- - - - - - - - - - - - - - - - - -
-
    - -
  • - -
  • - - -
  • - -
  • - -
  • - -
  • -
-
+

+ + + + + + + + + + + + + + + + + + +
+
    + +
  • + +
  • + + +
  • + +
  • + +
  • + +
  • +
+
-
- - -
-
+
+ +
+ -

-
- - - - +

+ + + + + -
- - -
-
-
-
\ No newline at end of file +
+ +
+ \ No newline at end of file diff --git a/app/Templates/board_remove.php b/app/Templates/board_remove.php index 76c217b3..d6fa9a88 100644 --- a/app/Templates/board_remove.php +++ b/app/Templates/board_remove.php @@ -1,17 +1,15 @@ -
- + -
-

- - -

+
+

+ + +

-
- - -
+
+ +
-
\ No newline at end of file + \ No newline at end of file diff --git a/app/Templates/category_edit.php b/app/Templates/category_edit.php index 327acce6..278d7e12 100644 --- a/app/Templates/category_edit.php +++ b/app/Templates/category_edit.php @@ -1,24 +1,16 @@ -
- -
- -
- - - + - - + + + + -
- -
-
+ + -
-
\ No newline at end of file +
+ +
+ \ No newline at end of file diff --git a/app/Templates/category_index.php b/app/Templates/category_index.php index 18e81b78..4635406e 100644 --- a/app/Templates/category_index.php +++ b/app/Templates/category_index.php @@ -1,49 +1,41 @@ -
- -
- - - - - - - - $category_name): ?> - - - - - -
-
    -
  • - -
  • -
  • - -
  • -
-
- + -

-
+ + + + + + + $category_name): ?> + + + + + +
+
    +
  • + +
  • +
  • + +
  • +
+
+ - - +

+ - - + + -
- -
-
+ + -
-
\ No newline at end of file +
+ +
+ \ No newline at end of file diff --git a/app/Templates/project_disable.php b/app/Templates/project_disable.php new file mode 100644 index 00000000..39f55570 --- /dev/null +++ b/app/Templates/project_disable.php @@ -0,0 +1,14 @@ + + +
+

+ +

+ +
+ + +
+
\ No newline at end of file diff --git a/app/Templates/project_duplicate.php b/app/Templates/project_duplicate.php new file mode 100644 index 00000000..32cbd5d8 --- /dev/null +++ b/app/Templates/project_duplicate.php @@ -0,0 +1,14 @@ + + +
+

+ +

+ +
+ + +
+
\ No newline at end of file diff --git a/app/Templates/project_edit.php b/app/Templates/project_edit.php index a882fbc6..4c9420f0 100644 --- a/app/Templates/project_edit.php +++ b/app/Templates/project_edit.php @@ -1,25 +1,17 @@ -
- -
-
+ + - - + + - - + + -
+
-
- - -
-
-
-
\ No newline at end of file +
+ +
+ \ No newline at end of file diff --git a/app/Templates/project_enable.php b/app/Templates/project_enable.php new file mode 100644 index 00000000..d2fce9f3 --- /dev/null +++ b/app/Templates/project_enable.php @@ -0,0 +1,14 @@ + + +
+

+ +

+ +
+ + +
+
\ No newline at end of file diff --git a/app/Templates/project_export.php b/app/Templates/project_export.php index 946a68a8..46b4f369 100644 --- a/app/Templates/project_export.php +++ b/app/Templates/project_export.php @@ -1,33 +1,24 @@ -
- -
- -
+ - - - + - -
+ + + - - + +
-
+ + -
- -
-
+
-
-
\ No newline at end of file +
+ +
+ \ No newline at end of file diff --git a/app/Templates/project_index.php b/app/Templates/project_index.php index dc71033f..8b103c52 100644 --- a/app/Templates/project_index.php +++ b/app/Templates/project_index.php @@ -8,99 +8,32 @@
- +

- - - - - - - - - - - - - - - - - - - - - -
- - - - -
    - 0): ?> - - 0): ?> -
  • - - - 0): ?> -
  • - + +

    +
      + +
    • + +
    • + +
    + -
  • + +

    +
      + +
    • + +
    • + +
    + - -
  • - -
-
-
    - -
  • - () -
  • - -
-
-
    -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - - - - - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
-
\ No newline at end of file diff --git a/app/Templates/project_layout.php b/app/Templates/project_layout.php new file mode 100644 index 00000000..c8cc9236 --- /dev/null +++ b/app/Templates/project_layout.php @@ -0,0 +1,17 @@ +
+ +
+ + $project)) ?> + +
+ +
+
+
\ No newline at end of file diff --git a/app/Templates/project_remove.php b/app/Templates/project_remove.php index e25efa2f..00771b5f 100644 --- a/app/Templates/project_remove.php +++ b/app/Templates/project_remove.php @@ -1,16 +1,14 @@ -
- + -
-

- -

+
+

+ +

-
- - -
+
+ +
-
\ No newline at end of file + \ No newline at end of file diff --git a/app/Templates/project_share.php b/app/Templates/project_share.php new file mode 100644 index 00000000..62e05b73 --- /dev/null +++ b/app/Templates/project_share.php @@ -0,0 +1,18 @@ + + + + +
+
+ +
+ + + + + + + + diff --git a/app/Templates/project_show.php b/app/Templates/project_show.php new file mode 100644 index 00000000..12b0ae64 --- /dev/null +++ b/app/Templates/project_show.php @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + +
diff --git a/app/Templates/project_sidebar.php b/app/Templates/project_sidebar.php new file mode 100644 index 00000000..d711e347 --- /dev/null +++ b/app/Templates/project_sidebar.php @@ -0,0 +1,47 @@ +
+

+
+
    +
  • + +
  • +
  • + +
  • + + +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + + + + + +
  • +
  • + +
  • + +
+
+
\ No newline at end of file diff --git a/app/Templates/project_users.php b/app/Templates/project_users.php index 8afac709..dca3524f 100644 --- a/app/Templates/project_users.php +++ b/app/Templates/project_users.php @@ -1,46 +1,36 @@ -
- -
+ - -
+ +
+ +
+

+
    + $username): ?> +
  • + + () +
  • + +
+

+
+ - + + - $project['id'])) ?> + - -
+ $project['id'])) ?> -
- - -
-
- + +
-

- -
- -
-

-
    - $username): ?> -
  • - - () -
  • - -
-

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