summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/webcapture_view.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-06-13 17:17:22 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-06-13 17:17:22 -0700
commit16126c5901c435ea6610eff8b7211226c6f125d5 (patch)
tree429a4772a4990e8158f0dbc9714b02c8b0412f07 /python/fatcat_web/templates/webcapture_view.html
parentf1abe85e8c35a23122f65b47dd55d8135239cf93 (diff)
downloadfatcat-16126c5901c435ea6610eff8b7211226c6f125d5.tar.gz
fatcat-16126c5901c435ea6610eff8b7211226c6f125d5.zip
refactor all entities to new UI style
Diffstat (limited to 'python/fatcat_web/templates/webcapture_view.html')
-rw-r--r--python/fatcat_web/templates/webcapture_view.html28
1 files changed, 5 insertions, 23 deletions
diff --git a/python/fatcat_web/templates/webcapture_view.html b/python/fatcat_web/templates/webcapture_view.html
index b5495cee..16e5c03e 100644
--- a/python/fatcat_web/templates/webcapture_view.html
+++ b/python/fatcat_web/templates/webcapture_view.html
@@ -1,29 +1,12 @@
{% set webcapture = 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">
- {% if webcapture.original_url %}
- <a href="{{ webcapture.original_url }}" style="color: black;"><code>{{ webcapture.original_url }}</code></a>
- {% endif %}
- <span class="sub header"><code>webcapture {{ webcapture.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 != [] %}
@@ -70,7 +53,7 @@ This web capture is empty (contains no resources).
{% endif %}
</div>
-<div class="five wide column">
+<div class="column" style="flex: 0 0 24em;">
{% if webcapture.timestamp != None %}
<div class="ui segment attached">
@@ -83,5 +66,4 @@ This web capture is empty (contains no resources).
</div>
</div>
-
{% endblock %}