22adb4d5fd
The primary license of the project is changing to: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later with some specific files to be licensed under the one of two licenses: CC0-1.0 LGPL-3.0-or-later This commit is one of the many steps to relicense the entire codebase. Documentation granting permission for this relicensing (from all past contributors who hold copyrights) is on file with Software Freedom Conservancy, Inc.
106 lines
2.9 KiB
Text
106 lines
2.9 KiB
Text
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
|
<div class='metrics'>
|
|
<!--= scope 'metrics.data' -->
|
|
|
|
<section class='pastelBox--green u-marginBottom--15'>
|
|
<header><i class='fa fa-heart'></i> Payments</header>
|
|
|
|
<div class='pastelBox-body'>
|
|
<table class='table'>
|
|
<tr>
|
|
<td class='table-strongText'>Total</td>
|
|
<td class='table-bigNum'>
|
|
<%= render 'components/loading_data', data: 'this.payments.total' %>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class='table-strongText'>Average</td>
|
|
<td class='table-bigNum'>
|
|
<%= render 'components/loading_data', data: 'this.payments.average' %>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class='table-strongText'>This week</td>
|
|
<td class='table-bigNum'>
|
|
<%= render 'components/loading_data', data: 'this.payments.week' %>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class='table-strongText'>This month</td>
|
|
<td class='table-bigNum'>
|
|
<%= render 'components/loading_data', data: 'this.payments.month' %>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class='table-strongText'>This year</td>
|
|
<td class='table-bigNum'>
|
|
<%= render 'components/loading_data', data: 'this.payments.year' %>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
|
|
<section class='pastelBox--blue u-marginBottom--15'>
|
|
<header><i class='fa fa-refresh'></i> Recurring Monthly</header>
|
|
|
|
<div class='pastelBox-body'>
|
|
<table class='table'>
|
|
<tr>
|
|
<td class='table-strongText'>Total</td>
|
|
<td class='table-bigNum'>
|
|
<%= render 'components/loading_data', data: 'this.recurring.total' %>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class='table-strongText'>Average</td>
|
|
<td class='table-bigNum'>
|
|
<%= render 'components/loading_data', data: 'this.recurring.average' %>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class='table-strongText'>New this month</td>
|
|
<td class='table-bigNum'>
|
|
<%= render 'components/loading_data', data: 'this.recurring.month' %>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
|
|
<section class='pastelBox--orange'>
|
|
<header><i class='fa fa-users'></i> Supporters</header>
|
|
<div class='pastelBox-body'>
|
|
<table class='table'>
|
|
<tr>
|
|
<td class='table-strongText'>Total</td>
|
|
<td class='table-bigNum'>
|
|
<%= render 'components/loading_data', data: 'this.supporters.total' %>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class='table-strongText'>New this week</td>
|
|
<td class='table-bigNum'>
|
|
<%= render 'components/loading_data', data: 'this.supporters.week' %>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class='table-strongText'>New this month</td>
|
|
<td class='table-bigNum'>
|
|
<%= render 'components/loading_data', data: 'this.supporters.month' %>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
|
|
</div>
|