summaryrefslogtreecommitdiffstats
path: root/adenosine-pds/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-11-22 12:00:59 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-11-22 12:00:59 -0800
commitc78f684150808ef04ced33368be1e813b965435e (patch)
tree1998194b0b2b24e2ff6ab1e246e1240fe7ebde09 /adenosine-pds/templates
parent29175cf5183331ca401670203b35a5a2cc93f196 (diff)
downloadadenosine-c78f684150808ef04ced33368be1e813b965435e.tar.gz
adenosine-c78f684150808ef04ced33368be1e813b965435e.zip
pds: CAR download links
Diffstat (limited to 'adenosine-pds/templates')
-rw-r--r--adenosine-pds/templates/account.html3
-rw-r--r--adenosine-pds/templates/at_repo.html3
2 files changed, 6 insertions, 0 deletions
diff --git a/adenosine-pds/templates/account.html b/adenosine-pds/templates/account.html
index 7b1d426..b19621d 100644
--- a/adenosine-pds/templates/account.html
+++ b/adenosine-pds/templates/account.html
@@ -16,6 +16,9 @@
<p>{{ profile.description.as_ref().unwrap() }}
{% endif %}
+<div style="float: right;">
+ <a href="/xrpc/com.atproto.sync.getRepo?did={{ profile.did }}" download="{{ profile.did }}.car" class="pink">[repo.car]</a>
+</div>
<p class="counts">
[<a href="#">{{ profile.followersCount}} followers</a> /
<a href="#">{{ profile.followsCount }} follows</a>]
diff --git a/adenosine-pds/templates/at_repo.html b/adenosine-pds/templates/at_repo.html
index cc45930..7da5007 100644
--- a/adenosine-pds/templates/at_repo.html
+++ b/adenosine-pds/templates/at_repo.html
@@ -11,6 +11,9 @@
{% endfor %}
</ul>
+<h4>export</h4>
+<a href="/xrpc/com.atproto.sync.getRepo?did={{ did }}" download="{{ did }}.car" class="pink">[repo.car]</a>
+
<h4>describe</h4>
<pre><code>{{ describe|json }}</code></pre>