Added better POC styling for dashboard 5

refs https://github.com/TryGhost/Team/issues/1432
This commit is contained in:
Simon Backx 2022-03-21 19:12:02 +01:00
parent da9298b6f0
commit 829fee29da
2 changed files with 26 additions and 21 deletions

View File

@ -1,26 +1,24 @@
<section class="gh-dashboard-area lw-banner">
Dashboard 5.0 is active, but not yet implemented
<section>
{{#if this.areMembersEnabled}}
<article class="gh-dashboard-box">
These are members related graphs
</article>
{{#if this.hasPaidTiers}}
<article class="gh-dashboard-box">
These are some paid members related graphs
</article>
{{/if}}
{{/if}}
{{#if this.areNewslettersEnabled}}
<article class="gh-dashboard-box">
These are newsletter related graphs
</article>
{{/if}}
</section>
{{#if this.areMembersEnabled}}
<section>
These are members related graphs
</section>
{{#if this.hasPaidTiers}}
<section>
These are some paid members related graphs
</section>
{{/if}}
{{/if}}
{{#if this.areNewslettersEnabled}}
<section>
These are newsletter related graphs
</section>
{{/if}}
<div class="gh-main-section">
<div class="gh-main-section prototype-panel">
<h4 class="gh-main-section-header small bn">Prototype control panel</h4>
<div class="gh-expandable">
<div class="gh-expandable-block">

View File

@ -1073,3 +1073,10 @@ a.gh-dashboard-container {
opacity: 0;
max-height: 0;
}
/* Temporary section for prototype convenience */
.prototype-panel {
/* Keep it out of view */
margin-top: 100vh;
}