aboutsummaryrefslogtreecommitdiffstats
path: root/adenosine-pds/templates/at_collection.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-11-07 02:56:46 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-11-07 02:56:46 -0800
commit2f414df00e378728701e4061cdb3bebad5df798a (patch)
tree01a262f07dbfb3ba999ebb803dc33063262c6f9f /adenosine-pds/templates/at_collection.html
parent73bb6f114d3fe9233af4f9ab91c8fc2b09b3c6c0 (diff)
downloadadenosine-2f414df00e378728701e4061cdb3bebad5df798a.tar.gz
adenosine-2f414df00e378728701e4061cdb3bebad5df798a.zip
pds: initial pass at crude web interface
Diffstat (limited to 'adenosine-pds/templates/at_collection.html')
-rw-r--r--adenosine-pds/templates/at_collection.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/adenosine-pds/templates/at_collection.html b/adenosine-pds/templates/at_collection.html
new file mode 100644
index 0000000..b4b7036
--- /dev/null
+++ b/adenosine-pds/templates/at_collection.html
@@ -0,0 +1,12 @@
+{% extends "base.html" %}
+
+{% block main %}
+<p><b>at://{{ did }}/{{ collection }}/</b>
+
+<p><b>records:</b>
+<ul>
+{% for record in records %}
+ <li><a href="/at/{{did}}/{{collection}}/{{record["tid"].as_str().unwrap() }}">{{ record["tid"].as_str().unwrap() }}</a>
+{% endfor %}
+</ul>
+{% endblock %}