aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-11-10 17:28:26 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-11-10 17:28:26 -0800
commitd5378562ff94d2bf6acf2659e1961a1ff35856ac (patch)
treec4c8947965e3a0d32dd21b0a2265a4d211998c4b
parent7b2e84309102284f7cc2ebc8efdbf3575eda547b (diff)
downloadadenosine-d5378562ff94d2bf6acf2659e1961a1ff35856ac.tar.gz
adenosine-d5378562ff94d2bf6acf2659e1961a1ff35856ac.zip
pds: template tweaks
-rw-r--r--adenosine-pds/templates/about.html11
-rw-r--r--adenosine-pds/templates/adenosine.css2
-rw-r--r--adenosine-pds/templates/at_collection.html4
-rw-r--r--adenosine-pds/templates/at_record.html4
-rw-r--r--adenosine-pds/templates/at_repo.html8
-rw-r--r--adenosine-pds/templates/error.html1
-rw-r--r--adenosine-pds/templates/home.html4
7 files changed, 21 insertions, 13 deletions
diff --git a/adenosine-pds/templates/about.html b/adenosine-pds/templates/about.html
index 6c30c6b..ff00c30 100644
--- a/adenosine-pds/templates/about.html
+++ b/adenosine-pds/templates/about.html
@@ -1,6 +1,13 @@
{% extends "base.html" %}
-{% block content %}
-This about page is the kind of place one would put policies, license details, etc.
+{% block main %}
+<h2>about adenosine</h2>
+
+<p>This is an experimental "personal data server" instance of the <a
+href="https://atproto.com">atproto</a> social media protocol. It is running the
+open-source hobby-grade <a
+href="https://gitlab.com/bnewbold/adenosine">adenosine</a> software, which may
+or may not be compatible with other implementations like the official Bluesky
+client/network.
{% endblock %}
diff --git a/adenosine-pds/templates/adenosine.css b/adenosine-pds/templates/adenosine.css
index 9a0f890..136bce4 100644
--- a/adenosine-pds/templates/adenosine.css
+++ b/adenosine-pds/templates/adenosine.css
@@ -690,7 +690,7 @@ p.counts {
}
.repo_aturi, .repo_aturi a, .repo_aturi a:visited {
color: var(--code);
- font-size: smaller;
+ font-size: small;
overflow: auto;
font-weight: bold;
}
diff --git a/adenosine-pds/templates/at_collection.html b/adenosine-pds/templates/at_collection.html
index 670cb0d..a7363a6 100644
--- a/adenosine-pds/templates/at_collection.html
+++ b/adenosine-pds/templates/at_collection.html
@@ -1,10 +1,10 @@
{% extends "base.html" %}
{% block main %}
-<h2>ATP Repository Explorer</h2>
+<h2>atp repository explorer</h2>
<div class="repo_aturi">at://<a href="/at/{{ did }}">{{ did }}</a>/{{ collection }}/</div>
-<h4>Records</h4>
+<h4>records</h4>
<ul>
{% for record in records %}
<li>/{{ collection }}/<a href="/at/{{did}}/{{collection}}/{{record["tid"].as_str().unwrap() }}">{{ record["tid"].as_str().unwrap() }}</a>/
diff --git a/adenosine-pds/templates/at_record.html b/adenosine-pds/templates/at_record.html
index 829ed4a..fb355fe 100644
--- a/adenosine-pds/templates/at_record.html
+++ b/adenosine-pds/templates/at_record.html
@@ -1,9 +1,9 @@
{% extends "base.html" %}
{% block main %}
-<h2>ATP Repository Explorer</h2>
+<h2>atp repository explorer</h2>
<div class="repo_aturi">at://<a href="/at/{{ did }}">{{ did }}</a>/<a href="/at/{{ did }}/{{ collection }}">{{ collection }}</a>/{{ tid }}</div>
-<h4>JSON</h4>
+<h4>json</h4>
<pre><code>{{ record|json }}</code></pre>
{% endblock %}
diff --git a/adenosine-pds/templates/at_repo.html b/adenosine-pds/templates/at_repo.html
index 384b8dc..31296db 100644
--- a/adenosine-pds/templates/at_repo.html
+++ b/adenosine-pds/templates/at_repo.html
@@ -1,20 +1,20 @@
{% extends "base.html" %}
{% block main %}
-<h2>ATP Repository Explorer</h2>
+<h2>atp repository explorer</h2>
<div class="repo_aturi">at://{{ did }}/</div>
-<h4>Collections</h4>
+<h4>collections</h4>
<ul>
{% for collection in describe.collections %}
<li>/<a href="/at/{{ did }}/{{ collection }}">{{collection}}</a>/
{% endfor %}
</ul>
-<h4>Describe</h4>
+<h4>describe</h4>
<pre><code>{{ describe|json }}</code></pre>
-<h4>Commit Node</h4>
+<h4>commit node</h4>
<pre><code>{{ commit|json }}</code></pre>
{% endblock %}
diff --git a/adenosine-pds/templates/error.html b/adenosine-pds/templates/error.html
index 885945a..2d91448 100644
--- a/adenosine-pds/templates/error.html
+++ b/adenosine-pds/templates/error.html
@@ -1,6 +1,7 @@
{% extends "base.html" %}
{% block main %}
+<br><br>
<center>
<h1>{{ status_code }}</h1>
<span style="font-size: larger;">{{ error_message }}</span>
diff --git a/adenosine-pds/templates/home.html b/adenosine-pds/templates/home.html
index 3854d4a..39092bc 100644
--- a/adenosine-pds/templates/home.html
+++ b/adenosine-pds/templates/home.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
-{% block content %}
-This is the homepage, which maybe would describe what adenosine is, and what
+{% block main %}
+<p>This is the homepage, which maybe would describe what adenosine is, and what
this instance is specifically.
{% endblock %}