From 96db9d510a6891594271af7c284c46335b4d7502 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 26 Feb 2021 10:28:06 -0800 Subject: web: tweak display of files, webcapture, fileset --- python/fatcat_web/templates/webcapture_view.html | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'python/fatcat_web/templates/webcapture_view.html') diff --git a/python/fatcat_web/templates/webcapture_view.html b/python/fatcat_web/templates/webcapture_view.html index f2f689f3..b35ee0e2 100644 --- a/python/fatcat_web/templates/webcapture_view.html +++ b/python/fatcat_web/templates/webcapture_view.html @@ -8,7 +8,7 @@
-

Releases

+

Associated Releases

{% if entity.releases != [] %} {{ entity_macros.release_list(entity.releases) }} {% else %} @@ -16,8 +16,7 @@ This Web Capture is not associated with any fatcat release. {% endif %} -
-

Archive URLs

+

Public Archive URLs

{% if webcapture.archive_urls != None %} @@ -42,7 +41,7 @@ No known public archive for this webcapture. {% endif %} -

CDX Rows ({{ webcapture.cdx|count }})

+

Captured Resources ({{ webcapture.cdx|count }})

{% if webcapture.cdx %}
{% for row in webcapture.cdx %} @@ -53,7 +52,7 @@ No known public archive for this webcapture.
{{ row.timestamp.strftime("%Y-%m-%d %H:%M:%S") }} - {% if row.mimetype %}| {{ row.mimetype }} {% endif %} + {% if row.mimetype %}| {{ row.mimetype }} {% endif %} {% if row.size %}| {{ row.size|filesizeformat }} {% endif %}
@@ -73,11 +72,13 @@ This web capture is empty (contains no resources).
{% if webcapture.state == 'active' and webcapture.archive_urls != [] and webcapture.archive_urls[0].rel == "wayback" %} -View Web Archive + + View Web Archive + {% endif %} {% if webcapture.timestamp != None %} -
+

Capture Time  {{ webcapture.timestamp.strftime("%Y-%m-%d %H:%M:%S") }}

{% endif %} -- cgit v1.2.3