aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat/templates/file_view.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-06-30 16:30:32 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-06-30 16:30:32 -0700
commita96ca6e8df949f32e7647a285748712a9d842611 (patch)
tree12f889a8b7c150599f9d626838b17f644e1a3870 /python/fatcat/templates/file_view.html
parent47adef5e75e06407b6692a64d7d67de620156c70 (diff)
downloadfatcat-a96ca6e8df949f32e7647a285748712a9d842611.tar.gz
fatcat-a96ca6e8df949f32e7647a285748712a9d842611.zip
more small view tweaks
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>