From d68ff648b1995c14506d4c61c9d97dc7f599496f Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 2 Sep 2014 23:41:12 -0800 Subject: Refactoring of user management (ui) --- app/Templates/config_index.php | 174 ++++++++++------------------------- app/Templates/layout.php | 10 +- app/Templates/user_edit.php | 93 +++++-------------- app/Templates/user_external.php | 39 ++++++++ app/Templates/user_index.php | 35 +++++-- app/Templates/user_last.php | 24 +++++ app/Templates/user_layout.php | 19 ++++ app/Templates/user_new.php | 6 +- app/Templates/user_notifications.php | 22 +++++ app/Templates/user_password.php | 23 +++++ app/Templates/user_remove.php | 20 ++-- app/Templates/user_sessions.php | 26 ++++++ app/Templates/user_show.php | 12 +++ app/Templates/user_sidebar.php | 42 +++++++++ 14 files changed, 321 insertions(+), 224 deletions(-) create mode 100644 app/Templates/user_external.php create mode 100644 app/Templates/user_last.php create mode 100644 app/Templates/user_layout.php create mode 100644 app/Templates/user_notifications.php create mode 100644 app/Templates/user_password.php create mode 100644 app/Templates/user_sessions.php create mode 100644 app/Templates/user_show.php create mode 100644 app/Templates/user_sidebar.php (limited to 'app/Templates') diff --git a/app/Templates/config_index.php b/app/Templates/config_index.php index 11662c87..98b8b28d 100644 --- a/app/Templates/config_index.php +++ b/app/Templates/config_index.php @@ -1,143 +1,67 @@
- - -
-
- - - - -
- - -
- - -
- - -
- -
- -
-
-
- -
-

-
+ - + -
+ +
-



+ +
-
- $project_name): ?> - - -
-
- -
-
-
+ +
- -
diff --git a/app/Templates/layout.php b/app/Templates/layout.php index 9bc815c9..30a4e091 100644 --- a/app/Templates/layout.php +++ b/app/Templates/layout.php @@ -57,12 +57,14 @@
  • >
  • -
  • > - -
  • + +
  • > + +
  • +
  • - () + ()
  • diff --git a/app/Templates/user_edit.php b/app/Templates/user_edit.php index 8fba922f..14063d49 100644 --- a/app/Templates/user_edit.php +++ b/app/Templates/user_edit.php @@ -1,79 +1,30 @@ -
    - -
    -
    - - - -
    - - - - - -
    - - -
    + + - -
    + - -
    + + -
    + +
    -
    + +
    - + +
    - -
    + +
    - -
    + +
    + - -
    - - - - -
    - - -
      - -
    • - - - - - -
    • - - - -
    • - - - - - -
    • - -
    -
    - -
    - -
    -
    -
    -
    \ No newline at end of file +
    + +
    + \ No newline at end of file diff --git a/app/Templates/user_external.php b/app/Templates/user_external.php new file mode 100644 index 00000000..727cd2bf --- /dev/null +++ b/app/Templates/user_external.php @@ -0,0 +1,39 @@ + + + +

    + +

    + + + + + + + + + +

    + + + +

    + +

    + + + + + + + + + +

    + + + +

    + diff --git a/app/Templates/user_index.php b/app/Templates/user_index.php index f6302a6b..7e9197b5 100644 --- a/app/Templates/user_index.php +++ b/app/Templates/user_index.php @@ -13,17 +13,23 @@ + - - + + + + + + + diff --git a/app/Templates/user_last.php b/app/Templates/user_last.php new file mode 100644 index 00000000..0b55b0d5 --- /dev/null +++ b/app/Templates/user_last.php @@ -0,0 +1,24 @@ + + + +

    + +
    - + # + + @@ -38,15 +44,24 @@ - - + + + + - - 1): ?> - - - + +
      + +
    • + +
    • + +
    +
    +
    + + + + + + + + + + + + + + +
    + \ No newline at end of file diff --git a/app/Templates/user_layout.php b/app/Templates/user_layout.php new file mode 100644 index 00000000..890b0c0a --- /dev/null +++ b/app/Templates/user_layout.php @@ -0,0 +1,19 @@ +
    + +
    + + $user)) ?> + +
    + +
    +
    +
    \ No newline at end of file diff --git a/app/Templates/user_new.php b/app/Templates/user_new.php index 3e22b7ee..48d7b6d3 100644 --- a/app/Templates/user_new.php +++ b/app/Templates/user_new.php @@ -21,9 +21,6 @@
    - -
    -
    @@ -34,6 +31,9 @@
    + +
    +
    diff --git a/app/Templates/user_notifications.php b/app/Templates/user_notifications.php new file mode 100644 index 00000000..13dd9809 --- /dev/null +++ b/app/Templates/user_notifications.php @@ -0,0 +1,22 @@ + + +
    + + + +
    + +



    + +
    + $project_name): ?> + + +
    +
    + + +
    +
    \ No newline at end of file diff --git a/app/Templates/user_password.php b/app/Templates/user_password.php new file mode 100644 index 00000000..a494e42d --- /dev/null +++ b/app/Templates/user_password.php @@ -0,0 +1,23 @@ + + +
    + + + + + +
    + + +
    + + +
    + +
    + +
    + +
    \ No newline at end of file diff --git a/app/Templates/user_remove.php b/app/Templates/user_remove.php index 45774d27..c20ccbba 100644 --- a/app/Templates/user_remove.php +++ b/app/Templates/user_remove.php @@ -1,14 +1,12 @@ -
    - + -
    -

    +
    +

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

    + + + + + + + + + + + + + + + + + + +
    + diff --git a/app/Templates/user_show.php b/app/Templates/user_show.php new file mode 100644 index 00000000..5d42d3cf --- /dev/null +++ b/app/Templates/user_show.php @@ -0,0 +1,12 @@ + + diff --git a/app/Templates/user_sidebar.php b/app/Templates/user_sidebar.php new file mode 100644 index 00000000..9d8f8b46 --- /dev/null +++ b/app/Templates/user_sidebar.php @@ -0,0 +1,42 @@ +
    +

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