mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
36 lines
1.4 KiB
Handlebars
36 lines
1.4 KiB
Handlebars
<div class="gh-dashboard5-minichart gh-dashboard5-breakdown">
|
|
<div class="gh-dashboard5-data">
|
|
<Dashboard::v5::Parts::Metric
|
|
@label={{this.chartTitle}} />
|
|
|
|
<div class="gh-dashboard5-legend">
|
|
<div class="gh-dashboard5-legend-item">New</div>
|
|
<div class="gh-dashboard5-legend-item">Canceled</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="gh-dashboard5-chart" {{did-insert this.loadCharts}}>
|
|
{{#if this.loading}}
|
|
<div class="gh-dashboard5-chart-loading" style={{html-safe (concat "height: " this.chartHeight "px;")}}/>
|
|
{{else}}
|
|
<div class="gh-dashboard5-chart-container">
|
|
<EmberChart
|
|
@type={{this.chartType}}
|
|
@data={{this.chartData}}
|
|
@options={{this.chartOptions}} />
|
|
|
|
<div id="gh-dashboard5-breakdown-tooltip" class="gh-dashboard5-tooltip">
|
|
<div class="gh-dashboard5-tooltip-label">
|
|
-
|
|
</div>
|
|
<div class="gh-dashboard5-tooltip-value">
|
|
<div class="gh-dashboard5-tooltip-value-1"></div>
|
|
<div class="gh-dashboard5-tooltip-value-2"></div>
|
|
<div class="gh-dashboard5-tooltip-value-3"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|