summaryrefslogtreecommitdiffstats
path: root/adenosine-pds/templates/at_repo.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-11-10 16:32:36 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-11-10 16:32:36 -0800
commitcd67cbbb2827c161aa6e99c93fe57f5500cbb789 (patch)
tree74288ae72c0f7ad07cf1f77416b180ab9a4f65c0 /adenosine-pds/templates/at_repo.html
parent5e149eef22d34e5a2b2081de3533dee3373d47f8 (diff)
downloadadenosine-cd67cbbb2827c161aa6e99c93fe57f5500cbb789.tar.gz
adenosine-cd67cbbb2827c161aa6e99c93fe57f5500cbb789.zip
pds: more web view implementation
Diffstat (limited to 'adenosine-pds/templates/at_repo.html')
-rw-r--r--adenosine-pds/templates/at_repo.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/adenosine-pds/templates/at_repo.html b/adenosine-pds/templates/at_repo.html
index dcf4d87..384b8dc 100644
--- a/adenosine-pds/templates/at_repo.html
+++ b/adenosine-pds/templates/at_repo.html
@@ -1,18 +1,20 @@
{% extends "base.html" %}
{% block main %}
-<p><b>at://{{ did }}/</b>
+<h2>ATP Repository Explorer</h2>
+<div class="repo_aturi">at://{{ did }}/</div>
-<p><b>collections:</b>
+<h4>Collections</h4>
<ul>
{% for collection in describe.collections %}
- <li><a href="/at/{{ did }}/{{ collection }}">{{collection}}/</a>
+ <li>/<a href="/at/{{ did }}/{{ collection }}">{{collection}}</a>/
{% endfor %}
</ul>
-<p>repo commit:
-<pre><code>{{ "{:?}"|format(commit) }}</code></pre>
+<h4>Describe</h4>
+<pre><code>{{ describe|json }}</code></pre>
+
+<h4>Commit Node</h4>
+<pre><code>{{ commit|json }}</code></pre>
-<p>repo describe
-<pre><code>{{ "{:?}"|format(describe) }}</code></pre>
{% endblock %}