From 703d6df12b4b72af992f6c1e957fc8738bdf3553 Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Wed, 10 Feb 2021 13:00:07 +0100 Subject: [PATCH] Updated Labs UI --- ghost/admin/app/templates/designsandbox.hbs | 38 +++ ghost/admin/app/templates/settings/labs.hbs | 313 ++++++++++---------- 2 files changed, 195 insertions(+), 156 deletions(-) diff --git a/ghost/admin/app/templates/designsandbox.hbs b/ghost/admin/app/templates/designsandbox.hbs index e95f959c5d..0d72a79218 100644 --- a/ghost/admin/app/templates/designsandbox.hbs +++ b/ghost/admin/app/templates/designsandbox.hbs @@ -60,5 +60,43 @@ +

Setting area

+ +
+

Section title

+
+
+
+
+

Title

+

Description

+
+
[ACTION]
+
+
[CONTENT - OPTIONAL / HIDDEN FOR EXPANDABLE]
+
+ +
+
+
+

Title

+

Description

+
+
[ACTION]
+
+
+ +
+
+
+

Title

+

Description

+
+
[ACTION]
+
+
+
+
+ \ No newline at end of file diff --git a/ghost/admin/app/templates/settings/labs.hbs b/ghost/admin/app/templates/settings/labs.hbs index 41469516a1..960628d1b4 100644 --- a/ghost/admin/app/templates/settings/labs.hbs +++ b/ghost/admin/app/templates/settings/labs.hbs @@ -10,176 +10,177 @@

{{svg-jar "idea"}}This is a testing ground for new or experimental features. They may change, break or inexplicably disappear at any time.

-
Migration options
-
-
-
-
Import content
-
Import posts from another Ghost installation
-
-
-
- - -
-
- - {{#if this.importErrors}} -
-
- {{#if this.importSuccessful}} - Import successful with warnings - {{else}} - Import failed - {{/if}} -
- - {{#each this.importErrors as |error|}} -
-

- {{#if error.help}}{{error.help}}: {{/if}}{{error.message}} -

- - {{#if error.context}} -
-
{{error.context}}
-
- {{/if}} +
+

Migration options

+
+
+
+
+

Import content

+

Import posts from another Ghost installation

- {{/each}} -
- {{/if}} +
+ + +
+ {{#if this.importErrors}} +
+
+ {{#if this.importSuccessful}} + Import successful with warnings + {{else}} + Import failed + {{/if}} +
-
-
-
Export your content
-
Download all of your posts and settings in a single, glorious JSON file
+ {{#each this.importErrors as |error|}} +
+

+ {{#if error.help}}{{error.help}}: {{/if}}{{error.message}} +

+ + {{#if error.context}} +
+
{{error.context}}
+
+ {{/if}} +
+ {{/each}} +
+ {{/if}}
-
- + +
+
+
+

Export your content

+

Download all of your posts and settings in a single, glorious JSON file

+
+ +
-
-
-
-
Delete all content
-
Permanently delete all posts and tags from the database, a hard reset
-
-
- + +
+
+
+

Delete all content

+

Permanently delete all posts and tags from the database, a hard reset

+
+ +
-
Beta features
-
-
-
-
Night shift
-
Swap Ghost admin's colours to a dark background which is easy on the eyes
-
-
-
-
-
-
- -
-
Redirects
-
Configure redirects for old or moved content, more info in the docs
- {{#each uploader.errors as |error|}} -
{{or error.context error.message}}
- {{/each}} -
-
- {{#if uploader.isUploading}} - {{uploader.progressBar}} - {{else}} - - Download current redirects - {{/if}} +
+

Beta features

+
+
+ +
+
+

Redirects

+

Configure redirects for old or moved content, more info in the docs

+
+
+ {{#if uploader.isUploading}} + {{uploader.progressBar}} + {{else}} + + + {{/if}} -
- -
-
- -
-
- -
-
Routes
-
Configure dynamic routing by modifying the routes.yaml file
- {{#each uploader.errors as |error|}} -
{{or error.context error.message}}
- {{/each}} -
-
- {{#if uploader.isUploading}} - {{uploader.progressBar}} - {{else}} - - Download current routes.yaml - {{/if}} + {{#each uploader.errors as |error|}} +
{{or error.context error.message}}
+ {{/each}} -
- +
+ +
+
+
+
+ +
+ +
+
+

Routes

+

Configure dynamic routing by modifying the routes.yaml file

+
+
+ {{#if uploader.isUploading}} + {{uploader.progressBar}} + {{else}} + + + {{/if}} + + {{#each uploader.errors as |error|}} +
{{or error.context error.message}}
+ {{/each}} + +
+ +
+
+
+
-
-