spee.ch/views/statistics.handlebars

38 lines
1,000 B
Handlebars
Raw Normal View History

2017-09-29 20:59:53 +02:00
<div class="top-bar">
2017-10-11 01:54:05 +02:00
{{> navBar}}
</div>
<div>
2017-06-29 23:34:23 +02:00
<h3>Site Statistics</h3>
2017-08-04 18:29:19 +02:00
<p>Serve: {{ totals.totalServe }}</p>
<p>Publish: {{ totals.totalPublish }}</p>
<p>Show: {{ totals.totalShow }}</p>
<p>Percent Success: {{ percentSuccess}}%</p>
<table>
<tr>
<th>action</th>
2017-08-04 18:29:19 +02:00
<th >url</th>
<th class="center-text">count</th>
<th class="center-text">success</th>
<th class="center-text">failure</th>
</tr>
{{#each records}}
<tr>
<td>{{ this.action }}</td>
2017-08-04 18:29:19 +02:00
<td class="stats-table-url">{{ this.url }}</td>
<td class="center-text">{{ this.count }}</td>
<td class="center-text">{{ this.success }}</td>
<td class="center-text">{{ this.failure }}</td>
</tr>
{{/each}}
<tr>
<td></td>
<td></td>
<td class="totals-row center-text">{{ totals.totalCount }}</td>
<td class="totals-row center-text">{{ totals.totalSuccess }}</td>
<td class="totals-row center-text">{{ totals.totalFailure }}</td>
</tr>
</table>
2017-08-04 18:29:19 +02:00
</div>