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 %} +
+ {% for activity in activities %} + +
+ {{ activity.activity_type }} + {{ activity.published }} +
+
+ {{ activity.actor_id }} +
+
+ {% endfor %} +
+ + {% 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 %}