From cdd3895f772d60404c73abf9067b0f0a09e4ebf2 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Wed, 22 Jan 2020 02:14:11 +0100 Subject: admin use actual interface style --- app/view/templates/admin.php | 389 +++++++++++++++++++++---------------------- 1 file changed, 189 insertions(+), 200 deletions(-) (limited to 'app/view') diff --git a/app/view/templates/admin.php b/app/view/templates/admin.php index f7d25b3..7186f26 100644 --- a/app/view/templates/admin.php +++ b/app/view/templates/admin.php @@ -10,284 +10,273 @@
-
+ + +
-

Administration

-
- - -
- - - -
- -
- -

Home page

- -

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

- -
- > - -
- -
- > - -
- -
- > - -
- - - -
- -
-

Page creation

+

Home page

-

What really happend when you create a new page

+

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

- - +
+ form="admin"> + +
+
+ form="admin"> + +
+
+ form="admin"> + +
+ - - - - - - - - - - - -
- -
- - - -

Alert pages

- -

Common options

- - - + + Link to this page (for visitors) - + ?> + - - +

Page creation

+

What really happend when you create a new page

+ + -

Un-existing

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

Private

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

Not published

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

Alert pages

-

CSS

+

Common options

-
- - > - -
+ + -

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

-
- - -
- + + -

Render

-
- - > - -
+ + -

Links

-
- - > - -
+

Un-existing

-
- - > - -
+ + This will also be shown as a tooltip over links. + - (This modifications need re-rendering) +
+ + form="admin"> + +
+

Private

-
+ + +
+ + form="admin"> + +
+

Not published

+ + +
+ + form="admin"> + +
-
+

CSS

-

CSS

+
+ + form="admin"> + +
- - +

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

- - + -
+

Render

+
+ + form="admin"> + +
+

Links

+
+ + form="admin"> + +
+
+ + form="admin"> + +
+ (This modifications need re-rendering) -
-

Interface

-

Set interface Style

+

CSS

- + + -
+ + +

Databases

+

Manage databases

-
+

+ -

Tracking

+ +

- - +

+ + + + +

+

+ - (Need rendering to work) -
+

Interface

+

Set interface Style

+ +

Tracking

-
- -
+ + + (Need rendering to work) -
-- cgit v1.2.3 From 40ef00fee7286a186673ff3fb26b6802421b2bc4 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Thu, 30 Jan 2020 01:54:50 +0100 Subject: work on thumbnail admin --- app/view/templates/admin.php | 12 ++++++++++++ app/view/templates/editleftbar.php | 33 ++++++++++++++++++++++++--------- 2 files changed, 36 insertions(+), 9 deletions(-) (limited to 'app/view') diff --git a/app/view/templates/admin.php b/app/view/templates/admin.php index 7186f26..ab71957 100644 --- a/app/view/templates/admin.php +++ b/app/view/templates/admin.php @@ -229,6 +229,18 @@ ?> + + +

Databases

