From 16126c5901c435ea6610eff8b7211226c6f125d5 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 13 Jun 2019 17:17:22 -0700 Subject: refactor all entities to new UI style --- python/fatcat_web/templates/file_view.html | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) (limited to 'python/fatcat_web/templates/file_view.html') diff --git a/python/fatcat_web/templates/file_view.html b/python/fatcat_web/templates/file_view.html index 39ffaaa0..d60ea49d 100644 --- a/python/fatcat_web/templates/file_view.html +++ b/python/fatcat_web/templates/file_view.html @@ -1,25 +1,12 @@ {% set file = entity %} +{% set entity_view = "overview" %} {% import "entity_macros.html" as entity_macros %} -{% extends "base.html" %} +{% extends "entity_base.html" %} -{% block fullbody %} +{% block entity_main %}
-
-
-

- file {{ file.ident }}

-
-
- -
-
-
- -{% if entity.extra %} -

Extra Metadata (raw JSON)

- {{ entity_macros.extra_metadata(entity.extra) }} -{% endif %} +

Releases

{% if entity.releases != [] %} @@ -55,7 +42,7 @@ No known public URL, mirror, or archive for this file.
-
+
{% if file.urls != None and file.urls != [] %} Download File @@ -80,5 +67,4 @@ No known public URL, mirror, or archive for this file.
- {% endblock %} -- cgit v1.2.3