summaryrefslogtreecommitdiffstats
path: root/templates/activities
diff options
context:
space:
mode:
Diffstat (limited to 'templates/activities')
-rw-r--r--templates/activities/_menu.html3
-rw-r--r--templates/activities/follows.html25
2 files changed, 28 insertions, 0 deletions
diff --git a/templates/activities/_menu.html b/templates/activities/_menu.html
index a912090..4676831 100644
--- a/templates/activities/_menu.html
+++ b/templates/activities/_menu.html
@@ -18,6 +18,9 @@
<a href="{% url "federated" %}" {% if current_page == "federated" %}class="selected"{% endif %} title="Federated">
<i class="fa-solid fa-globe"></i> Federated
</a>
+ <a href="{% url "follows" %}" {% if section == "follows" %}class="selected"{% endif %} title="Follows">
+ <i class="fa-solid fa-arrow-right-arrow-left"></i> Follows
+ </a>
<h3></h3>
<a href="{% url "compose" %}" {% if top_section == "compose" %}class="selected"{% endif %} title="Compose">
<i class="fa-solid fa-feather"></i> Compose
diff --git a/templates/activities/follows.html b/templates/activities/follows.html
new file mode 100644
index 0000000..6116dd6
--- /dev/null
+++ b/templates/activities/follows.html
@@ -0,0 +1,25 @@
+{% extends "base.html" %}
+
+{% block subtitle %}Follows{% endblock %}
+
+{% block content %}
+ <section class="icon-menu">
+ {% for identity, details in identities %}
+ <a class="option" href="{{ identity.urls.view }}">
+ <img src="{{ identity.local_icon_url }}">
+ <span class="handle">
+ {{ identity.name_or_handle }}
+ <small>@{{ identity.handle }}</small>
+ </span>
+ {% if details.outbound %}
+ <span class="pill">Following</span>
+ {% endif %}
+ {% if details.inbound %}
+ <span class="pill">Follows You</span>
+ {% endif %}
+ </a>
+ {% empty %}
+ <p class="option empty">You have no follows.</p>
+ {% endfor %}
+ </section>
+{% endblock %}