diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-11-12 23:18:56 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-11-12 23:18:56 -0800 |
commit | b03bfc8f3fd84141738f775b273a99850d78e1ff (patch) | |
tree | 64858e474fa38aa015f06f5e15b851dcc85da421 /python/fatcat_web/templates/stats.html | |
parent | 055c464deea8cdaccf3ed384995d4409b0f51409 (diff) | |
download | fatcat-b03bfc8f3fd84141738f775b273a99850d78e1ff.tar.gz fatcat-b03bfc8f3fd84141738f775b273a99850d78e1ff.zip |
refactor python modules
Diffstat (limited to 'python/fatcat_web/templates/stats.html')
-rw-r--r-- | python/fatcat_web/templates/stats.html | 104 |
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 %} |