more minimal "found" template

This commit is contained in:
Vincent Breitmoser 2019-04-25 23:39:15 +02:00
parent b88b4696b8
commit 6b787be92f
No known key found for this signature in database
GPG Key ID: 7BD18320DEADFA11
5 changed files with 18 additions and 7 deletions

View File

@ -165,6 +165,11 @@ a.brand {
margin-right: auto;
}
span.email {
font-family: monospace;
font-size: large;
}
.attribution {
position: fixed;
z-index: -1;

View File

@ -1,10 +1,16 @@
{{#> layout }}
<div class="row">
<p class="found-key">
We found an entry for <em>{{ query }}</em>.
We found an entry for <span class="email">{{ query }}</span>:
</p>
<p>You can get it with GnuPG using the following snippet:</p>
<pre><code class="snippet">gpg {{ gpg_options }}--fetch-keys <a href="{{base_uri}}/vks/v1/by-fingerprint/{{ fpr }}">{{base_uri}}/vks/v1/by-fingerprint/{{ fpr }}</a></code></pre>
<p>
<a href="{{base_uri}}/vks/v1/by-fingerprint/{{ fpr }}">{{base_uri}}/vks/v1/by-fingerprint/{{ fpr }}</a>
</p>
<p>
For more convenience, you should use <tt>keys.openpgp.org</tt> as
keyserver <a href="/about/guide">in your OpenPGP software</a>.
</p>
</div>
{{/layout}}

View File

@ -3,7 +3,7 @@
<form action="/manage" method="POST">
<div class="manage">
<input type="text" name="search_term" class="manageEmail" autofocus
placeholder="Your Email / Key ID / Fingerprint">
placeholder="Email address">
<button type="submit" class="manageButton button">
Manage
</button>

View File

@ -1,7 +1,7 @@
{{#> layout}}
<div class="row">
{{#if verified }}
Key for <tt>{{ userid }}</tt> published.
Key for <span class="email">{{ userid }}</span> published.
{{else}}
Verification failed! You can <a href="/upload">try uploading again</a>.
{{/if}}

View File

@ -1,10 +1,10 @@
{{#> layout }}
<h2>Email verification required</h2>
<h2>Email verification</h2>
<p>
We have sent verification emails to the following addresses:
<ul>
{{#each emails}}
<li>{{this}}</li>
<li><span class="email">{{this}}</span></li>
{{/each}}
</ul>
To make the keys available when searching by address, you need to