Ghost/ghost/admin/app/components/dashboard/v5/charts/email.hbs
James Morris e4891e3462 Moved the new dashboard over to a CSS Grid layout and cleaned up a ton of the code
refs: https://github.com/TryGhost/Team/issues/1507

- changed the layout over to use css grids instead of the random flex and divs
- cleaned up the based dashboard-v5 file so its rendering much cleaner components
- refactored and took out a ton of old css that wasn't needed anymore
- moved the dashboard-v5 css into it's own css file to keep things cleaner
- includes a few stylistic changes along the way
2022-04-12 16:04:20 +01:00

18 lines
686 B
Handlebars

<section class="gh-dashboard5-section gh-dashboard5-email">
<article class="gh-dashboard5-box">
<div {{did-insert this.loadCharts}} class="gh-dashboard5-rows">
<div class="gh-dashboard5-row">
<Dashboard::v5::Parts::Metric
@label="Newsletter subscribers"
@value={{format-number this.dataSubscribers.total}} />
</div>
<div class="gh-dashboard5-row">
<Dashboard::v5::Parts::Metric
@label="Emails sent over last 30 days"
@value={{format-number this.dataEmailsSent}} />
</div>
</div>
</article>
</section>