2016-08-03 15:36:41 -04:00
|
|
|
{{#conditional-loading-spinner condition=loading}}
|
2018-11-12 09:20:00 -05:00
|
|
|
<div class="alert alert-info">
|
|
|
|
The old dashboard is going to be removed in Discourse 2.2
|
|
|
|
</div>
|
2016-08-03 15:36:41 -04:00
|
|
|
<div class="dashboard-left">
|
|
|
|
<div class="dashboard-stats trust-levels">
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th> </th>
|
|
|
|
<th>0</th>
|
|
|
|
<th>1</th>
|
|
|
|
<th>2</th>
|
|
|
|
<th>3</th>
|
|
|
|
<th>4</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2016-04-29 17:29:41 -04:00
|
|
|
{{#each user_reports as |r|}}
|
2015-06-24 20:42:08 -04:00
|
|
|
{{admin-report-trust-level-counts report=r}}
|
|
|
|
{{/each}}
|
2016-08-03 15:36:41 -04:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2013-03-22 17:50:22 -04:00
|
|
|
|
2016-08-03 15:36:41 -04:00
|
|
|
<div class="dashboard-stats totals">
|
|
|
|
<table>
|
|
|
|
<tr>
|
2017-07-26 16:25:09 -04:00
|
|
|
<td class="title">{{d-icon "shield"}} {{i18n 'admin.dashboard.admins'}}</td>
|
2016-08-03 15:36:41 -04:00
|
|
|
<td class="value">{{#link-to 'adminUsersList.show' 'admins'}}{{admins}}{{/link-to}}</td>
|
2017-07-26 16:25:09 -04:00
|
|
|
<td class="title">{{d-icon "ban"}} {{i18n 'admin.dashboard.suspended'}}</td>
|
2016-08-03 15:36:41 -04:00
|
|
|
<td class="value">{{#link-to 'adminUsersList.show' 'suspended'}}{{suspended}}{{/link-to}}</td>
|
|
|
|
</tr>
|
2013-03-14 12:28:35 -04:00
|
|
|
<tr>
|
2017-07-26 16:25:09 -04:00
|
|
|
<td class="title">{{d-icon "shield"}} {{i18n 'admin.dashboard.moderators'}}</td>
|
2016-08-03 15:36:41 -04:00
|
|
|
<td class="value">{{#link-to 'adminUsersList.show' 'moderators'}}{{moderators}}{{/link-to}}</td>
|
2017-11-10 12:18:08 -05:00
|
|
|
<td class="title">{{d-icon "ban"}} {{i18n 'admin.dashboard.silenced'}}</td>
|
|
|
|
<td class="value">{{#link-to 'adminUsersList.show' 'silenced'}}{{silenced}}{{/link-to}}</td>
|
2013-03-14 12:28:35 -04:00
|
|
|
</tr>
|
2016-08-03 15:36:41 -04:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="dashboard-stats">
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th> </th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.today'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.yesterday'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.last_7_days'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.last_30_days'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.all'}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2016-04-29 17:29:41 -04:00
|
|
|
{{#each global_reports as |r|}}
|
2015-06-24 20:42:08 -04:00
|
|
|
{{admin-report-counts report=r}}
|
|
|
|
{{/each}}
|
2016-08-03 15:36:41 -04:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2013-04-16 16:56:18 -04:00
|
|
|
|
2016-08-03 15:36:41 -04:00
|
|
|
<div class="dashboard-stats">
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="title" title="{{i18n 'admin.dashboard.page_views'}}">{{i18n 'admin.dashboard.page_views_short'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.today'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.yesterday'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.last_7_days'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.last_30_days'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.all'}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2016-04-29 17:29:41 -04:00
|
|
|
{{#each page_view_reports as |r|}}
|
2015-06-24 20:42:08 -04:00
|
|
|
{{admin-report-counts report=r}}
|
|
|
|
{{/each}}
|
2016-08-03 15:36:41 -04:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2015-02-04 19:18:11 -05:00
|
|
|
|
2016-08-03 15:36:41 -04:00
|
|
|
<div class="dashboard-stats">
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2017-07-26 16:25:09 -04:00
|
|
|
<th class="title" title="{{i18n 'admin.dashboard.private_messages_title'}}">{{d-icon "envelope"}} {{i18n 'admin.dashboard.private_messages_short'}}</th>
|
2016-08-03 15:36:41 -04:00
|
|
|
<th>{{i18n 'admin.dashboard.reports.today'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.yesterday'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.last_7_days'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.last_30_days'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.all'}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2016-04-29 17:29:41 -04:00
|
|
|
{{#each private_message_reports as |r|}}
|
2015-06-24 20:42:08 -04:00
|
|
|
{{admin-report-counts report=r}}
|
|
|
|
{{/each}}
|
2016-08-03 15:36:41 -04:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2013-03-07 11:07:59 -05:00
|
|
|
|
2016-08-03 15:36:41 -04:00
|
|
|
<div class="dashboard-stats">
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="title" title="{{i18n 'admin.dashboard.mobile_title'}}">{{i18n 'admin.dashboard.mobile_title'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.today'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.yesterday'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.last_7_days'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.last_30_days'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.all'}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2016-04-29 17:29:41 -04:00
|
|
|
{{#each mobile_reports as |r|}}
|
2015-07-07 12:31:07 -04:00
|
|
|
{{admin-report-counts report=r}}
|
|
|
|
{{/each}}
|
2016-08-03 15:36:41 -04:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2015-07-07 12:31:07 -04:00
|
|
|
|
2015-02-05 22:39:04 -05:00
|
|
|
{{#if showTrafficReport}}
|
|
|
|
<div class="dashboard-stats">
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="title" title="{{i18n 'admin.dashboard.traffic'}}">{{i18n 'admin.dashboard.traffic_short'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.today'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.yesterday'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.last_7_days'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.last_30_days'}}</th>
|
|
|
|
<th>{{i18n 'admin.dashboard.reports.all'}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2015-05-14 12:53:33 -04:00
|
|
|
<tbody>
|
|
|
|
{{#unless loading}}
|
2016-04-29 17:29:41 -04:00
|
|
|
{{#each http_reports as |r|}}
|
2015-06-24 20:42:08 -04:00
|
|
|
{{admin-report-counts report=r}}
|
|
|
|
{{/each}}
|
2015-05-14 12:53:33 -04:00
|
|
|
{{/unless}}
|
|
|
|
</tbody>
|
2015-02-05 22:39:04 -05:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{{else}}
|
2015-05-14 12:53:33 -04:00
|
|
|
<div class="dashboard-stats">
|
|
|
|
<a href {{action 'showTrafficReport'}}>{{i18n 'admin.dashboard.show_traffic_report'}}</a>
|
|
|
|
</div>
|
2015-02-05 22:39:04 -05:00
|
|
|
{{/if}}
|
2016-08-03 15:36:41 -04:00
|
|
|
</div>
|
2014-09-11 14:45:35 -04:00
|
|
|
|
2016-08-03 15:36:41 -04:00
|
|
|
<div class="dashboard-right">
|
|
|
|
<div class="dashboard-stats">
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="title">{{top_referred_topics.title}} ({{i18n 'admin.dashboard.reports.last_30_days'}})</th>
|
|
|
|
<th>{{top_referred_topics.ytitles.num_clicks}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2016-04-29 17:29:41 -04:00
|
|
|
{{#each top_referred_topics.data as |data|}}
|
2013-05-01 18:12:02 -04:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
2013-07-30 14:45:03 -04:00
|
|
|
<td class="title">
|
|
|
|
<div class="referred-topic-title">
|
|
|
|
<div class="overflow-ellipsis">
|
2018-01-15 17:28:35 -05:00
|
|
|
<a href="{{unbound data.topic_url}}">{{data.topic_title}}</a>
|
2013-07-30 14:45:03 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
2017-01-09 02:54:31 -05:00
|
|
|
<td class="value">{{number data.num_clicks}}</td>
|
2013-05-01 18:12:02 -04:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
{{/each}}
|
2016-08-03 15:36:41 -04:00
|
|
|
</table>
|
|
|
|
</div>
|
2013-05-01 18:12:02 -04:00
|
|
|
|
2016-08-03 15:36:41 -04:00
|
|
|
<div class="dashboard-stats">
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="title">{{top_traffic_sources.title}} ({{i18n 'admin.dashboard.reports.last_30_days'}})</th>
|
|
|
|
<th>{{top_traffic_sources.ytitles.num_clicks}}</th>
|
|
|
|
<th>{{top_traffic_sources.ytitles.num_topics}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2016-04-29 17:29:41 -04:00
|
|
|
{{#each top_traffic_sources.data as |s|}}
|
2013-05-01 18:12:02 -04:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
2014-12-12 13:28:20 -05:00
|
|
|
<td class="title">{{s.domain}}</td>
|
2017-01-09 02:54:31 -05:00
|
|
|
<td class="value">{{number s.num_clicks}}</td>
|
|
|
|
<td class="value">{{number s.num_topics}}</td>
|
2013-05-01 18:12:02 -04:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
{{/each}}
|
2016-08-03 15:36:41 -04:00
|
|
|
</table>
|
|
|
|
</div>
|
2013-05-01 18:12:02 -04:00
|
|
|
|
2016-08-03 15:36:41 -04:00
|
|
|
<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>
|
2017-02-16 09:58:45 -05:00
|
|
|
<th>{{top_referrers.ytitles.num_clicks}}</th>
|
|
|
|
<th>{{top_referrers.ytitles.num_topics}}</th>
|
2016-08-03 15:36:41 -04:00
|
|
|
</tr>
|
|
|
|
</thead>
|
2016-04-29 17:29:41 -04:00
|
|
|
{{#each top_referrers.data as |r|}}
|
2013-05-01 18:12:02 -04:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
2016-02-22 14:30:58 -05:00
|
|
|
<td class="title">{{#link-to 'adminUser' r.user_id r.username}}{{unbound r.username}}{{/link-to}}</td>
|
2017-01-09 02:54:31 -05:00
|
|
|
<td class="value">{{number r.num_clicks}}</td>
|
|
|
|
<td class="value">{{number r.num_topics}}</td>
|
2013-05-01 18:12:02 -04:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
{{/each}}
|
2016-08-03 15:36:41 -04:00
|
|
|
</table>
|
|
|
|
</div>
|
2013-05-01 18:12:02 -04:00
|
|
|
</div>
|
2016-08-03 15:36:41 -04:00
|
|
|
<div class='clearfix'></div>
|
2013-08-02 18:31:25 -04:00
|
|
|
|
2016-08-03 15:36:41 -04:00
|
|
|
<div class="dashboard-stats pull-right">
|
|
|
|
<div class="pull-right">{{i18n 'admin.dashboard.last_updated'}} {{updatedTimestamp}}</div>
|
|
|
|
<div class='clearfix'></div>
|
|
|
|
</div>
|
2013-08-02 18:31:25 -04:00
|
|
|
<div class='clearfix'></div>
|
2016-08-03 15:36:41 -04:00
|
|
|
{{/conditional-loading-spinner}}
|