From 0a15b2532e5c5844b7eec9f9940dfc92244fc80f Mon Sep 17 00:00:00 2001 From: giles Date: Sun, 11 Jan 2026 13:19:07 +0000 Subject: [PATCH] Add missing list templates for activities, anchors, storage Co-Authored-By: Claude Opus 4.5 --- app/templates/activities/list.html | 39 +++++++++++++++++++++++++ app/templates/anchors/list.html | 47 ++++++++++++++++++++++++++++++ app/templates/storage/list.html | 41 ++++++++++++++++++++++++++ 3 files changed, 127 insertions(+) create mode 100644 app/templates/activities/list.html create mode 100644 app/templates/anchors/list.html create mode 100644 app/templates/storage/list.html diff --git a/app/templates/activities/list.html b/app/templates/activities/list.html new file mode 100644 index 0000000..d8a63cf --- /dev/null +++ b/app/templates/activities/list.html @@ -0,0 +1,39 @@ +{% extends "base.html" %} + +{% block title %}Activities - Art-DAG{% endblock %} + +{% block content %} +
+
+

Activities

+
+ + {% if activities %} + + + {% if has_more %} +
+ Load More +
+ {% endif %} + {% else %} +
+

No activities yet.

+
+ {% endif %} +
+{% endblock %} diff --git a/app/templates/anchors/list.html b/app/templates/anchors/list.html new file mode 100644 index 0000000..3626852 --- /dev/null +++ b/app/templates/anchors/list.html @@ -0,0 +1,47 @@ +{% extends "base.html" %} + +{% block title %}Anchors - Art-DAG{% endblock %} + +{% block content %} +
+
+

Bitcoin Anchors

+
+ + {% if anchors %} +
+ {% for anchor in anchors %} +
+
+ {{ anchor.merkle_root[:16] }}... + {% if anchor.confirmed_at %} + Confirmed + {% else %} + Pending + {% endif %} +
+
+ {{ anchor.activity_count or 0 }} activities | Created: {{ anchor.created_at }} +
+ {% if anchor.bitcoin_txid %} +
+ TX: {{ anchor.bitcoin_txid }} +
+ {% endif %} +
+ {% endfor %} +
+ + {% if has_more %} +
+ Load More +
+ {% endif %} + {% else %} +
+

No anchors yet.

+
+ {% endif %} +
+{% endblock %} diff --git a/app/templates/storage/list.html b/app/templates/storage/list.html new file mode 100644 index 0000000..a3aebf5 --- /dev/null +++ b/app/templates/storage/list.html @@ -0,0 +1,41 @@ +{% extends "base.html" %} + +{% block title %}Storage - Art-DAG{% endblock %} + +{% block content %} +
+
+

Storage Providers

+ + Add Storage + +
+ + {% if storages %} +
+ {% for storage in storages %} +
+
+ {{ storage.name or storage.provider_type }} + + {{ storage.provider_type }} + +
+
+ {% if storage.endpoint %} + {{ storage.endpoint }} + {% elif storage.bucket %} + Bucket: {{ storage.bucket }} + {% endif %} +
+
+ {% endfor %} +
+ {% else %} +
+

No storage providers configured.

+ Add one now +
+ {% endif %} +
+{% endblock %}