]>
Commit | Line | Data |
---|---|---|
23d4663f | 1 | {% extends "../base.html" %} |
0d1fb712 MT |
2 | |
3 | {% block title %}{{ account }} - {{ _("Delete SSH Key") }}{% end block %} | |
4 | ||
5 | {% block main %} | |
6 | <div class="row justify-content-center"> | |
7 | <div class="col col-md-8"> | |
8 | <h4 class="mb-4">{{ _("Delete SSH Key") }}</h4> | |
9 | ||
10 | <form method="POST" action=""> | |
11 | {% raw xsrf_form_html() %} | |
12 | ||
13 | <div class="form-group"> | |
14 | <label>{{ _("Fingerprints") }}</label> | |
15 | ||
16 | {% for h in (key.hash_md5(), key.hash_sha256(), key.hash_sha512()) %} | |
17 | <p class="text-monospace small text-truncate mb-0"> | |
18 | {{ h }} | |
19 | </p> | |
20 | {% end %} | |
21 | </div> | |
22 | ||
23 | <div class="form-group"> | |
24 | <label>{{ _("Current Password") }}</label> | |
25 | ||
26 | <input type="password" class="form-control" name="password" | |
27 | placeholder="{{ _("Current Password") }}"> | |
28 | ||
29 | <small class="form-text text-muted"> | |
30 | {{ _("To authorize uploading a new SSH key, your password is required") }} | |
31 | </small> | |
32 | </div> | |
33 | ||
34 | <input class="btn btn-primary btn-block" type="submit" value="{{ _("Delete SSH Key") }}"> | |
35 | </form> | |
36 | </div> | |
37 | </div> | |
38 | {% end block %} |