This commit is contained in:
2025-09-22 20:58:18 +02:00
parent fd4bc48bd1
commit 8484635fdd
2 changed files with 5 additions and 9 deletions

View File

@@ -1,12 +1,8 @@
{{define "content"}}
<div class="card p-3 p-md-4 mb-4 bg-white">
<div class="row g-2 align-items-center">
<div class="col-md-8">
<input class="form-control form-control-lg search" name="q" id="q" placeholder="Suche nach Name, EMail, Fingerprint…"
hx-get="/search" hx-trigger="keyup changed delay:300ms" hx-target="#results" hx-indicator="#busy">
</div>
<div class="col-md-4 text-md-end">
<span id="busy" class="htmx-indicator text-muted">Suche…</span>
<div class="col-md-12">
<input class="form-control form-control-lg search" name="q" id="q" placeholder="Suche nach Name, E-Mail, Fingerprint…" hx-get="/search" hx-trigger="keyup changed delay:300ms" hx-target="#results" hx-indicator="#busy">
</div>
</div>
</div>
@@ -18,7 +14,7 @@ hx-get="/search" hx-trigger="keyup changed delay:300ms" hx-target="#results" hx-
<thead class="table-light">
<tr>
<th style="width:30%">Name</th>
<th style="width:30%">EMail</th>
<th style="width:30%">E-Mail</th>
<th style="width:25%">Fingerprint</th>
<th style="width:15%" class="text-end">Aktion</th>
</tr>

View File

@@ -12,7 +12,7 @@
.card { border-radius: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.25);}
.brand { color: #e2e8f0; } /* slate-200 */
.muted { color: #94a3b8; }
.search { border-radius: .75rem; }
.search { border-radius: .75rem;}
</style>
</head>
<body class="py-4">
@@ -53,7 +53,7 @@
<div class="col-12">
<label class="form-label">PGP Public Key (.asc)</label>
<input type="file" class="form-control" name="file" accept=".asc,text/plain" required>
<div class="form-text">Nur ASCIIarmored öffentliche Schlüssel. Maximale Größe 2 MiB.</div>
<div class="form-text">Nur ASCII-armored öffentliche Schlüssel. Maximale Größe 2 MiB.</div>
</div>
</div>
</div>