mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 18:34:39 +03:00
3b9525dd63
refs: https://github.com/TryGhost/Team/issues/1462 - remove dummy percentages where not necessary - trying out a narrower width for the dashboard - added in a basic layout for the various charts - added more specific styles to each of the graphs - tried out a different way of displaying metrics - different way to show headers for each module - made the grid and flex layouts a little more flexible - there are some bits to still clean up with code
17 lines
511 B
Handlebars
17 lines
511 B
Handlebars
{{!-- <h4
|
|
class="gh-dashboard5-metric is-main"
|
|
{{did-insert this.loadCharts}}
|
|
{{did-update this.loadCharts @days}}
|
|
>
|
|
Total members
|
|
</h4> --}}
|
|
{{#if this.loading}}
|
|
<div class="gh-dashboard5-loading" style={{html-safe (concat "height: " this.chartHeight "px;")}}/>
|
|
{{else}}
|
|
<Dashboard::V5::ChartMembersCountsInsert />
|
|
<EmberChart
|
|
@type={{this.chartType}}
|
|
@data={{this.chartData}}
|
|
@options={{this.chartOptions}}
|
|
@height={{this.chartHeight}} />
|
|
{{/if}} |