Trying to improve dashboard layout with the referral stats on the right

This commit is contained in:
Neil Lalonde
2013-05-02 11:52:37 -04:00
parent 40f631b5c1
commit 7b44c83b50
2 changed files with 27 additions and 27 deletions
@@ -175,30 +175,7 @@
<table class="table table-condensed table-hover">
<thead>
<tr>
<th class="title">{{top_referrers.title}}</th>
<th>{{top_referrers.ytitles.num_visits}}</th>
<th>{{top_referrers.ytitles.num_topics}}</th>
</tr>
</thead>
{{#unless loading}}
{{#each top_referrers.data}}
<tbody>
<tr>
<td class="title">{{#linkTo adminUser username}}{{username}}{{/linkTo}}</td>
<td class="value">{{num_visits}}</td>
<td class="value">{{num_topics}}</td>
</tr>
</tbody>
{{/each}}
{{/unless}}
</table>
</div>
<div class="dashboard-stats">
<table class="table table-condensed table-hover">
<thead>
<tr>
<th class="title">{{top_referred_topics.title}}</th>
<th class="title">{{top_referred_topics.title}} ({{i18n admin.dashboard.reports.last_30_days}})</th>
<th>{{top_referred_topics.ytitles.num_visits}}</th>
</tr>
</thead>
@@ -219,7 +196,7 @@
<table class="table table-condensed table-hover">
<thead>
<tr>
<th class="title">{{top_traffic_sources.title}}</th>
<th class="title">{{top_traffic_sources.title}} ({{i18n admin.dashboard.reports.last_30_days}})</th>
<th>{{top_traffic_sources.ytitles.num_visits}}</th>
<th>{{top_traffic_sources.ytitles.num_topics}}</th>
<th>{{top_traffic_sources.ytitles.num_users}}</th>
@@ -239,5 +216,28 @@
{{/unless}}
</table>
</div>
<div class="dashboard-stats">
<table class="table table-condensed table-hover">
<thead>
<tr>
<th class="title">{{top_referrers.title}} ({{i18n admin.dashboard.reports.last_30_days}})</th>
<th>{{top_referrers.ytitles.num_visits}}</th>
<th>{{top_referrers.ytitles.num_topics}}</th>
</tr>
</thead>
{{#unless loading}}
{{#each top_referrers.data}}
<tbody>
<tr>
<td class="title">{{#linkTo adminUser username}}{{username}}{{/linkTo}}</td>
<td class="value">{{num_visits}}</td>
<td class="value">{{num_topics}}</td>
</tr>
</tbody>
{{/each}}
{{/unless}}
</table>
</div>
</div>
<div class='clearfix'></div>