1
0
Fork 0
mirror of https://gitlab.com/hagrid-keyserver/hagrid.git synced 2023-02-13 20:55:02 -05:00
hagrid-keyserver--hagrid/dist/templates/upload/upload-ok.html.hbs
Vincent Breitmoser 9a225410c9
Rework API
2019-06-04 16:12:36 +02:00

53 lines
1.4 KiB
Handlebars

{{#> layout }}
<p>
The key <span class="fingerprint"><a href="{{key_link}}" target="_blank">{{key_fpr}}</a></span> was successfully uploaded.
</p>
{{#if is_revoked}}
<p>
This key is revoked. It can not be searched by email address.
</p>
{{else}}
{{#if uid_status}}
<p>
To make this key available for search by an e-mail address, you must
verify it belongs to you:
</p>
{{#each uid_status}}
<div class="publishedUid">
<div>
{{#if revoked}}
Revoked
{{else}}
{{#if published}}
Published
{{else}}
{{#if requested}}
Verification Pending
{{else}}
<form action="/upload/request-verify" method="post">
<input type="hidden" name="token" value="{{../token}}" />
<input type="hidden" name="address" value="{{address}}" />
<input type="submit" class="link" value="Send Verification Mail">
</form>
{{/if}}
{{/if}}
{{/if}}
</div>
<p>
<span class="email">{{address}}</span>
</p>
</div>
{{/each}}
<p>
The distributed key will also contain only verified addresses.
</p>
{{else}}
<p>
This key contains no email addresses.
</p>
{{/if}}
{{/if}}
{{/layout}}