-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdashboard.html
More file actions
34 lines (34 loc) · 1.55 KB
/
dashboard.html
File metadata and controls
34 lines (34 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{% extends "base.html" %}
{% block content %}
<article class="modulr-glass-surface km-panel">
<h1 class="km-display km-text">Identities</h1>
{% if vault_created %}
<p class="km-banner-success" role="status">Vault created. Add an identity below.</p>
{% endif %}
<p class="km-lead km-text-muted">
Local Ed25519 profiles in your unlocked vault. Registration and name resolution use Modulr.Core —
open a row for public key details and copy-to-clipboard.
</p>
<div class="km-actions" style="margin-top: 0; margin-bottom: 0.5rem">
<a class="km-btn km-btn--primary" href="/identities/new">New identity</a>
<form method="post" action="/lock" style="display: inline">
<button type="submit" class="km-btn km-btn--ghost">Lock vault</button>
</form>
</div>
{% if profiles %}
<div class="km-profile-grid">
{% for p in profiles %}
<a class="km-profile-card modulr-glass-surface" href="/identities/{{ p.id }}">
<h2 class="km-display km-text">{{ p.display_name }}</h2>
<span class="km-meta km-text-muted">id: {{ p.id }} · created {{ p.created_at[:10] }}</span>
<pre class="km-mono-block km-scrollbar km-text-muted" aria-label="Public key preview">{{ p.public_key_hex[:32] }}…</pre>
</a>
{% endfor %}
</div>
{% else %}
<p class="km-lead km-text-muted" style="margin-top: 1rem">
No identities yet — use <strong class="km-text">New identity</strong> to generate a key.
</p>
{% endif %}
</article>
{% endblock %}