Ghost/ghost/admin/app/components/dashboard/v5/charts/paid-mrr.hbs

41 lines
1.5 KiB
Handlebars
Raw Normal View History

<div class="gh-dashboard5-minichart gh-dashboard5-mrr">
<div class="gh-dashboard5-chart">
{{#if this.loading}}
<div class="gh-dashboard5-chart-loading">
<div class="gh-loading-spinner"></div>
</div>
{{else}}
<div class="gh-dashboard5-chart-container">
<div class="gh-dashboard5-chart-box">
<EmberChart
@type={{this.chartType}}
@data={{this.chartData}}
@options={{this.chartOptions}}
@height={{110}} />
</div>
<div class="gh-dashboard5-chart-gradient"></div>
<div id="gh-dashboard5-mrr-tooltip" class="gh-dashboard5-tooltip">
<div class="gh-dashboard5-tooltip-label">
-
</div>
<div class="gh-dashboard5-tooltip-value">
2022-05-11 10:03:56 +03:00
<span class="indicator line"></span>
2022-05-11 09:29:44 +03:00
<span class="value">-</span>
2022-05-11 10:26:57 +03:00
<span class="metric">MRR</span>
</div>
</div>
</div>
{{/if}}
</div>
<div class="gh-dashboard5-data">
<Dashboard::v5::Parts::Metric
@label={{this.chartTitle}}
@value="{{this.currentMRRFormatted}}"
@trends={{this.hasTrends}}
@percentage={{this.mrrTrend}} />
</div>
</div>