mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +03:00
b1b3c72642
refs https://github.com/TryGhost/Team/issues/1941 - sorts attribution table and chart on signups or paid conversions
31 lines
1.4 KiB
Handlebars
31 lines
1.4 KiB
Handlebars
<section class="gh-dashboard-section gh-dashboard-attribution">
|
|
|
|
<article class="gh-dashboard-box" {{did-insert this.loadData}}>
|
|
<div style="display: grid;grid-template-columns: 2fr 1fr;grid-gap: 24px; position: relative;">
|
|
<div>
|
|
<h3 class="gh-dashboard-metric-label">Top sources</h3>
|
|
<MemberAttribution::SourceAttributionTable
|
|
@sources={{this.sources}}
|
|
@sortColumn={{this.sortColumn}}
|
|
@setSortColumn={{this.setSortColumn}}
|
|
class="gh-dashboard-attribution-list gh-dashboard-list" style="justify-content:flex-start;"
|
|
/>
|
|
</div>
|
|
<div style="display:flex;justify-content:center;align-items: center;height:100%;position: relative;">
|
|
<div style="max-width: 200px; position: relative;">
|
|
<MemberAttribution::SourceAttributionChart
|
|
@sources={{this.chartSources}}
|
|
@sortColumn={{this.sortColumn}}
|
|
@setSortColumn={{this.setSortColumn}}
|
|
/>
|
|
</div>
|
|
<div id="gh-dashboard-attribution-tooltip" class="gh-dashboard-tooltip">
|
|
<div class="gh-dashboard-tooltip-value">
|
|
-
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</section>
|