aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/stats.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-02-22 17:27:03 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-02-22 17:27:03 -0800
commite4d2801acec50b763c104fc87df69f943f54fa7c (patch)
tree98043a7297326e16b40e704740ffff2e3aae4085 /python/fatcat_web/templates/stats.html
parenteebce42d74f8c0e5176bf0a0cfa8036f88a3da34 (diff)
downloadfatcat-e4d2801acec50b763c104fc87df69f943f54fa7c.tar.gz
fatcat-e4d2801acec50b763c104fc87df69f943f54fa7c.zip
bunch of entity view updates
Diffstat (limited to 'python/fatcat_web/templates/stats.html')
-rw-r--r--python/fatcat_web/templates/stats.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/python/fatcat_web/templates/stats.html b/python/fatcat_web/templates/stats.html
index 92205b3d..f11ca820 100644
--- a/python/fatcat_web/templates/stats.html
+++ b/python/fatcat_web/templates/stats.html
@@ -7,38 +7,38 @@ You can also fetch these numbers <a href="./stats.json">as JSON</a>.
<h3>Changelog</h3>
-<p>Latest changelog index is {{ stats.changelog.latest.index }} ({{ stats.changelog.latest.timestamp}}).
+<p>Latest changelog index is {{ stats.changelog.latest.index }} ({{ stats.changelog.latest.timestamp[:10] }}).
<h3>Entities</h3>
<table class="ui structured table">
<tbody>
- <tr><td rowspan="5" class="active top aligned"><b>"Papers"</b></td>
+ <tr><td rowspan="5" class="active top aligned center aligned"><b>"Papers"</b></td>
<td>Total</td>
- <td class="right aligned">{{ stats.papers.total }}</td>
+ <td class="right aligned">{{ "{:,}".format(stats.papers.total) }}</td>
<tr>
<td>Fulltext on web</td>
- <td class="right aligned">{{ stats.papers.in_web }}</td>
+ <td class="right aligned">{{ "{:,}".format(stats.papers.in_web) }}</td>
<tr>
<td>"Gold" Open Access</td>
- <td class="right aligned">{{ stats.papers.is_oa }}</td>
+ <td class="right aligned">{{ "{:,}".format(stats.papers.is_oa) }}</td>
<tr>
<td>In a Keepers/KBART archive</td>
- <td class="right aligned">{{ stats.papers.in_kbart }}</td>
+ <td class="right aligned">{{ "{:,}".format(stats.papers.in_kbart) }}</td>
<tr>
<td>On web, not in Keepers</td>
- <td class="right aligned">{{ stats.papers.in_web_not_kbart }}</td>
+ <td class="right aligned">{{ "{:,}".format(stats.papers.in_web_not_kbart) }}</td>
- <tr><td rowspan="2" class="active top aligned"><b>Releases</b></td>
+ <tr><td rowspan="2" class="active top aligned center aligned"><b>Releases</b></td>
<td>Total</td>
- <td class="right aligned">{{ stats.release.total }}</td>
+ <td class="right aligned">{{ "{:,}".format(stats.release.total) }}</td>
<tr>
<td>References (raw, unlinked)</td>
- <td class="right aligned">{{ stats.release.refs_total }}</td>
+ <td class="right aligned">{{ "{:,}".format(stats.release.refs_total) }}</td>
- <tr><td rowspan="1" class="active top aligned"><b>Containers</b></td>
+ <tr><td rowspan="1" class="active top aligned center aligned"><b>Containers</b></td>
<td>Total</td>
- <td class="right aligned">{{ stats.container.total }}</td>
+ <td class="right aligned">{{ "{:,}".format(stats.container.total) }}</td>
</tbody>
</table>