aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/stats.html
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/templates/stats.html')
-rw-r--r--python/fatcat_web/templates/stats.html104
1 files changed, 104 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/stats.html b/python/fatcat_web/templates/stats.html
new file mode 100644
index 00000000..6a37dcee
--- /dev/null
+++ b/python/fatcat_web/templates/stats.html
@@ -0,0 +1,104 @@
+{% extends "base.html" %}
+{% block body %}
+
+<h1>Entity Statistics</h1>
+
+<div class="ui statistic">
+ <div class="value">
+ {{ stats.entity_counts.work }}
+ </div>
+ <div class="label">
+ Works
+ </div>
+</div>
+
+<br>
+
+<div class="ui statistic">
+ <div class="value">
+ {{ stats.entity_counts.release }}
+ </div>
+ <div class="label">
+ Releases
+ </div>
+</div>
+
+<div class="ui statistic">
+ <div class="value">
+ {{ stats.releases_with_dois }}
+ </div>
+ <div class="label">
+ ... with DOIs
+ </div>
+</div>
+
+<div class="ui statistic">
+ <div class="value">
+ {{ stats.releases_with_dois }}
+ </div>
+ <div class="label">
+ ... with a File
+ </div>
+</div>
+
+<br>
+
+<div class="ui statistic">
+ <div class="value">
+ {{ stats.entity_counts.container }}
+ </div>
+ <div class="label">
+ Containers
+ </div>
+</div>
+
+<div class="ui statistic">
+ <div class="value">
+ {{ stats.containers_with_issnls }}
+ </div>
+ <div class="label">
+ ... with an ISSN-L
+ </div>
+</div>
+
+<br>
+
+<div class="ui statistic">
+ <div class="value">
+ {{ stats.entity_counts.creator }}
+ </div>
+ <div class="label">
+ Creators
+ </div>
+</div>
+
+<div class="ui statistic">
+ <div class="value">
+ {{ stats.creators_with_orcids }}
+ </div>
+ <div class="label">
+ ... with an ORCID
+ </div>
+</div>
+
+<br>
+
+<div class="ui statistic">
+ <div class="value">
+ {{ stats.entity_counts.file }}
+ </div>
+ <div class="label">
+ Files
+ </div>
+</div>
+
+<div class="ui statistic">
+ <div class="value">
+ {{ stats.files_with_releases }}
+ </div>
+ <div class="label">
+ ... with a Release
+ </div>
+</div>
+
+{% endblock %}