From 9fc3c177b3228f7d68ce464a7d5056002ca9a8d0 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Mon, 20 Jan 2020 10:22:19 +0100 Subject: refactoring ui for info user admin sections --- app/view/templates/user.php | 259 +++++++++++++++++++++++--------------------- 1 file changed, 138 insertions(+), 121 deletions(-) (limited to 'app/view/templates/user.php') diff --git a/app/view/templates/user.php b/app/view/templates/user.php index 21a7639..f281c93 100644 --- a/app/view/templates/user.php +++ b/app/view/templates/user.php @@ -10,157 +10,174 @@
-
+
+
-
+ +

User : id() ?>

+ +
-

User : id() ?>

-

Infos

+

Infos

-

Connections count : connectcount() ?>

+

Connections count : connectcount() ?>

-

Account will expire in : expiredate('hrdi') ?>

+

Account will expire in : expiredate('hrdi') ?>

-

Preferences

+

Preferences

-
+ -

- - - -

- -
- -
- - -isadmin()) { ?> - -
- -

Admin panel

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

+ + + +

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

Admin panel

+ +
+ +
idpasswordhashlevelset expiration dateactionexpireconnect
- - - - - - - - - - - - - - - - -
- id() ?> - - - - passwordhashed() ? '🔑' : '' ?> - - - - expiredate() !== false ? 'value="' . $user->expiredate('string') . '"' : '' ?>> - reset + isadmin()) { ?> + +
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - + - + +
idpasswordhashlevelset expiration dateactionexpireconnect
+ + + + + + + + + + + + + + + + +
+ id() ?> + + + + passwordhashed() ? '🔑' : '' ?> + + + + expiredate() !== false ? 'value="' . $user->expiredate('string') . '"' : '' ?>> + reset + + + + + + + + - - - - - + expiredate('hrdi') ?> + + connectcount() ?> + - expiredate('hrdi') ?> -
- connectcount() ?> -
- - +
- + - - +
+ -
-- cgit v1.2.3