aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat/templates/file_view.html
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat/templates/file_view.html')
-rw-r--r--python/fatcat/templates/file_view.html16
1 files changed, 10 insertions, 6 deletions
diff --git a/python/fatcat/templates/file_view.html b/python/fatcat/templates/file_view.html
index 6a53b6c6..e8d81ed7 100644
--- a/python/fatcat/templates/file_view.html
+++ b/python/fatcat/templates/file_view.html
@@ -13,12 +13,6 @@
<div class="one wide column"></div>
<div class="ten wide column">
-<p><b>Size:</b> {{ file.size }} (bytes)
-
-{% if file.mimetype %}
-<p><b>File Type:</b> <code>{{ file.mimetype }}</code>
-{% endif %}
-
{% if file.extra != None %}
<p><b>Additional Metadata (raw JSON):</b>
<pre>{{ file.extra }}</pre>
@@ -83,6 +77,16 @@ Raw Object:
<div class="ui segment attached">
+{% if file.size != None %}
+<p><b>Size</b> &nbsp;{{ file.size }} (bytes)
+</div><div class="ui segment attached">
+{% endif %}
+
+{% if file.mimetype != None %}
+<p><b>File Type</b> &nbsp;<code>{{ file.mimetype }}</code>
+</div><div class="ui segment attached">
+{% endif %}
+
<b>Fatcat Bits</b>
<p>Revision #{{ file.revision }}. State is "{{ file.state }}"
<br><a href="https://api.qa.fatcat.wiki/v0/file/{{ file.ident }}">As JSON object via API</a>