A decentralized event management and credentialing system built on atproto.
1{% extends "admin_base.html" %}
2
3{% block title %}DID Documents - Admin Panel{% endblock %}
4
5{% block content %}
6<!-- Page Header -->
7<div class="content">
8 <h1 class="title is-4">DID Documents</h1>
9 <p class="subtitle is-6">{{ total_documents }} documents ({{ current_page }} of {{ total_pages }} pages)</p>
10</div>
11
12<!-- DID Documents Table -->
13{% if did_documents %}
14<div class="box">
15 <div class="table-container">
16 <table class="table is-fullwidth is-striped is-hoverable">
17 <thead>
18 <tr>
19 <th>DID</th>
20 <th>Services</th>
21 <th>Keys</th>
22 <th>Aliases</th>
23 <th>Created</th>
24 <th>Updated</th>
25 <th width="150">Actions</th>
26 </tr>
27 </thead>
28 <tbody>
29 {% for document in did_documents %}
30 <tr>
31 <td>
32 <div class="is-size-7" style="word-break: break-all;">
33 <code class="has-text-info">{{ document.did }}</code>
34 </div>
35 </td>
36 <td>
37 <span class="tag is-light">{{ document.service_count }}</span>
38 </td>
39 <td>
40 <span class="tag is-light">{{ document.verification_method_count }}</span>
41 </td>
42 <td>
43 <span class="tag is-light">{{ document.also_known_as_count }}</span>
44 </td>
45 <td>
46 <span class="is-size-7 has-text-grey">{{ document.created_at }}</span>
47 </td>
48 <td>
49 <span class="is-size-7 has-text-grey">{{ document.updated_at }}</span>
50 </td>
51 <td>
52 <a href="/admin/did-documents/{{ document.did | urlencode }}"
53 class="button is-small is-info">
54 View
55 </a>
56 </td>
57 </tr>
58 {% endfor %}
59 </tbody>
60 </table>
61 </div>
62
63 <!-- Pagination -->
64 {{ view_pagination(pagination) }}
65</div>
66
67
68{% else %}
69<!-- Empty State -->
70<div class="box has-text-centered">
71 <div class="content">
72 <h3 class="title is-5 has-text-grey">No DID Documents Found</h3>
73 <p class="has-text-grey">
74 No DID documents are currently stored in the system.
75 </p>
76 </div>
77</div>
78{% endif %}
79
80<!-- Help Section -->
81<div class="box">
82 <div class="content">
83 <h4 class="title is-6">About DID Documents</h4>
84 <p class="is-size-7">
85 DID Documents are JSON-LD documents that contain public keys, authentication methods, and service endpoints for decentralized identifiers. Each document includes:
86 </p>
87 <ul class="is-size-7">
88 <li><strong>DID:</strong> The unique decentralized identifier</li>
89 <li><strong>Services:</strong> Endpoints where the identity can be reached (e.g., PDS servers)</li>
90 <li><strong>Keys:</strong> Verification methods for cryptographic operations</li>
91 <li><strong>Aliases:</strong> Alternative names or handles (also known as)</li>
92 </ul>
93 <div class="notification is-info is-light mt-4">
94 <div class="content is-size-7">
95 <strong>Note:</strong> These documents are cached from identity resolution operations and may not represent the current state on the network.
96 </div>
97 </div>
98 </div>
99</div>
100{% endblock %}