summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/file_view.html
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/templates/file_view.html')
-rw-r--r--python/fatcat_web/templates/file_view.html24
1 files changed, 5 insertions, 19 deletions
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 %}
<div class="ui stackable mobile reversed grid centered">
-<div class="one wide column"></div>
-<div class="fifteen wide column">
- <h1 class="ui header">
- <span class="sub header"><code>file {{ file.ident }}</code></span></h1>
-</div>
-</div>
-
-<div class="ui stackable mobile reversed grid centered">
-<div class="one wide column"></div>
-<div class="ten wide column" style="font-size: 16px;">
-
-{% if entity.extra %}
- <h3>Extra Metadata (raw JSON)</h3>
- {{ entity_macros.extra_metadata(entity.extra) }}
-{% endif %}
+<div class="column" style="font-size: 16px; flex: 1;">
<h3>Releases</h3>
{% if entity.releases != [] %}
@@ -55,7 +42,7 @@ No known public URL, mirror, or archive for this file.
</table>
</div>
-<div class="five wide column">
+<div class="column" style="flex: 0 0 24em;">
{% if file.urls != None and file.urls != [] %}
<a href="{{ file.urls[0].url }}" class="ui top attached fluid huge green button"><i class="file icon"></i>Download File</a>
@@ -80,5 +67,4 @@ No known public URL, mirror, or archive for this file.
</div>
</div>
-
{% endblock %}