aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-21 16:36:48 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-21 16:36:48 -0800
commitc350cb5eddf369a2ed002401e756cf91de5a04ff (patch)
treee12b37ee75c4ef5491ef157c26cfb073edf019d0 /python/fatcat_web/templates
parent875470c246293458529fa70d08b3abd0a7b2742e (diff)
downloadfatcat-c350cb5eddf369a2ed002401e756cf91de5a04ff.tar.gz
fatcat-c350cb5eddf369a2ed002401e756cf91de5a04ff.zip
start handling redirects and deletions in webface
Diffstat (limited to 'python/fatcat_web/templates')
-rw-r--r--python/fatcat_web/templates/deleted_entity.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/deleted_entity.html b/python/fatcat_web/templates/deleted_entity.html
new file mode 100644
index 00000000..af25da54
--- /dev/null
+++ b/python/fatcat_web/templates/deleted_entity.html
@@ -0,0 +1,43 @@
+{% extends "base.html" %}
+{% block fullbody %}
+
+<div class="ui stackable mobile reversed grid centered">
+<div class="one wide column"></div>
+<div class="fifteen wide column">
+ <h1 class="ui header">Deleted Entity
+ <div class="sub header"><code>{{ entity_type }}{{ entity.ident }}</code></div></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;">
+
+<p>There used to be an entity here, but is has been deleted!
+
+<p>You can view history or revert the change using links to the right.
+
+<br>
+
+</div>
+<div class="five wide column">
+<div class="ui segment top attached">
+
+<b>Entity Type:</b> {{ entity_type }}
+</div><div class="ui segment attached">
+
+<b>Fatcat Bits</b>
+<p>State is "{{ entity.state }}". Revision:
+<br><small><code>{{ entity.revision }}</code></small>
+<br><a href="https://api.{{ config.FATCAT_DOMAIN }}/v0/{{ entity_type }}/{{ entity.ident }}">As JSON object via API</a>
+
+</div>
+<div class="two ui buttons bottom attached">
+ <a href="/entity/{{ entity.ident }}/edit" class="ui blue button">Edit Metadata</a>
+ <a href="/entity/{{ entity.ident }}/history" class="ui button">View History</a>
+</div>
+
+</div>
+</div>
+
+{% endblock %}