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/admin.php | 355 ++++++++++++++++++++++--------------------- app/view/templates/info.php | 75 ++++++--- app/view/templates/user.php | 259 ++++++++++++++++--------------- 3 files changed, 372 insertions(+), 317 deletions(-) (limited to 'app/view') diff --git a/app/view/templates/admin.php b/app/view/templates/admin.php index d8255ba..c201d90 100644 --- a/app/view/templates/admin.php +++ b/app/view/templates/admin.php @@ -12,277 +12,286 @@
-
+
+

Administration

+ +
+ + -
-

Administration

+
- -
-
+ +
-

Home page

+
-

Here you can set the home-page view for visitors.

+

Home page

-
- > - -
+

Here you can set the home-page view for visitors.

-
- > - -
+
+ > + +
-
- > - -
+
+ > + +
- > + +
- - - + + + + + - + ?> + - + -
+
-

Page creation

+

Page creation

-

What really happend when you create a new page

+

What really happend when you create a new page

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

Alert pages

-

Alert pages

+

Common options

-

Common options

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

Un-existing

-

Un-existing

+ + This will also be shown as a tooltip over links. + - - This will also be shown as a tooltip over links. - +
+ + > + +
-
- - > - -
+

Private

-

Private

+ + - - +
+ + > + +
-
- - > - -
+

Not published

-

Not published

+ + - - +
+ + > + +
-
- - > - -
+

CSS

-

CSS

+
+ + > + +
-
- - > - -
+

+ You can use body.alert class to specify style. +

-

- You can use body.alert class to specify style. -

+
+ + +
+ -
- - -
- +

Render

-

Render

+
+ + > + +
-
- - > - -
+

Links

-

Links

+
+ + > + +
-
- - > - -
+
+ + > + +
-
- - > - -
+ (This modifications need re-rendering) - (This modifications need re-rendering) +
-
+
-
+

CSS

-

CSS

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

Interface

-

Interface

+

Set interface Style

-

Set interface Style

+ - +
-
+
-
+

Tracking

-

Tracking

+ + - - + (Need rendering to work) - (Need rendering to work) +
-
+
+ +
-
- -
+ - +
+ +
diff --git a/app/view/templates/info.php b/app/view/templates/info.php index f1ca1f9..8f6377b 100644 --- a/app/view/templates/info.php +++ b/app/view/templates/info.php @@ -10,44 +10,73 @@
+ -
+
-

Info

+
+
+
-

Version

+

Info

- +

Version

-

Links

+ - +

Links

-

About

+ -

W-cms was made using these open sources and free components :

+

About

- +

W-cms was made using these open sources and free components :

-

Special thanks to :

+ -🚲 Nicolas Peugnet +

Special thanks to :

-
+ 🚲 Nicolas Peugnet + +
+ + insert('man') ?> + + + -insert('man') ?> 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