diff --git a/app/view/templates/editleftbar.php b/app/view/templates/editleftbar.php index 8302090..a7a8be6 100644 --- a/app/view/templates/editleftbar.php +++ b/app/view/templates/editleftbar.php @@ -43,11 +43,26 @@ ?> -
- - - no-thumbnail -
+ + + + + @@ -98,10 +113,6 @@
- templateoptions()) ? 'checked' : '' ?>> - -
-
templateoptions()) ? 'checked' : '' ?>>
@@ -109,6 +120,10 @@ templateoptions()) ? 'checked' : '' ?>> +
+ templateoptions()) ? 'checked' : '' ?>> + +
templateoptions() as $option) { -- cgit v1.2.3 From eab190e895124ef643c2b0574c84f3424857eeac Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Thu, 30 Jan 2020 02:46:19 +0100 Subject: default thumbnail fix #49 --- app/view/templates/admin.php | 2 +- app/view/templates/edit.php | 2 +- app/view/templates/editleftbar.php | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) (limited to 'app/view') diff --git a/app/view/templates/admin.php b/app/view/templates/admin.php index ab71957..57abfcc 100644 --- a/app/view/templates/admin.php +++ b/app/view/templates/admin.php @@ -229,7 +229,7 @@ ?> - + + thumbnail())) { ?> +
+ +
+ + -- cgit v1.2.3 From 27f1fb9c19fa2c2fd28863809ccc6ba526499c0d Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Thu, 30 Jan 2020 03:32:31 +0100 Subject: thumbnail can be changed in multi edit --- app/view/templates/editleftbar.php | 38 ++++++++++---------------------------- app/view/templates/edittopbar.php | 2 +- app/view/templates/home.php | 2 +- app/view/templates/homemenu.php | 12 +++++++++++- 4 files changed, 23 insertions(+), 31 deletions(-) (limited to 'app/view') diff --git a/app/view/templates/editleftbar.php b/app/view/templates/editleftbar.php index cf30624..3004351 100644 --- a/app/view/templates/editleftbar.php +++ b/app/view/templates/editleftbar.php @@ -52,7 +52,9 @@ --no thumbnail--'; + if(!file_exists(Wcms\Model::thumbnailpath() . $page->thumbnail())) { + echo ''; + } foreach ($thumbnaillist as $thumbnail) { ?> @@ -97,6 +99,11 @@ ?> +
+ templateoptions()) ? 'checked' : '' ?>> + +
+ - - templatecss())) { - ?>
templateoptions()) ? 'checked' : '' ?>> @@ -126,20 +129,7 @@ templateoptions()) ? 'checked' : '' ?>>
-
- templateoptions()) ? 'checked' : '' ?>> - -
- templateoptions() as $option) { - if($option != 'externaljavascript') { - echo ''; - } - } - } - - ?> + @@ -155,20 +145,12 @@ - templatejavascript())) { - ?> +
templateoptions()) ? 'checked' : '' ?>>
- templateoptions())) { - echo ''; - } - - } ?> diff --git a/app/view/templates/edittopbar.php b/app/view/templates/edittopbar.php index 5aa13ba..2eefd0f 100644 --- a/app/view/templates/edittopbar.php +++ b/app/view/templates/edittopbar.php @@ -2,7 +2,7 @@ -
+
diff --git a/app/view/templates/home.php b/app/view/templates/home.php index 3ca4556..fafd87b 100644 --- a/app/view/templates/home.php +++ b/app/view/templates/home.php @@ -16,7 +16,7 @@ insert('homemenu', ['user' => $user, 'opt' => $opt, 'optlist' => $optlist, 'pagelist' => $pagelist, 'faviconlist' => $faviconlist, 'editorlist' => $editorlist, 'colors' => $colors]); + $this->insert('homemenu', ['user' => $user, 'opt' => $opt, 'optlist' => $optlist, 'pagelist' => $pagelist, 'faviconlist' => $faviconlist, 'thumbnaillist' => $thumbnaillist, 'editorlist' => $editorlist, 'colors' => $colors]); ?> diff --git a/app/view/templates/homemenu.php b/app/view/templates/homemenu.php index 51a58e9..e437a4e 100644 --- a/app/view/templates/homemenu.php +++ b/app/view/templates/homemenu.php @@ -76,7 +76,7 @@
- Favicon + Images

+ + +
Templates
- + @@ -79,7 +79,8 @@ Images

+ - +
+ Templates

+
+ - +
- +
- +

configuration

+
- +

Home page

@@ -51,11 +51,6 @@
-
- form="admin"> - -
-
form="admin"> @@ -66,7 +61,7 @@ + ?> >--use default BODY element-- + ?> @@ -104,7 +99,7 @@ + ?> Alert pages +

Set the style and text to show when a page does not exist, or when a visitor don't have access to it.

+

Common options

@@ -125,7 +122,7 @@ + ?> @@ -183,7 +180,7 @@ You can use body.alert class to specify style.

- +

Render

@@ -222,7 +219,7 @@ + ?> --no thumbnail-- - - + + - - -

Databases

- -

Manage databases

- -

- - - -

- -

-

- - - -
-

- - -

Interface

Set interface Style

@@ -273,7 +244,7 @@ + ?> - +
+
+
+

Databases

+
+ +
+ + + + + + +
usingdatabasespages
+ + + + +
+ +

Duplicate Database

+ +
+ + + + + + + +
+ + +
+
+
+
diff --git a/app/view/templates/backtopbar.php b/app/view/templates/backtopbar.php index c632d66..c1dd361 100644 --- a/app/view/templates/backtopbar.php +++ b/app/view/templates/backtopbar.php @@ -30,10 +30,6 @@ media -> - - font - isadmin()) { ?> @@ -74,10 +70,7 @@ if($user->isadmin()) { -> - - timeline - + > id() ?> -- cgit v1.2.3