diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-02-15 20:51:01 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-02-15 20:51:03 -0800 |
commit | ae97f4d8d4446d32b07efba587b57b741a16cfec (patch) | |
tree | d70c1cd714514d09a9300c10d350b87469be0787 /python/fatcat_web/templates/entity_macros.html | |
parent | 3375483dbfa09d3621d423a47d2fdf3193487ab4 (diff) | |
download | fatcat-ae97f4d8d4446d32b07efba587b57b741a16cfec.tar.gz fatcat-ae97f4d8d4446d32b07efba587b57b741a16cfec.zip |
containers: update preservation page
Mostly adding copy and a KBART holdings page.
Diffstat (limited to 'python/fatcat_web/templates/entity_macros.html')
-rw-r--r-- | python/fatcat_web/templates/entity_macros.html | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html index c510a8b9..5f8f6e0a 100644 --- a/python/fatcat_web/templates/entity_macros.html +++ b/python/fatcat_web/templates/entity_macros.html @@ -388,31 +388,36 @@ yellow {% set frac_dark = stats.dark/stats.total %} {% set frac_none = stats.none/stats.total %} - <table class="ui very basic very compact collapsing table" style="font-weight: bold; margin-left: 1em;"> + <table class="ui basic very compact collapsing table" style="margin-left: 1em;"> <tbody> <tr> <td style="background-color: #21ba45;"> - <td class="right aligned" >{{ "{:,}".format(stats.bright) }} + <td class="right aligned" style="font-weight: bold;">{{ "{:,}".format(stats.bright) }} <td class="right aligned" >{{ (frac_bright*100)|round(2,method='ceil') }}% <td>preserved and publicly accessible (bright) <tr> <td style="background-color: darkgreen;"> - <td class="right aligned" >{{ "{:,}".format(stats.dark) }} + <td class="right aligned" style="font-weight: bold;">{{ "{:,}".format(stats.dark) }} <td class="right aligned" >{{ (frac_dark*100)|round(2,method='ceil') }}% <td>preserved but not publicly accessible (dark) {% if stats.shadows_only %} {% set frac_shadows_only = stats.shadows_only/stats.total %} <tr> <td style="background-color: darkred;"> - <td class="right aligned" >{{ "{:,}".format(stats.shadows_only) }} + <td class="right aligned" style="font-weight: bold;">{{ "{:,}".format(stats.shadows_only) }} <td class="right aligned" >{{ (frac_shadows_only*100)|round(2,method='ceil') }}% <td>only independently preserved in "shadow" libraries {% endif %} <tr> <td style="background-color: #db2828;"> - <td class="right aligned" >{{ "{:,}".format(stats.none) }} + <td class="right aligned" style="font-weight: bold;">{{ "{:,}".format(stats.none) }} <td class="right aligned" >{{ (frac_none*100)|round(2,method='ceil') }}% <td>no known independent preservation + <tr> + <td style="background-color: grey;"> + <td class="right aligned" style="font-weight: bold;">{{ "{:,}".format(stats.total) }} + <td class="right aligned" > + <td>total </tbody> </table> |