From a46d01ca5f331a7c4d7918868a0544db4e100bf2 Mon Sep 17 00:00:00 2001 From: James Morris Date: Tue, 26 Apr 2022 11:29:44 +0100 Subject: [PATCH] Implemented a more fleshed out resources section for new Dashboard refs: https://github.com/TryGhost/Team/issues/1556 - working implementation of all the parts of the dashboard - now includes the what's new section again - has dynamic, yet basic, newsletters --- .../app/components/dashboard/dashboard-v5.hbs | 23 +- .../dashboard/v5/charts/recents.hbs | 12 +- .../dashboard/v5/resources/community.hbs | 24 +- .../dashboard/v5/resources/newsletter.hbs | 57 ++-- .../dashboard/v5/resources/newsletter.js | 2 +- .../dashboard/v5/resources/resources.hbs | 34 +-- .../dashboard/v5/resources/staff-picks.hbs | 59 ++-- .../dashboard/v5/resources/triple.hbs | 51 ++++ .../dashboard/v5/resources/whats-new.hbs | 51 ++-- ghost/admin/app/styles/app-dark.css | 8 + .../admin/app/styles/layouts/dashboard-v5.css | 252 +++++++++++++++--- ghost/admin/app/templates/dashboard.hbs | 12 +- .../assets/img/community-background.jpg | Bin 0 -> 854411 bytes .../admin/public/assets/img/newsletter-1.jpg | Bin 0 -> 189462 bytes .../admin/public/assets/img/newsletter-2.jpg | Bin 0 -> 226502 bytes ghost/admin/public/assets/img/resource-1.jpg | Bin 0 -> 109737 bytes 16 files changed, 427 insertions(+), 158 deletions(-) create mode 100644 ghost/admin/app/components/dashboard/v5/resources/triple.hbs create mode 100644 ghost/admin/public/assets/img/community-background.jpg create mode 100644 ghost/admin/public/assets/img/newsletter-1.jpg create mode 100644 ghost/admin/public/assets/img/newsletter-2.jpg create mode 100644 ghost/admin/public/assets/img/resource-1.jpg diff --git a/ghost/admin/app/components/dashboard/dashboard-v5.hbs b/ghost/admin/app/components/dashboard/dashboard-v5.hbs index abebe31f20..dd8e3baf86 100644 --- a/ghost/admin/app/components/dashboard/dashboard-v5.hbs +++ b/ghost/admin/app/components/dashboard/dashboard-v5.hbs @@ -16,14 +16,35 @@ {{!--
--}} - + {{!-- --}} {{!-- --}} {{!--
--}} + {{!-- --}} + + {{!--
--}} + {{!-- --}} + {{!-- --}} + {{!--
--}} + {{!-- --}} {{!-- --}} {{!-- --}} {{/if}} +
+
+
+ + +
+
+ + +
+ +
+
+ \ No newline at end of file diff --git a/ghost/admin/app/components/dashboard/v5/charts/recents.hbs b/ghost/admin/app/components/dashboard/v5/charts/recents.hbs index 8647510d2a..2ed2e86f20 100644 --- a/ghost/admin/app/components/dashboard/v5/charts/recents.hbs +++ b/ghost/admin/app/components/dashboard/v5/charts/recents.hbs @@ -28,15 +28,15 @@
- {{!-- DEMO {{format-number 3294}} --}} - {{format-number post.email.emailCount}} + {{format-number 3294}} + {{!-- {{format-number post.email.emailCount}} --}}
- {{!-- DEMO 75% --}} - {{!-- DEMO --}} - {{post.email.openRate}}% - + 75% + + {{!-- {{post.email.openRate}}% --}} + {{!-- --}}
diff --git a/ghost/admin/app/components/dashboard/v5/resources/community.hbs b/ghost/admin/app/components/dashboard/v5/resources/community.hbs index 0bf1e66a99..dbce37471d 100644 --- a/ghost/admin/app/components/dashboard/v5/resources/community.hbs +++ b/ghost/admin/app/components/dashboard/v5/resources/community.hbs @@ -1,15 +1,17 @@ -
-
-
-
-

Ghost community

-
-
-

Talk strategy.
Get advice.
Or, just hang out.

-
-